CGALDotNetUnity icon indicating copy to clipboard operation
CGALDotNetUnity copied to clipboard

HeatMethod with EEK hard crashes editor

Open SixWays opened this issue 1 year ago • 0 comments

I'm trying to use HeatMethod to calculate geodesics on meshes. However calling EstimateGeodesicDistances when using the EEK kernel causes a hard crash of the editor. No Unity crash reporter, no crash dump, editor logs just stop, can't see anything in windows event viewer. Doesn't seem to be instant (at least on large meshes where calculating a geodesic takes an appreciable time) so it may be happening near the end of the first calculation rather than just not getting to the calculation at all.

This is under all the following conditions:

  • Converting mesh using ToCGALPolyhedron3
  • Converting mesh using ToCGALSurfaceMesh3
  • Manually converting to Polyhedron3
  • Manually converting to SurfaceMesh3
  • Using this repo's binaries
  • Using the base repo's binaries
  • Using the base repo's source
  • Placing binaries and/or source in a separate assembly
  • Placing binaries and/or source in the calling assembly

EIK seems to work fine.

SixWays avatar Sep 06 '24 09:09 SixWays