ismailKor New member Jul 15, 2025 #1 Subtree LogValue node for GameobjectSharedVariables returns null always. Is this normal?
Justin Administrator Staff member Jul 16, 2025 #2 Can you give more details? In this sample scene it works. Attachments repro.unitypackage repro.unitypackage 4.1 KB · Views: 1
ismailKor New member Jul 16, 2025 #3 ------------------- I assign GameObjectSharedVariable by code. Variable can be shown in the BT inspector. But LogValue returns null.
------------------- I assign GameObjectSharedVariable by code. Variable can be shown in the BT inspector. But LogValue returns null.
Justin Administrator Staff member Jul 17, 2025 #4 You're close, it looks like you need to add the third scope parameter: Accessing Variables - Opsive Variables can be access both within the task and within your own script outside of Behavior Designer. In order to get and set the variable . . . opsive.com By default the scope is set to the graph.
You're close, it looks like you need to add the third scope parameter: Accessing Variables - Opsive Variables can be access both within the task and within your own script outside of Behavior Designer. In order to get and set the variable . . . opsive.com By default the scope is set to the graph.