hi, I have GameManager with NetworkIdentity assigned in scene Online , my client when load to scene Online and GameManager is SetActive = false but my server is not. I do use "Additive Levels". Does anyone know what the problem is here?
p/s: debug log shows GameManager is called inactive at this line, some objects available in the scene when the scene is loaded are also inactive
#My GameManager is SetActive = false when load scene online
8 messages · Page 1 of 1 (latest)
Thanks for your support, but I wonder if editing the library directly is likely to cause errors? What is the reason for setting the object inactive?
Its inactive because another part of the game is causing a problem.
I posted in one of the other channels a reply.
its best to not edit the library directly, but figure out what is causing the problem)
I'm sorry if I shared something wrong. But this problem bothered me a lot so I thought it might help others.
I just checked and realized that my GameManager is assigned in the "Online" scene, so when the Online scene is loaded, the client net id = server net id, but when the client loads the sub scene, everything in the Online scene is assigned net id = 0. What should I do to keep everything in the Online scene unchanged?