- Home /
Loading spawned prefabs upon connecting to server?
I've been fighting with this for way too long now and would love some assistance.
I've got it working to the point where I can spawn the prefabs and they'll be instantiated correctly for all connected clients, but I can't seem to get the existing prefabs to load for clients that connect late.
I have 2 prefabs, the "PlayerObject" which contains the "PlayerManager" script, and the "PlayerUnitPrefab" which I'm spawning in the scene. I have it registered in the Network Manager.
Here's the class file at it's rawest. I have a tried a ton of different things but haven't been able to come up/apply a solution. The panel which to which I'm attaching the prefab to contains a grid layout. If that makes any difference.
https://pastebin.com/vLHNTyAR
Thanks in advance!
Answer by Temseii · Apr 11, 2018 at 08:52 PM
https://www.reddit.com/r/Unity3D/comments/8bifmp/loading_spawned_prefabs_upon_connecting_to_server/
Solution was found here in case anyone comes across the same problem.
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Unity networking tutorial? 6 Answers
How to synchronize disable and enabling game objects over the network? 0 Answers
Problems with Scene Change networking Unet 0 Answers
send data from client to local server 0 Answers