DragonBones / DragonBonesUnity

75 stars 33 forks source link

Null Exception in BaseTimelineState #14

Open Darth-Carrotpie opened 4 years ago

Darth-Carrotpie commented 4 years ago

In the project there is many instances of the same animated object. After some time it drops with error: NullReferenceException: Object reference not set to an instance of an object DragonBones.TimelineState._SetCurrentTime (System.Single passedTime) (at Assets/Scripts/DragonBones/animation/BaseTimelineState.cs:116) DragonBones.TimelineState.Update (System.Single passedTime) (at Assets/Scripts/DragonBones/animation/BaseTimelineState.cs:228) DragonBones.AnimationState.AdvanceTime (System.Single passedTime, System.Single cacheFrameRate) (at Assets/Scripts/DragonBones/animation/AnimationState.cs:932) DragonBones.Animation.AdvanceTime (System.Single passedTime) (at Assets/Scripts/DragonBones/animation/Animation.cs:268) DragonBones.Armature.AdvanceTime (System.Single passedTime) (at Assets/Scripts/DragonBones/armature/Armature.cs:330) DragonBones.WorldClock.AdvanceTime (System.Single passedTime) (at Assets/Scripts/DragonBones/animation/WorldClock.cs:155) DragonBones.DragonBones.AdvanceTime (System.Single passedTime) (at Assets/Scripts/DragonBones/core/DragonBones.cs:357) DragonBones.ClockHandler.Update () (at Assets/Scripts/DragonBones/Scripts/unity/UnityFactory.cs:36)