ink icon indicating copy to clipboard operation
ink copied to clipboard

Export of web build results in ink.js file that has allowExternalFunctionFallbacks disabled

Open heyacfox opened this issue 2 years ago • 0 comments

So I made a game with external functions referenced

image

But when I exported the web build, I got errors for function bindings missing

image

I found the "Ink fallbacks disabled" curious, and I looked in the source code for ink.js, and it was indeed disabled.

image

But this line implies the value should always be true. Why is this getting turned off on web build exports? I changed it in the source code from =!1 to =1 and my story fully works now in the web build.

https://github.com/inkle/ink/blob/6a512190365002f54bd501b0863ded40123cb8e5/inklecate/CommandLineTool.cs#L186

heyacfox avatar Nov 07 '23 02:11 heyacfox