inkle / ink-unity-integration

Unity integration for the open source ink narrative scripting language.
http://www.inklestudios.com/ink
Other
570 stars 99 forks source link

Unity 2022.3.7f1 addressables build failure #197

Closed SamTyurenkov closed 10 months ago

SamTyurenkov commented 10 months ago

Ink is working just fine in editor, but when I try to build app or just the addressables I get errors, that some of my c# scripts referencing the non-existant UnityIntegration, InkFile etc.

Also ink itself spams errors about non-resolved variables (only during application build), while they work perfectly in play mode in editor.

image

SamTyurenkov commented 10 months ago

Nevermind, I followed that tutorial: https://www.youtube.com/watch?v=fA79neqH21s And missed authors comment with fix to the issue. It turns out I cannot reference Editor-only scripts.