I am trying to resize a bool array data interface when the emitter starts up. As shown in the picture below I have the flags for the module set to only be usable in the emitter spawn context. However, when compiling I get the error as shown, which seemingly says that this isn’t a valid stack context.
Is there a difference between the bitmask flags and actual stack context? If THAT is the case, how do I properly set the stack context for this module?
Tested in 5.4 and this is still not fixed.
Utilizing array in Niagara script is next to impossible.
Adding array element only works properly in GPU simulation.
In CPU sim, only the first element is written no matter the array size or iterations.
This also means it’s not possible to be done in System/Emitter stack.