Unity-Technologies / com.unity.demoteam.hair

An integrated solution for authoring / importing / simulating / rendering strand-based hair in Unity.
Other
719 stars 97 forks source link

Error Exporting Curves from Blender to Unity #38

Open MoveRotateResize opened 1 year ago

MoveRotateResize commented 1 year ago

I have the same problem. Exportnig curves from bledner to unity has the following errors. Even though my curves have thousands of verts

Skipping alembic curve set (index 1) due to degenerate curves with less than two vertices. Discarding provided curve set due to degenerate curves with less than two vertices.

fuglsang commented 1 year ago

Hi, The degenerate curves discard will happen for the entire set if there are any degenerate curves in the set. Could you provide me with an alembic cache that exhibits the problem that you're seeing?

Wollabebes commented 1 year ago

I got mine working. Try setting the Strand Steps with the same value as Segments, then export with Viewport Settings. I also set the amount of hair particles similar to the number of triangles but it might not be necessary.