The Strange go.isActive() Error
Hello coders.
I've recently been getting this error:
go.IsActive()
UnityEngine.GameObject:Find(String)
Board:InstantiateBoard(Tile[,,], State) (at Assets/Scripts/Game Objects/Board.cs:48)
Board:InstantiateBoard(Int32, State) (at Assets/Scripts/Game
Basically, it happens when I use GameObject.Find(string) to look for my chess board. Nothing glitches out, but it's a red error message and it's giving me the heebie jeebies. All I do with the board is simply intantiate it and name it, prior to any searches for it.
I would love an explanation for this. =)
Answer by tagada1er · Jan 14, 2016 at 09:43 PM
Hello. I have frenquently the same while leaving the PlayMode. by pressing key ESC (i detect this KeyCode in an Update() method to do UnityEditor.EditorApplication.isPlaying = false;).
It seems to be a false-positive error from Unity because the engine was doing some things at the moment you quit the playmode. I've never encouter this error while playing but just after leaving the playmode.