• Bugs
  • runtimes 4.1-beta do not compile on Unity 2020.3.10

  • Изменено
Related Discussions
...

Spine Unity runtimes 4.1-beta do not compile for Unity 2020.3.10f1.

The function AssetDatabase.SaveAssetIfDirty is not defined for this version. A little research on my side reveals that it's supported since 2020.3.16, so not in every 2020.3 version.

So specifically, this code is incorrect in SpineBuildProcessor.cs:

#if UNITY_2020_3_OR_NEWER
#define HAS_SAVE_ASSET_IF_DIRTY
#endif

Hope this helps,
M

Wow, so Unity introduces new API/defines in patch versions? That's ... good engineering. Harri will have a look at this.