Skip to content

[Unity-Native] import sspj again after first import could not update animation clip correctly if we have added new frames #94

@JustusPan

Description

@JustusPan

Version: 7.0.4.4335
SS6P4U version:2.1.11
Import Mode: Unity-Native

Steps:

  1. make a animation named "attack" in SS(SpriteStudio), then save project. we support it has 10 frames, and FPS is 60, for example.
  2. import sspj into Unity via "Unity-Native" mode
  3. we get an animation clip of "attack" now, it's default name maybe "ac_Weapon_attack", it could work well now.
  4. Then we add 5 more frames to the "attack" animation in SS, don't change the postion of existent frames, we attach 5 more frames and add keyframe data there. **the new animation works well in SS" now.
  5. import sspj into Unity via "Unity-Native" mode again
  6. we get a new animation clip of "attack" which update the old one.
  7. check the frames of "ac_Weapon_attack", the total animation length is 15 frames, correct. But all data after frame 10 is not correct. ------------------------> BUG HERE

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions