question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Wrong AnimFirstFrame in AnimSpriteRenderer depending on the frame count

See original GitHub issue

Summary

If the AnimFrameCount is one or more, the AnimFirstFrame is normal.

However, if it’s equal to zero, then everything is offset by one : AnimFirstFrame : 0 1 2 3 … Actual` index in spritesheet : 0 0 1 2 …

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
ChristianGreinercommented, Jan 18, 2017

I think you can use this nunit project: https://github.com/AdamsLair/duality/blob/master/Test

0reactions
ilexpcommented, Jan 19, 2017

Fixed by @IanTeo

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why do CG anime skip frames?
Depends on how they set it up: From what I've heard, Japanese 3D animation studios tend to manually pose each frame. If they...
Read more >
Sprite Animation Tutorial -- Unity 2021 - YouTube
https://devga.me/tutorials/misc/sprite-animation-in-unity-tutorial/ ...
Read more >
Lack of scripting functionality for creating 2D animation ...
I put this script in start method in a MonoBehaviour. and the game object has a SpriteRenderer component. and I create some sprites...
Read more >
why is CG anime always choppy? - Forums
CG anime seems to be sluggish and appears to have a low frame rate. Animators will sometimes cut frame rates in CG scenes...
Read more >
Animating a GameObject
shows the GameObject at that frame of the Animation Clip. The values of the animated properties at that frame are also shown in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found