- Edited
2D Toolkit Bugs in Spine Unity 3.8 2019-08-20
Hey,
Last night I attempted to upgrade Spine to 3.8 from 3.7, and Spine Unity from 3.7 2019-08-05 to 3.8 2019-08-20. There were some errors related to 2D Toolkit after the upgrade and some of the leg art looked weird. So I had to revert. My animator would love to be able to use the features of Spine 3.8, but we can't until these issues are fixed.
Please advise.
2D Toolkit: v2.5.8.16
Unity: v2018.4.6
Spine: v3.8.61
Spine Unity: v3.8 2019-08-20
We are very sorry for the trouble!
I have just uploaded two commits which fixes disabling asmdef-files and the compile error.
You can download the new unitypackage from here as usual:
Spine Unity Download
However, since you wrote "some of the leg art looked weird", did you fix the compile error yourself and delete the asmdef files? Could you please check if the problems persist after updating to the latest unitypackage? If yes, it would be geat if you could send us a zip package of a minimal Unity project to contact@esotericsoftware.com that shows the problem you are encountering.
If you could further explain what the expected vs. actual situation in 3.7 vs 3.8 is, that would help a lot as well.
Hey Harald,
Yes, I tried to fix the issues myself. It compiled but then there was the weird leg behavior. So I rolled back.
Still having some compilation issues though, even after a fresh install of spine-unity.
Assets\Plugins\Spine\Runtime\spine-unity\Modules\TK2D\SpriteCollectionAttachmentLoader.cs(46,44): error CS0246: The type or namespace name 'tk2dSpriteCollectionData' could not be found (are you missing a using directive or an assembly reference?)
Assets\Plugins\Spine\Runtime\spine-unity\Modules\TK2D\SpriteCollectionAttachmentLoader.cs(38,11): error CS0246: The type or namespace name 'tk2dSpriteCollectionData' could not be found (are you missing a using directive or an assembly reference?)
Assets\Plugins\Spine\Runtime\spine-unity\Asset Types\SkeletonDataAsset.cs(45,10): error CS0246: The type or namespace name 'tk2dSpriteCollectionData' could not be found (are you missing a using directive or an assembly reference?)
Please advise.
If you still receive these errors, please manually delete the asmdef files Assets/Spine/Runtime/spine-unity.txt
and Assets/Spine/Editor/spine-unity-editor.txt
.
These files are automatically disabled (renamed to .txt
extension) when enabling the Define TK2D
option via the Preferences menu, but in your case it may be a leftover problem of the definition that was already set, but the files not being renamed.
Harald,
So I reinstalled spine-unity again and pressed the "Enable TK2D" button. Now the project will compile, but the leg problems are still present and I get this error when I press play.
<RI.Hid> Failed to read input report:
The requested resource is in use.
Additionally, show I can show you what is going on with the legs, how can we exchange files with you without posting them here?
Please advise.
Please send the files (or an url) to contact@esotericsoftware.com. Please include a reference to this forum thread so that we know the context immediately.
Harald,
Due to this and a host of other issues, we are facing with 2D Toolkit and their abysmal support practices. We have decided that instead of trouble-shooting this issue we are just dropping 2D Toolkit, and developing our own solution. 2D Toolkit is garbage.
Thanks for your help.
Thanks for getting back to us, sorry to hear that you were facing bad support over at 2D Toolkit. All the best with your solution!