inkle / ink

inkle's open source scripting language for writing interactive narrative.
http://www.inklestudios.com/ink
MIT License
3.97k stars 482 forks source link

Unity ink player window causing GUI errors and choices not working during runtime. #881

Open Travis-Ladore opened 8 months ago

Travis-Ladore commented 8 months ago

Hello! so recently I have added the ink unity integration package to my unity project which is currently version 2023.1.11f1. So ink stories will run in the game but choices just do not work. On top of that, when I attempt to use the ink player window, it causes errors and does not work. The ink story runs fine in inky but for some reason, Unity is having a lot of issues.

Here is my ink story that works in inky but not in unity during runtime: How are you feeling today? -> choices

=== choices === +[Happy] Wonderful! I was hoping you would say that!#portrait:Green_Happy -> continue_story +[Sad] Well, that's no good. The Happy Nation town is somewhere around here.#portrait:Green_Sad -> continue_story

=== continue_story === Well, do you have any more questions? +[Yes] -> main +[No] Well, have a wonderful day! -> END

=== main === How are you feeling today? ->choices

Here are the GUI errors that pop up whenever I try to use the ink player window within unity. image