I have an issue with NGO 2.2.0 where i can’t spawn in place network objects on client on multiplayer.
I have always the same error : [Netcode] Failed to create object locally. [globalObjectIdHash=xxxxxxx]. NetworkPrefab could not be found. Is the prefab registered with NetworkManager?
But i’m really sure the prefab is registered in the list and the objectId match with the on the host…
When i spawn the same prefab dynamically, it works flawlessly.
I’m already using the Multiplayer Playmode. Sadly, restarting or reinstalling the package didn’t change anything for me.
Maybe i do something wrong in the setup, i’m a bit lost actually :s
Try checking your network manager settings and check the Network Prefabs Lists to see if it has anything in there. Prefabs can’t be instantiated even if you put them in the Network Prefabs asset but didn’t put that asset in that list.
Thank you guys for your help!
I just figured that i need to load the scenes using the network manager and not the traditional way with the scene manager.
It works perfectly now!