ikpil / DotRecast

DotRecast - a port of Recast & Detour, Industry-standard navigation mesh toolset for .NET, C#, Unity3D, games, servers
zlib License
563 stars 72 forks source link

Bug in Demo with Convex Volume Creation #34

Closed Herculezz55 closed 10 months ago

Herculezz55 commented 10 months ago

So when creating a convex volume, it will crash the program if you accidentally only give 3 points for the volume, is this intended behavior, and if so could if instead just catch the exception instead of crash the program? P.S. I made a new issue for this so it can be closed when acted on, separate from our ongoing discussion

ikpil commented 10 months ago

In any scenario, crashes should not occur. Could you provide me with relevant video footage, logs, and reproduction steps that I can review?

Herculezz55 commented 10 months ago

Real simple to reproduce, even happens in the sample geom, just open it up goto convex volumes, Click, move the mouse click again, move the mouse and double click it will always crash

ikpil commented 10 months ago

I have confirmed the bug. If it is fixed, I will mention it. Thank you.

ikpil commented 10 months ago

fix