I tried using the demo files (and modifying them slightly), they work great exporting to Windows standalone exe & Android apk, but I get errors when I export to WebGL for browser use:
-------------------------------
n error occurred running the Unity content on this page. See your browser JavaScript console for more info. The error was:
uncaught exception: abort("To use dlopen, you need to use Emscripten's linking support, see
https://github.com/kripken/emscripten/wiki/Linking") at jsStackTrace (ZombieDucky_WebGL.asm.framework.unityweb:2:27460)
stackTrace (ZombieDucky_WebGL.asm.framework.unityweb:2:27631)
abort (ZombieDucky_WebGL.asm.framework.unityweb:4:32226)
_dlopen (ZombieDucky_WebGL.asm.framework.unityweb:2:186516)
ITf (ZombieDucky_WebGL.asm.code.unityweb:24:1)
z1f (ZombieDucky_WebGL.asm.code.unityweb:24:1)
KKf (ZombieDucky_WebGL.asm.code.unityweb:24:1)
jYe (ZombieDucky_WebGL.asm.code.unityweb:14:1)
iYe (ZombieDucky_WebGL.asm.code.unityweb:14:1)
mYe (ZombieDucky_WebGL.asm.code.unityweb:14:1)
_Xe (ZombieDucky_WebGL.asm.code.unityweb:14:1)
ZXe (ZombieDucky_WebGL.asm.code.unityweb:14:1)
Jlm (ZombieDucky_WebGL.asm.code.unityweb:11:1)
Tlm (ZombieDucky_WebGL.asm.code.unityweb:11:1)
Slm (ZombieDucky_WebGL.asm.code.unityweb:11:1)
_6i (ZombieDucky_WebGL.asm.code.unityweb:7:1)
vym (ZombieDucky_WebGL.asm.code.unityweb:28:1)
invoke_iiiii (ZombieDucky_WebGL.asm.framework.unityweb:2:357198)
Pvf (ZombieDucky_WebGL.asm.code.unityweb:24:1)
Bxf (ZombieDucky_WebGL.asm.code.unityweb:24:1)
Jda (ZombieDucky_WebGL.asm.code.unityweb:9:1)
HEa (ZombieDucky_WebGL.asm.code.unityweb:12:1)
JRb (ZombieDucky_WebGL.asm.code.unityweb:10:1)
BRb (ZombieDucky_WebGL.asm.code.unityweb:10:1)
Osb (ZombieDucky_WebGL.asm.code.unityweb:13:1)
iRb (ZombieDucky_WebGL.asm.code.unityweb:10:1)
Tea (ZombieDucky_WebGL.asm.code.unityweb:9:1)
rJa (ZombieDucky_WebGL.asm.code.unityweb:12:1)
sFa (ZombieDucky_WebGL.asm.code.unityweb:12:1)
uFa (ZombieDucky_WebGL.asm.code.unityweb:12:1)
nFa (ZombieDucky_WebGL.asm.code.unityweb:12:1)
UDa (ZombieDucky_WebGL.asm.code.unityweb:12:1)
TDa (ZombieDucky_WebGL.asm.code.unityweb:12:1)
RDa (ZombieDucky_WebGL.asm.code.unityweb:12:1)
NDa (ZombieDucky_WebGL.asm.code.unityweb:12:1)
bsa (ZombieDucky_WebGL.asm.code.unityweb:9:1)
Pra (ZombieDucky_WebGL.asm.code.unityweb:9:1)
callMain (ZombieDucky_WebGL.asm.framework.unityweb:4:30591)
doRun (ZombieDucky_WebGL.asm.framework.unityweb:4:31294)
run (ZombieDucky_WebGL.asm.framework.unityweb:4:31480)
runCaller (ZombieDucky_WebGL.asm.framework.unityweb:4:30108)
removeRunDependency (ZombieDucky_WebGL.asm.framework.unityweb:2:34426)
processDataJob@file:///D:/Unity/ZombieDucky_WebGL/Build/UnityLoader.js:1:3549
schedule/i.callback@file:///D:/Unity/ZombieDucky_WebGL/Build/UnityLoader.js:1:15945
If this abort() is unexpected, build with -s ASSERTIONS=1 which can give more information.
-------------------------------
uncaught exception: abort("To use dlopen, you need to use Emscripten's linking support, see
https://github.com/kripken/emscripten/wiki/Linking") at jsStackTrace@blob:null/9d5ecf7e-4284-4f2d-b0e7-381e01968b2e:2:27460
stackTrace@blob:null/9d5ecf7e-4284-4f2d-b0e7-381e01968b2e:2:27631
abort@blob:null/9d5ecf7e-4284-4f2d-b0e7-381e01968b2e:4:32226
_dlopen@blob:null/9d5ecf7e-4284-4f2d-b0e7-381e01968b2e:2:186516
ITf@blob:null/35cb8297-c9f4-4f80-8f5a-4cbbb61067a3:24:1
z1f@blob:null/35cb8297-c9f4-4f80-8f5a-4cbbb61067a3:24:1
KKf@blob:null/35cb8297-c9f4-4f80-8f5a-4cbbb61067a3:24:1
jYe@blob:null/35cb8297-c9f4-4f80-8f5a-4cbbb61067a3:14:1
iYe@blob:null/35cb8297-c9f4-4f80-8f5a-4cbbb61067a3:14:1
mYe@blob:null/35cb8297-c9f4-4f80-8f5a-4cbbb61067a3:14:1
_Xe@blob:null/35cb8297-c9f4-4f80-8f5a-4cbbb61067a3:14:1
ZXe@blob:null/35cb8297-c9f4-4f80-8f5a-4cbbb61067a3:14:1
Jlm@blob:null/35cb8297-c9f4-4f80-8f5a-4cbbb61067a3:11:1
Tlm@blob:null/35cb8297-c9f4-4f80-8f5a-4cbbb61067a3:11:1
Slm@blob:null/35cb8297-c9f4-4f80-8f5a-4cbbb61067a3:11:1
_6i@blob:null/35cb8297-c9f4-4f80-8f5a-4cbbb61067a3:7:1
vym@blob:null/35cb8297-c9f4-4f80-8f5a-4cbbb61067a3:28:1
invoke_iiiii@blob:null/9d5ecf7e-4284-4f2d-b0e7-381e01968b2e:2:357198
Pvf@blob:null/35cb8297-c9f4-4f80-8f5a-4cbbb61067a3:24:1
Bxf@blob:null/35cb8297-c9f4-4f80-8f5a-4cbbb61067a3:24:1
Jda@blob:null/35cb8297-c9f4-4f80-8f5a-4cbbb61067a3:9:1
HEa@blob:null/35cb8297-c9f4-4f80-8f5a-4cbbb61067a3:12:1
JRb@blob:null/35cb8297-c9f4-4f80-8f5a-4cbbb61067a3:10:1
BRb@blob:null/35cb8297-c9f4-4f80-8f5a-4cbbb61067a3:10:1
Osb@blob:null/35cb8297-c9f4-4f80-8f5a-4cbbb61067a3:13:1
iRb@blob:null/35cb8297-c9f4-4f80-8f5a-4cbbb61067a3:10:1
Tea@blob:null/35cb8297-c9f4-4f80-8f5a-4cbbb61067a3:9:1
rJa@blob:null/35cb8297-c9f4-4f80-8f5a-4cbbb61067a3:12:1
sFa@blob:null/35cb8297-c9f4-4f80-8f5a-4cbbb61067a3:12:1
uFa@blob:null/35cb8297-c9f4-4f80-8f5a-4cbbb61067a3:12:1
nFa@blob:null/35cb8297-c9f4-4f80-8f5a-4cbbb61067a3:12:1
UDa@blob:null/35cb8297-c9f4-4f80-8f5a-4cbbb61067a3:12:1
TDa@blob:null/35cb8297-c9f4-4f80-8f5a-4cbbb61067a3:12:1
RDa@blob:null/35cb8297-c9f4-4f80-8f5a-4cbbb61067a3:12:1
NDa@blob:null/35cb8297-c9f4-4f80-8f5a-4cbbb61067a3:12:1
bsa@blob:null/35cb8297-c9f4-4f80-8f5a-4cbbb61067a3:9:1
Pra@blob:null/35cb8297-c9f4-4f80-8f5a-4cbbb61067a3:9:1
callMain@blob:null/9d5ecf7e-4284-4f2d-b0e7-381e01968b2e:4:30591
doRun@blob:null/9d5ecf7e-4284-4f2d-b0e7-381e01968b2e:4:31294
run@blob:null/9d5ecf7e-4284-4f2d-b0e7-381e01968b2e:4:31480
runCaller@blob:null/9d5ecf7e-4284-4f2d-b0e7-381e01968b2e:4:30108
removeRunDependency@blob:null/9d5ecf7e-4284-4f2d-b0e7-381e01968b2e:2:34426
processDataJob@file:///D:/Unity/ZombieDucky_WebGL/Build/UnityLoader.js:1:3549
schedule/i.callback@file:///D:/Unity/ZombieDucky_WebGL/Build/UnityLoader.js:1:15945
If this abort() is unexpected, build with -s ASSERTIONS=1 which can give more information. (unknown)