iron59

I'm currently using Unity 5.3.1f1. When I try to enable tk2d using the references, I get the following error:
PlayerSettings Validation: Requested build target group (0) doesn't exist; #define symbols for scripting won't be added.
UnityEditor.PlayerSettings:SetScriptingDefineSymbolsForGroup(BuildTargetGroup, String)
SpineEditorUtilities:EnableTK2D() (at Assets/spine-unity/Editor/SpineEditorUtilities.cs:1146)
SpineEditorUtilities:PreferencesGUI() (at Assets/spine-unity/Editor/SpineEditorUtilities.cs:1125)
UnityEditor.HostView:OnGUI()
With this, the json files in spine are not detected to prompt for a new SkeletonDataAsset. Any suggestions for this? Thank you very much. :)
iron59
  • Сообщения: 17

Pharan

Thanks for reporting! Looks like Unity sneaked a new BuildTargetGroup value on us! :D

Go to your project and open SpineEditorUtilities.cs
Replace all of its contents with this code: https://raw.githubusercontent.com/EsotericSoftware/spine-runtimes/master/spine-unity/Assets/spine-unity/Editor/SpineEditorUtilities.cs

If you're curious, here's what was added: https://github.com/EsotericSoftware/spine-runtimes/commit/143b750dc9dd4c485f7c50fcda704611556a8525
Аватара пользователя
Pharan
  • Сообщения: 5366

iron59

Thank you very much. I should've reported this sooner. I was trying to figure out what step did I miss when I imported the project. It works fine now. :D
iron59
  • Сообщения: 17


Вернуться в Unity