-1

I am making a multiplayer fps game and following this tutorial https://www.youtube.com/watch?v=xRXOnuFji-Q&list=PL0iUgXtqnG2gPaXE1hHYoBjqTSWTNwR-6&index=4

I am new to making multiplayer games and games overrall.

I got this error Can not Instantiate before the client joined/created a room. State: Joining UnityEngine.Debug:LogError (object)

When I play it gives me this error then kicks me out of play mode. I am doing this all in unity game engine.

  • 1
    You probably are trying to instantiate that object before all the required elements are loaded in your scene. Try to delay the instantiation as done in this post : https://stackoverflow.com/questions/62298748/how-could-i-solve-this-problem-with-photon-game – Kyysel Aug 30 '23 at 07:43

0 Answers0