06-07-2021, 05:33 PM
Hi there!
I really like Obi plugins. Great work!
Lately, I've encountered a weird bug: When I try to delete Obi Cloth softbodies from a scene remaining ones are not rendered correctly if Burst is enabled.
See the "red" ball on the right:
ObiCloth_normals_bug.png (Size: 46.65 KB / Downloads: 8)
I think Burst messes up normal calculations since it only affects objects with Obi Cloth Renderer's Tangent Space Update set to Copy Normals From Simulation or Transform Normals And Tangents.
You can reproduce the issue by loading ClothSoftbody sample scene and deleting first 2 "Softbodies" from the Hierarchy in Play Mode.
Note: I'm using Unity 2020.3.12f1.
I really like Obi plugins. Great work!
Lately, I've encountered a weird bug: When I try to delete Obi Cloth softbodies from a scene remaining ones are not rendered correctly if Burst is enabled.
See the "red" ball on the right:
ObiCloth_normals_bug.png (Size: 46.65 KB / Downloads: 8)
I think Burst messes up normal calculations since it only affects objects with Obi Cloth Renderer's Tangent Space Update set to Copy Normals From Simulation or Transform Normals And Tangents.
You can reproduce the issue by loading ClothSoftbody sample scene and deleting first 2 "Softbodies" from the Hierarchy in Play Mode.
Note: I'm using Unity 2020.3.12f1.