I noticed this does not always update, and messes up my whole loop, kind of annoying.
Basically, if you have an attribute wrangle, with a simple
And you change the for loop input, reset the cache. It will keep the info from the previous input.
i@nverts = @numvtx;
It will not change when the code is re-executed.
It will only update when the code is changed. For example
i@nverts = @numvtx+0;
This is frustrating, in the end I had to store the vertex count in a prim attribute, before entering the for loop.
Is there a way to fix this?
I tested this in: 18.5.462 and 18.5.351