Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在项目中播放某个动画,不知道这是为什么就会报错 #67

Open
ZhoujianhuaUnity opened this issue May 17, 2019 · 1 comment

Comments

@ZhoujianhuaUnity
Copy link

NullReferenceException: Object reference not set to an instance of an object
DragonBones.TimelineState._SetCurrentTime (Single passedTime) (at Assets/DragonBones/Scripts/animation/BaseTimelineState.cs:116)
DragonBones.TimelineState.Update (Single passedTime) (at Assets/DragonBones/Scripts/animation/BaseTimelineState.cs:228)
DragonBones.AnimationState.AdvanceTime (Single passedTime, Single cacheFrameRate) (at Assets/DragonBones/Scripts/animation/AnimationState.cs:932)
DragonBones.Animation.AdvanceTime (Single passedTime) (at Assets/DragonBones/Scripts/animation/Animation.cs:242)
DragonBones.Armature.AdvanceTime (Single passedTime) (at Assets/DragonBones/Scripts/armature/Armature.cs:330)
DragonBones.WorldClock.AdvanceTime (Single passedTime) (at Assets/DragonBones/Scripts/animation/WorldClock.cs:155)
DragonBones.DragonBones.AdvanceTime (Single passedTime) (at Assets/DragonBones/Scripts/core/DragonBones.cs:357)
DragonBones.ClockHandler.Update () (at Assets/DragonBones/Scripts/unity/UnityFactory.cs:36)

@JuanGdelaCruz
Copy link

I get the same error, in my case it has something to do with UnityArmatureComponent.animation.Reset()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants