You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I have multiple scenes with flowcharts in each of them with a few global variables. when trying to run the game and initially everything works correctly the global variables work as expected. However after running through and retrying by clicking play on the editor again it causes the error "NullReferenceException: Object reference not set to an instance of an object" and the class that it is referencing is handling global variables.
To Reproduce
Create multiple scenes with flowcharts.
Add global variables on each of the flowcharts to mirror my experience 2 string and 1 bool global variables.
Have C# scripts modify global variables by accessing the flowchart and saving strings/bools to them
Run through multiple times having a flowchart have excute on game started event and having say blocks that have the global variables in them.
Watch for unexpected/crashes/errors.
Expected behavior
Global variables to work as expected when running the game.
Screenshots
Versions & Platform (please complete the following information):
Unity version 2021.3.7f1
Fungus Version 3.13.8
Editor OS: Windows 10
Build Platform WebGl, Windows, Linux
The text was updated successfully, but these errors were encountered:
Monydragon
added
the
bug
Doing something it's not meant to, or not doing something it's meant to.
label
Aug 16, 2022
Describe the bug
I have multiple scenes with flowcharts in each of them with a few global variables. when trying to run the game and initially everything works correctly the global variables work as expected. However after running through and retrying by clicking play on the editor again it causes the error "NullReferenceException: Object reference not set to an instance of an object" and the class that it is referencing is handling global variables.
To Reproduce
Expected behavior
Global variables to work as expected when running the game.
Screenshots
Versions & Platform (please complete the following information):
The text was updated successfully, but these errors were encountered: