INTERNAL_CALL_Internal_InstantiateSingle 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.
Code: Select all
void HandlerObjectReceived (SFSObject obj, User sender)
{
Bola bola = Instantiate(bolaInstance, pos, Quaternion.identity) as Bola;
}
Any help?