• Bugs
  • Unity, tk2d error on editor start, missing spine preferences

Related Discussions
...

Hi.
I've imported spine unity plugin into project. Next I opened Spine Preferences and I enable TK2D. I have no TK2D imported so errors in console was not a suprise. Next I closed Unity editor. After Unity reopen, Spine preferences are missing from Preferences menu so there is no way to disable TK2D again.
Reinstall plugin dont work. Only solution is to manually edit ProjectSettings.asset inside ProjectSettings folder.

Reproduce step:

  1. Create clean unity project
  2. Import Spine plugin
  3. Open Spine prefs
  4. Click enable tk2d
  5. Close unity
  6. Open unity
  7. Spine prefs are missing

Best regards
Lukasz

Another solution is probably to actually install TK2D.
And another solution is to open Edit>Project Settings...>Player... And then remove the TK2D defines under "Scripting Define Symbols*"

But I assume you're right, this would happen if it fails to compile because TK2D isn't there.

I guess we at least need to document this.
We'll consider options to mitigate this inconvenience.
Thanks for reporting!


spine-tk2D without 2D Toolkit quirk