I got this error after adding a struct that is visible in the editor to a scripted behaviour. Quitting and relaunching Unity solved it.
How to RESTART Unity Editor
Kould you help me please
Restarting the editor works for like 10 minutes or so then I get the error again, can anyone please help?
Yeah, restarting fixes the issue for a short while. However, I would like to see a fix from Unity so the problem doesn’t exist. This bug seems to be related to Animator/Animation. This bug isn’t game breaking in any way, just a little annoying to see a red message in console, so might be a low priority bug.
Exit and reopen it.
I also had this error since 5 days. No matter how many times I started Unity, the error came back after 10 minutes at the latest.
I then noticed that in the last 5 days, I had created many new scripts and these scripts were almost all “public static instance”. In the further programming, I had accidentally, between
“public static instance” and “void Awake” => “instance = this;”
in some scripts I had created new bools and floats and put them in between. Finally, I moved the newly created bools and floats under the Awake method in all scripts, from that moment on, I no longer had this error. Maybe it helps one or the other.
restarting and having it reoccur isnt a solution. especially years later. i cant find a proper fix.
just restart
Yes, It’s totally USEFUL!
This error still pops up. Pretty annoying.
Like the previous posts suggested, surprisingly, restarting the editor (2019.4.31f1) made the error disappear.
As a side note, I had the Animator and animation tab opened but not visible when I had this error.
im juts burn my computer and change another computer , ITS WORK
Still happening on 2022.3.22
Yup still happening to me as well.
Still happening to me
Still an issue with Unity 6000.23f1. That suggestion to submit a bug report 5 years ago was really useful.