Mesh reduction throw access violation exception. #229
Unanswered
NielsHarmelink
asked this question in
Q&A
Replies: 1 comment 5 replies
-
You could make this return unconditional: https://github.com/bepu/bepuphysics2/blob/master/BepuPhysics/CollisionDetection/MeshReduction.cs#L321 ... but, given that reproducing the issue was difficult, there is probably something else going on that needs to be addressed. If the failure in the original context was also unreliable, my first suspicion would be race conditions (most likely improper asynchronous writes). |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When I'm trying to check for a collision, the BepuPhysics.CollisionDetection.MeshReduction.ChildEnumerator throws an access violation exception. I use BepuPhysics for collision checks only, when a collision occurs it returns the collision and will stop the collision checks. Is mesh reduction needed for collision checks only? If Mesh reduction is needed how can I solve this problem? If it's not needed is there a possibility to disable it? I'm currently running on the latest version of 2.3.X. (I tried to create a simple repo but cannot reproduce it in the simple repo. It only occurs in the program I use for collision checks.
Beta Was this translation helpful? Give feedback.
All reactions