Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bug / Crash  High Resolution mesh initialization
#1
Hey there,

I started using Obi Cloth extensively for a project recently. Unity editor becomes unresponsive while initializing a high resolution mesh. It works when the mesh has around 10.000 vertices, but it crashes at around 60.000 vertices. Does obi cloth has limitations, is it a unity bug, any ideas?

Thanks.


Software:
Unity 2018.2.8f1
Latest Obi Cloth

Hardware:
i7-7700HQ (2.8GHz, 8 core)
GTX 1070
Reply
#2
(30-09-2018, 05:17 AM)kocosman Wrote: Hey there,

I started using Obi Cloth extensively for a project recently. Unity editor becomes unresponsive while initializing a high resolution mesh. It works when the mesh has around 10.000 vertices, but it crashes at around 60.000 vertices. Does obi cloth has limitations, is it a unity bug, any ideas?

Thanks.


Software:
Unity 2018.2.8f1
Latest Obi Cloth

Hardware:
i7-7700HQ (2.8GHz, 8 core)
GTX 1070

Unity used to have a vertex limit around 60.000 vertices (65535 if my memory does not fail). This has changed in recent versions (around 2017.1), but requires you to use a different data type for triangle indices. We haven't tested Obi for compatibility with meshes that big, since realtime cloth simulation stops being possible at much lower poly counts.

We will test for hi-poly support in upcoming versions.

Edit: see https://docs.unity3d.com/ScriptReference...ormat.html
Reply