-
-
Notifications
You must be signed in to change notification settings - Fork 183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
spawn navmesh via addObject from another layer crashes blender #926
Comments
panzergame
added a commit
that referenced
this issue
Nov 8, 2018
The duplication of navigation mesh was processing a regeneration of the mesh and a registration to the scene in the function BuildNavMesh. But the caller (ProcessReplica) is on an object without a scene graph node and so an access to its scene, this mean that the try to register the nav mesh in the scene obstacle simulation failed in BuildNavMesh because the scene is unreachable. To fix this issue the management of obstacle simulation for nav mesh and obstacles is fully moved into KX_Scene::AddNodeReplicaObject after the new object ensure a scene graph node. Fix issue #926.
Fixed in b387a7f |
lordloki
pushed a commit
that referenced
this issue
Nov 30, 2018
The duplication of navigation mesh was processing a regeneration of the mesh and a registration to the scene in the function BuildNavMesh. But the caller (ProcessReplica) is on an object without a scene graph node and so an access to its scene, this mean that the try to register the nav mesh in the scene obstacle simulation failed in BuildNavMesh because the scene is unreachable. To fix this issue the management of obstacle simulation for nav mesh and obstacles is fully moved into KX_Scene::AddNodeReplicaObject after the new object ensure a scene graph node. Fix issue #926.
youle31
pushed a commit
that referenced
this issue
May 26, 2019
The duplication of navigation mesh was processing a regeneration of the mesh and a registration to the scene in the function BuildNavMesh. But the caller (ProcessReplica) is on an object without a scene graph node and so an access to its scene, this mean that the try to register the nav mesh in the scene obstacle simulation failed in BuildNavMesh because the scene is unreachable. To fix this issue the management of obstacle simulation for nav mesh and obstacles is fully moved into KX_Scene::AddNodeReplicaObject after the new object ensure a scene graph node. Fix issue #926.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Title says everything,if i try spawn navmesh via addObject from another hidden layer to active layer it crashes blender
on bge it works fine,but in upbge it just crashes
UpbgeNavmeshSpawnCrash.zip
The text was updated successfully, but these errors were encountered: