You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately there is no file named SkeletonGhostPartsRenderer.cs and no class SkeletonGhostPartsRenderer in the spine-unity runtime. Did you mean another file/class?
Hmm that is strange... There is the possibility that I created it myself (based on SkeletonGhostRenderer?). Unfortunately the file was created before we switched to our current VCS (around 2 years ago), so I can't easily see whether I created it myself or not. But if its not in the runtime, then I suppose I did! I'll upload it just in case, but sounds like it might have been a false alarm. Sorry! SkeletonGhostPartsRenderer.cs.txt
Unfortunately I still fail to find such a file/component. What also leads me to believe we've never provided such a component is this thread (7 months ago): http://esotericsoftware.com/forum/Using-Ghost-renderer-along-with-Separator-16380
So my guess is that you have indeed written this class yourself. Your fix of adding a null check seems very reasonable, so please feel free to add this to your code ;).
Found a corner-case issue that results in a null-pointer in this situation:
SkeletonPartsRenderer gameobject with a SkeletonGhostPartsRenderer.
This all happens on the same frame:
My workaround (and maybe permanent solution?) was just to add a null check for meshFilter.sharedMesh in Update() on SkeletonGhostPartsRenderer.
Spine version.txt says package version spine-unity-4.0-2021-12-21.unitypackage
The text was updated successfully, but these errors were encountered: