Smoothmoves 플러그인 사용시 유니티 버전 4.2에서 생겨나는 문제점

Unity3D 2013. 9. 2. 17:04
반응형

Smoothmoves 플러그인 사용시 유니티 버전 4.2에서 생겨나는 문제점.



I'm the author of the SmoothMoves 2D skeletal animation plugin in the Asset Store. With the launch of Unity 4.2, some bugs have appeared in the depth of my animation's meshes. It appears that with Unity 4.2, the order of the submeshes in a mesh is not being followed (as set by Mesh.SetTriangles). Instead, it looks like the submeshes are being batched by material, ignoring the submesh index entirely.

In Unity 4.1 and earlier, the index order was followed, allowing you to switch between materials, layering mesh data by depth. With 4.2, the batching is causing this to fail. 

Some images (note that submesh #1 and #3 are both using the same material, though they should be rendered in different passes):

4.1 and earlier (Correct ordering)





4.2 (Incorrect ordering due to batching)





I've submitted a bug to Unity, but I was wondering if anyone else has experienced this issue, and if so, have they had any information from the Unity support team regarding what might have changed in 4.2?

반응형
: