I got a “get_isPlaying” error every time I stop running my game, as below:
get_isPlaying can only be called from the main thread. Constructors and field initializers will be executed from the loading thread when loading a scene. Don’t use this function in the constructor or field initializers, instead move initialization code to the Awake or Start function.
I double click the error in editor no script is shown. And, it seems doesn’t affect my game since it only appears on game quite.
Should I ignore it or is there any way I can debug and find which script is invalid?