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
Editor Gives me errors each time I exit playmode #119
Comments
That's very strange. For See if you can figure out how to reliably replicate the issue, because I don't think I'll be able to fix it properly unless I can replicate it. |
I am able to reproduce it by changing any .cs file and when the code recompiles it hits the breakpoint. Here is a print out of this, inside that breakpoint
Currently I monkey patched it by changing the code to OLD: AnimancerPlayable.cs
NEW: AnimancerPlayable.cs
|
To debug it we'd need a |
You can't play animations on a prefab since it's not in the scene. That should actually throw an exception instead of returning. |
In
And in
|
Animancer v7.0 is now available with this fix in it. |
Environment
Description
NullReferenceException: Object reference not set to an instance of an object
Animancer.AnimancerPlayable.GetKey (UnityEngine.AnimationClip clip) (at Assets/Plugins/Animancer/Internal/Core/AnimancerPlayable.cs:523)
Animancer.AnimancerPlayable+StateDictionary.GetOrCreate (UnityEngine.AnimationClip clip, System.Boolean allowSetClip) (at Assets/Plugins/Animancer/Internal/Core/AnimancerPlayable.StateDictionary.cs:232)
Animancer.AnimancerPlayable.Play (UnityEngine.AnimationClip clip) (at Assets/Plugins/Animancer/Internal/Core/AnimancerPlayable.cs:535)
Animancer.AnimancerUtilities+<>c__DisplayClass21_0.b__0 () (at Assets/Plugins/Animancer/Internal/Core/AnimancerUtilities.cs:397)
UnityEditor.EditorApplication.Internal_CallDelayFunctions () (at :0)
A clear and concise description of what the bug is.
Reproduction
Steps to reproduce the bug:
http://prntscr.com/138bsuj
The text was updated successfully, but these errors were encountered: