This seems to be because the ModuleUsageBitmask is hardcoded as Particle.
Sig.ModuleUsageBitmask = ENiagaraScriptUsageMask::Particle;
UNiagaraDataInterfaceGrid2DCollection::GetFunction { ... Sig.FunctionSpecifiers.Add(FName("Attribute")); Sig.bMemberFunction = true; Sig.bRequiresContext = false; Sig.bExperimental = true; Sig.ModuleUsageBitmask = ENiagaraScriptUsageMask::Particle; Sig.bSupportsCPU = false; Sig.bSupportsGPU = true; ...
Compile Error message :
Function call "GetPreviousFloatValue" is not allowed for stack context ENiagaraScriptUsage::Module....
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-167197 in the post.
0 |
Component | UE - Niagara |
---|---|
Affects Versions | 5.0.3 |
Created | Oct 14, 2022 |
---|---|
Resolved | Oct 23, 2023 |
Updated | Oct 23, 2023 |