-
Notifications
You must be signed in to change notification settings - Fork 26
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
Segfault when using raycasts with latest commit #80
Comments
Are you loading the triangle mesh from a cached binary file or from obj? If loading from binary, delete the cache so it can be regenerated from the obj. From the stack trace, the crash is not happening during raycasting, it's happening on collision detection at |
Ah I didn't think of that! That's now solved my issue. Thanks ! |
Perhaps a solution to this would be to write a version number to the cached files and regenerate them when the version doesn't match the library version. I'll add that task to my to-do list. |
Yeah, I had ideas of something along those lines, but related to checking if an |
crash when using latest commit
I've cloned the latest edyn commit and tried building my raycasted vehicle demo. But I get a crash as soon as the ray's intersect the terrain. When I run GNU debugger on the binary, I get this error log when it crashes:
I've also run valgrind, and get this error log
valg.txt.zip
Not sure when the last stable commit was, but I've found some older edyn files dating to around early march which work without that crash
The text was updated successfully, but these errors were encountered: