Quantcast
Channel: Photon Unity Networking (PUN) — Photon Engine
Viewing all articles
Browse latest Browse all 8947

Instantiate doesn't work in offline mode

$
0
0
Hello, PhotonNetwork.Instantiate should work in offline mode, however, it is throwing the following error despite offline mode being enabled: Failed to Instantiate prefab: player 3D. Client should be in a room. Current connectionStateDetailed: ConnectedToMaster UnityEngine.Debug:LogError(Object) PhotonNetwork:Instantiate(String, Vector3, Quaternion, Int32, Object[]) (at Assets/Standard Assets/Photon Unity Networking/Plugins/PhotonNetwork/PhotonNetwork.cs:2431) PhotonNetwork:Instantiate(String, Vector3, Quaternion, Int32) (at Assets/Standard Assets/Photon Unity Networking/Plugins/PhotonNetwork/PhotonNetwork.cs:2414) com.cyborgAssets.smashCars.Assets.com.cyborgAssets.photonMine.PhotonUNetGameManagerMine:StartGameLogic() (at Assets/com/cyborgAssets/photonMine/PhotonUNetGameManagerMine.cs:84) com.cyborgAssets.smashCars.Assets.com.cyborgAssets.photonMine.PhotonUNetGameManagerMine:StartSinglePlayer() (at Assets/com/cyborgAssets/photonMine/PhotonUNetGameManagerMine.cs:48) UnityEngine.EventSystems.EventSystem:Update() How to solve this ? Thanks. (Unity 5.4.3f1 downloaded pun sdk few days ago (version is very new))

Viewing all articles
Browse latest Browse all 8947

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>