- Edited
Unity Runtime 3_7-2019-03-04 has missing references
So, I freshly updated the spine runtime in my unity project using the "spine-unity-3_7-2019-03-04.unitypackage", and I get a couple of nice missing references to files that should be there:
NUMBER ONE:
Assets/SpineImporter/Editor/spine-unity/Modules/Timeline/Editor/SpineAnimationStateDrawer.cs(3,7): error CS0246: The type or namespace name `Spine' could not be found. Are you missing an assembly reference?
I get the same error on lines 4 and 5 of the same scripts, basically come missing "using"; this is a property drawer whose content is completely commented out, what is this even doing there? I comment out the lines that give me the error and i gant the amazing
NUMBER TWO:
Assets/SpineImporter/Editor/spine-unity/Modules/Timeline/Editor/SpineSkeletonFlipDrawer.cs(6,30): error CS0246: The type or namespace name `SpineSkeletonFlipBehaviour' could not be found. Are you missing an assembly reference?
This is another property drawer that can't find the class he's trying to address :S
Any solution that is not commenting out the whole code?
Are those file even important, and if not, why they are even there?
xoxo
It looks as if you have some leftover files of an old spine-unity runtime lying around and haven't updated for a long time (or maybe used Pharan's Timeline tools). Please delete the existing Spine
and Spine Examples
directories and unpack the unitypackage again - you will encounter no errors then.
Of course first make backups or be sure to have none of your own assets lying around in the Spine directories you are about to delete.
And thanks for pointing out the commented-out code parts - I have noted them down for removal in an upcoming cleanup action.