When editing the module the call to FHlslNiagaraTranslator::HandleDataInterfaceCall has the usage "Module", so it treads the module as if that was its stack context, even though the module's usage bitmask does not allow for that, so an error is produced that is confusing to the user.
RESULT
There will be a compiler error with this message:
Function call "SetFixedBounds" is not allowed for stack context ENiagaraScriptUsage::Module. Allowed: ENiagaraScriptUsage::EmitterSpawnScript, ENiagaraScriptUsage::EmitterUpdateScript, ENiagaraScriptUsage::SystemSpawnScript, ENiagaraScriptUsage::SystemUpdateScript -
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-177080 in the post.
0 |
Component | UE - Niagara |
---|---|
Affects Versions | 5.1 |
Target Fix | 5.2 |
Fix Commit | 24132772 |
---|
Created | Feb 14, 2023 |
---|---|
Resolved | Feb 15, 2023 |
Updated | Feb 24, 2023 |