joboldo

Hey,

after enabling 2D Toolkit support I get this error:

The type or namespace name `SkinnedMeshAttachment' could not be found. Are you missing a using directive or an assembly reference?
joboldo
  • Сообщения: 17

Pharan

Latest runtime? Plain Unity and TK2D now share the same rendering code so that shouldn't be happening if you have the latest runtime.

But if you're already on the latest runtime, can you share the stacktrace/line numbers that shows up in the Unity console?

I think your other option is to revert to Spine editor 3.0.10 or something until that's sorted out.
Аватара пользователя
Pharan
  • Сообщения: 5366

joboldo

its the latest.

Stack trace:
Assets/spine-unity/Modules/SpriteCollectionAttachmentLoader.cs(141,16): error CS0246: The type or namespace name `SkinnedMeshAttachment' could not be found. Are you missing a using directive or an assembly reference?
joboldo
  • Сообщения: 17

Pharan

Ah, interesting. Let me take a look at it. Probably not hard to fix.
Be back in a bit.

-- 27 Feb 2016 2:00 am --

1) Search for SpriteCollectionAttachmentLoader.cs in your Unity project's Project view.
2) Open it.
3) Replace all its code with the code here: https://raw.githubusercontent.com/EsotericSoftware/spine-runtimes/master/spine-unity/Assets/spine-unity/Modules/TK2D/SpriteCollectionAttachmentLoader.cs
4) Save.
5) Go back to Unity.

Let us know if something else is broken! :)
Аватара пользователя
Pharan
  • Сообщения: 5366


Вернуться в Unity