Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SetVariable command spams console with warning #1031

Open
addie-lombardo opened this issue Sep 25, 2021 · 0 comments
Open

SetVariable command spams console with warning #1031

addie-lombardo opened this issue Sep 25, 2021 · 0 comments
Labels
bug Doing something it's not meant to, or not doing something it's meant to.

Comments

@addie-lombardo
Copy link

addie-lombardo commented Sep 25, 2021

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 addie-lombardo added the bug Doing something it's not meant to, or not doing something it's meant to. label Sep 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Doing something it's not meant to, or not doing something it's meant to.
Projects
None yet
Development

No branches or pull requests

1 participant