I have sent a minimal reproduce project to support email.
this issue both happen in following version in my test
- Unity 2020.3.38 & SS6PU Ver. 2.2.1
- Unity 2021.3.19 & SS6PU Ver. 2.2.1
I have also sent my animation clip files together inside SS project, please check the folder "UnityFileDiff"
In Summary, the issue could be described by following table
Ver | Import Size | enable loop Size | m_LoopTime | m_ClipBindingConstant | m_EditorCurves |
Unity 2020.3.38f1 | 16kb(498lines) | 46kb(1806lines) | 0->1 | empty->huge | []->huge |
Unity 2021.3.19f1 | 16kb(497lines) | 18kb(603lines) | 0->1 | empty->huge | []->[] |
Steps to Reproduce:
1. create a new blank unity project
2. install SS6PU v2.2.1
3. import ss project LoopFlagIssue.sspj via Unity-Native mode
4. check the generated animation clip "ac_Main_Idle.asset", it's about 498 or 497 lines.
5. enable "LoopTime" check box via Unity inspector, then press Ctrl+S to save Unity project(necessary step)
6. check "ac_Main_Idle.asset" again, huge amount of lines under m_ClipBindingConstant & m_EditorCurves have be generated. this is a bug. The expected behavior should be that only m_LoopTime line being changed and no size enlarging happen.