BUG NavMeshSurface + PhotonNetwork.Instantiate not working
Options
kk99
✭✭
Hi,
it looks like it is not possible to use NavMeshSurface and PhotonNetwork.Instantiate.
I am getting following error when I try to set a destination
"SetDestination" can only be called on an active agent that has been placed on a NavMesh.
UnityEngine.AI.NavMeshAgent:SetDestination(Vector3)
NavMeshAgentSetTarget:Update() (at Assets/OWN/MyScripts/NavMeshComponents/Additional/NavMeshAgentSetTarget.cs:12)
When I instentiate the Monster without Photon everything is working.
NavMeshSurface is an official Unity Lib for Runtime NavMesh Building
https://github.com/Unity-Technologies/NavMeshComponents
it looks like it is not possible to use NavMeshSurface and PhotonNetwork.Instantiate.
I am getting following error when I try to set a destination
"SetDestination" can only be called on an active agent that has been placed on a NavMesh.
UnityEngine.AI.NavMeshAgent:SetDestination(Vector3)
NavMeshAgentSetTarget:Update() (at Assets/OWN/MyScripts/NavMeshComponents/Additional/NavMeshAgentSetTarget.cs:12)
When I instentiate the Monster without Photon everything is working.
NavMeshSurface is an official Unity Lib for Runtime NavMesh Building
https://github.com/Unity-Technologies/NavMeshComponents
0