Forum General Sporadic InternalGetGameObject Only for Live Server

Any issues or discussions relating to Unity development are welcome here.

Sporadic InternalGetGameObject Only for Live Server

Postby vancext » April 8th, 2014, 8:06 pm

Myself and the rest of the dev team are getting a strange, sporadic error when trying to connect to the production servers only. In the Unity Editor, it throws:

InternalGetGameObject 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.


This happens randomly (but will occur for everyone attempting to connect at the same time, and hang deployed mobile builds) for maybe five minutes at a time, and then it appears to fix itself. This error never shows up when connecting to or using the development server.

Any clue what could be causing this?
vancext
 
Posts: 16
Joined: November 14th, 2012, 1:51 am

Return to General