- Modifié
SkeletonDataAssetInspector issue on compilation
[Spine Editor 3.307 - Spine Unity Runtime : today unitypackage]
Any time I try to compile while having a SkeletonData object displayed in the Inspector, I got:
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.EditorStyles.get_toolbarButton () (at C:/buildslave/unity/build/Editor/Mono/GUI/EditorStyles.cs:175)
Spine.Unity.Editor.SkeletonDataAssetInspector.OnEnable () (at Assets/spine-unity/Asset Types/Editor/SkeletonDataAssetInspector.cs:65)
That's not much trouble because compiling seems to works fine anyway... Low priority I guess!
Thanks for reporting! I've been getting little errors like this here and there too. They're hard to track down/fix when the stacktrace points to internal Unity code: ie, Mono/GUI/EditorStyles.cs:175
Will take a look though.
Fixed. Should be included in the next unitypackage update. You can see the changes in the github repo.
Cool! That was quick