Closed aschearer closed 2 years ago
Hmm a search for "raiseEvent" turns up nothing at all for me. Do you have an external function called that in your ink, and are you tethering your story to the ink player window on start?
On Thu, Mar 3, 2022 at 4:09 AM Alex Schearer @.***> wrote:
Just downloaded the latest off github and I get constant errors: Trying to call EXTERNAL function 'raiseEvent' which has not been bound (and ink fallbacks disabled). when viewing a story in the Ink Player -- disabling Auto-Continue seems to fix it.
— Reply to this email directly, view it on GitHub https://github.com/inkle/ink-unity-integration/issues/164, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJR3UAEJVVT3NEUQVRHB2DU6A3QHANCNFSM5PZKGN7A . You are receiving this because you are subscribed to this thread.Message ID: @.***>
I have the same issue. The exception displays my external function that is the first defined in the ink file, despite fallback functions existing, and likewise, disabling Auto-continue solves the issue when playing an ink file outside of play mode.
Once the file is loaded successfully, toggling auto-continue on works without a problem.
During play, if i tether the story to the window, it fails similarly, otherwise, it works fine.
Can someone share an example ink file so I can debug this please?
On Tue, Mar 22, 2022 at 12:47 PM Profakos @.***> wrote:
I have the same issue. The exception displays my external function that is the first defined in the ink file, despite fallback functions existing, and likewise, disabling Auto-continue solves the issue when playing an ink file outside of play mode.
— Reply to this email directly, view it on GitHub https://github.com/inkle/ink-unity-integration/issues/164#issuecomment-1075567837, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJR3UFVJKT4MD5ZRORNAK3VBIPWXANCNFSM5PZKGN7A . You are receiving this because you commented.Message ID: @.***>
I will prepare a sample file later today.
test_function.zip I have attached a zip file containing an ink file that successfully reproduces the issue caused by auto-play being enabled on the initial play.
EDIT: I have found another instance of this issue: when i try to use the Ink Player editor in unity to divert to a knot or stitch containing an external function, I will get the same error. Otherwise, while running normally, the game runs fine.
Thank you! I've fixed this on latest.
Y'all are the best!
Thank you for the fix! :)
Just downloaded the latest off github and I get constant errors:
Trying to call EXTERNAL function 'raiseEvent' which has not been bound (and ink fallbacks disabled).
when viewing a story in theInk Player
-- disablingAuto-Continue
seems to fix it.