fungus icon indicating copy to clipboard operation
fungus copied to clipboard

SetVariable command spams console with warning

Open addie-lombardo opened this issue 3 years ago • 0 comments

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

  1. Download the reproduction project GlobalVariablesTest.zip
  2. Open SampleScene.unity
  3. Enter play mode
  4. 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 Screen Shot 2021-09-25 at 10 59 12 AM

Versions & Platform

  • Unity version: 2020.3.16f1
  • Fungus Version: 3.13.7
  • Editor OS: OSX Big Sur
  • Build Platform: Mac OS

addie-lombardo avatar Sep 25 '21 18:09 addie-lombardo