Runner.Spawn spawning at 0,0,0 on clients

Hey, Runner.Spawn is spawning my prefabs at 0,0,0 for all my clients but they are in the correct position for the host/server. Just wondering what I might be missing?

Best Answer

  • Bartek
    Bartek
    Answer ✓

    From NetworkRunner.Spawn xmldoc:

    "Note: position and rotation values are only used locally fo the instantiation of the object, and are not inherently networked. Use NetworkPositionRotation or any of its derived classes to replicate the initial transform state"

Answers

  • Bartek
    Bartek
    Answer ✓

    From NetworkRunner.Spawn xmldoc:

    "Note: position and rotation values are only used locally fo the instantiation of the object, and are not inherently networked. Use NetworkPositionRotation or any of its derived classes to replicate the initial transform state"

  • Oops yea forgot the NetworkTransform that was it, thanks!