fungus
fungus copied to clipboard
SetVariable command spams console with warning
Describe the bug When using the SetVariable command to set a global variable the warning "SendMessage cannot be called during Awake, CheckConsistency, or OnValidate" is spammed to the console upon entering play mode, whether the command was called or not.
To Reproduce
- Download the reproduction project GlobalVariablesTest.zip
- Open SampleScene.unity
- Enter play mode
- View the warnings in the console
Expected behavior The console should be clear of any warnings related to "SendMessage cannot be called during Awake, CheckConsistency, or OnValidate"
Screenshots
Versions & Platform
- Unity version: 2020.3.16f1
- Fungus Version: 3.13.7
- Editor OS: OSX Big Sur
- Build Platform: Mac OS