Runner.spawn spawns object correctly in host but not clients
Options
I want to spawn an object in a specific position which stored in a variable of a class. The host device spawns the object in the correct position but client devices will spawn the object at (0,0,0).
the object to be spawned is a inherited from a NetworkBehaviour but not NetworkTransform. Is NetworkTransform needed in order to spawn the object in a correct position in both client and host?
0
Answers
-
I can't find the specific page in the documentation right now, but yes, from memory, passing a position/rotation to Runner.Spawn will not automatically synchronise on clients unless a NetworkTransform component is added.
1