Skip to content
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

Unity Editor freezes when generating meshes #10

Open
Daniel4144 opened this issue Mar 28, 2022 · 1 comment
Open

Unity Editor freezes when generating meshes #10

Daniel4144 opened this issue Mar 28, 2022 · 1 comment

Comments

@Daniel4144
Copy link

Describe the bug

Unity Editor freezes when generating convex meshes for the included mesh and consumes all available RAM

Mesh:
cirPattern2.zip

To Reproduce

Steps to reproduce the behavior:

  1. Import the included mesh (check 'Read/Write Enabled' in the import settings)
  2. Call GenerateConvexMeshes() for the mesh
  3. Editor freezes and consumes all available RAM after some time

Environment:

  • Unity Version: 2020.3.30f1
  • Windows 10
  • VHACD 0.0.1-preview

Additional context
This tool is really useful and works better than paid alternatives on the asset store. It is unfortunate that it is hidden in this repo and not mentioned anywhere (And it is also difficult to find under its not very meaningful name.

@markus-senger
Copy link

It still doesn't seem to be resolved; some meshes are causing the Unity Editor to freeze. The issue lies within the function ComputeFloat(...) within GenerateConvexMeshes(...). For example, the left disc leads to the freeze, while the right sphere (standard Unity sphere) works perfectly fine.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants