PhotonNetwork.offline mode can't Instantiate GameObject

Hi everyone, i’m having this problem and can’t find the solution anywhere.

I’m creating an FPS game. And it works great in online mode, but when i set offline mode to True it doesnt instantiate the player and shows the error “NullReferenceException: Object reference not set to an instance of an object” in console.

I’ve readed on the photon documentation that PhotonNetwork.Instantiate should work fine in offline mode, so i’m getting a bit confused here.

Hope someone can help me with this!. Thanks!

Even in offline mode, you need to “Join” a room. Do you do that?

Hey tobiass thanks for the answer!

Yes it joins a room and i checked the connection state, it says “Joined”, but the problem seems to be just instantiating network objects, looks like photon doesnt find the prefab in Resources folder…