Can't find Bolt Player Prefab
dev001
✭
in Photon Bolt
If I follow the install instruction from a clean project it works fine.
When I try and install Bolt into an existing project (a small one at that), I follow the exact steps but get this exception when trying to create a player:
Prefab 'Player' does not have a serializer assigned
UnityEngine.Debug:LogError(Object)
Unity:BoltLog.IWriter.Error(String)
BoltLog:Error(String)
BoltLog:Error(String, Object)
BoltNetwork:Instantiate(GameObject, IProtocolToken, Vector3, Quaternion)
BoltNetwork:Instantiate(PrefabId, IProtocolToken, Vector3, Quaternion)
Player:InstantiateEntity() (at Assets/bolt/sample/bolt_sample/scripts/Player/Player.cs:69)
ServerCallbacks:SceneLoadLocalDone(String) (at Assets/bolt/sample/bolt_sample/scripts/Callbacks/ServerCallbacks.cs:45)
BoltInternal.GlobalEventListenerBase:SceneLoadLocalDoneInvoke(String)
BoltCore:SceneLoadDone(SceneLoadState)
BoltSceneLoader:Update()
When I try and install Bolt into an existing project (a small one at that), I follow the exact steps but get this exception when trying to create a player:
Prefab 'Player' does not have a serializer assigned
UnityEngine.Debug:LogError(Object)
Unity:BoltLog.IWriter.Error(String)
BoltLog:Error(String)
BoltLog:Error(String, Object)
BoltNetwork:Instantiate(GameObject, IProtocolToken, Vector3, Quaternion)
BoltNetwork:Instantiate(PrefabId, IProtocolToken, Vector3, Quaternion)
Player:InstantiateEntity() (at Assets/bolt/sample/bolt_sample/scripts/Player/Player.cs:69)
ServerCallbacks:SceneLoadLocalDone(String) (at Assets/bolt/sample/bolt_sample/scripts/Callbacks/ServerCallbacks.cs:45)
BoltInternal.GlobalEventListenerBase:SceneLoadLocalDoneInvoke(String)
BoltCore:SceneLoadDone(SceneLoadState)
BoltSceneLoader:Update()
0
Best Answer
-
Something in your existing project is conflicting.5
Answers
-
And I can see in the Bolt prefabs list its there with a PrefabId of 4.0
-
Something in your existing project is conflicting.5