Search Unity

Bug Crash/Freeze on android if timeline animation has zero frames

Discussion in 'Timeline' started by sacb0y, Nov 17, 2021.

  1. sacb0y

    sacb0y

    Joined:
    May 9, 2016
    Posts:
    874
    I've already submitted this as a bug (Case 1381500) but I'm posting incase anyone has a similar issue.

    If you make a timeline with 0 frames, like you have an animation with only a keyframe at the start. The build will do a bizarre crash where it will continue to play (atleast play music) even when returning to the home screen. And the music didn't stop until closing the game.

    This issue does not occur in any other build.

    There is no error log for this issue, checking both unity logging and logcat.

    So if someone is having a crash because of what seems like an animation trigger, this is why.