Photon Javascript with Unity Tiny Mode
I tried to integrate Photon Javascript with Unity Tiny Mode, but got an assertion error:
Uncaught abort("Assertion failed: you need to wait for the runtime to be ready (e.g. wait for main() to be called)") at Error
at jsStackTrace (http://localhost:19050/~project/TinyExport/LuckySicBo/html5/debug/artifacts/scripts/tsc-emit.js:1318:15)
at stackTrace (http://localhost:19050/~project/TinyExport/LuckySicBo/html5/debug/artifacts/scripts/tsc-emit.js:1335:14)
at abort (http://localhost:19050/~project/TinyExport/LuckySicBo/html5/debug/artifacts/scripts/tsc-emit.js:182438:46)
at assert (http://localhost:19050/~project/TinyExport/LuckySicBo/html5/debug/artifacts/scripts/tsc-emit.js:607:9)
at Object.asm._malloc (http://localhost:19050/~project/TinyExport/LuckySicBo/html5/debug/artifacts/scripts/tsc-emit.js:181930:5)
at Object.init (http://localhost:19050/runtime.js:32:30)
at Object.ut.initTempHeap (http://localhost:19050/runtime.js:106:23)
at Object.html.main (http://localhost:19050/runtime.js:179746:8)
at http://localhost:19050/:15:64
Uncaught abort("Assertion failed: you need to wait for the runtime to be ready (e.g. wait for main() to be called)") at Error
at jsStackTrace (http://localhost:19050/~project/TinyExport/LuckySicBo/html5/debug/artifacts/scripts/tsc-emit.js:1318:15)
at stackTrace (http://localhost:19050/~project/TinyExport/LuckySicBo/html5/debug/artifacts/scripts/tsc-emit.js:1335:14)
at abort (http://localhost:19050/~project/TinyExport/LuckySicBo/html5/debug/artifacts/scripts/tsc-emit.js:182438:46)
at assert (http://localhost:19050/~project/TinyExport/LuckySicBo/html5/debug/artifacts/scripts/tsc-emit.js:607:9)
at Object.asm._malloc (http://localhost:19050/~project/TinyExport/LuckySicBo/html5/debug/artifacts/scripts/tsc-emit.js:181930:5)
at Object.init (http://localhost:19050/runtime.js:32:30)
at Object.ut.initTempHeap (http://localhost:19050/runtime.js:106:23)
at Object.html.main (http://localhost:19050/runtime.js:179746:8)
at http://localhost:19050/:15:64
0
Comments
-
Hi @leothenerd,
Thank you for choosing Photon!
Photon does not support Unity Project Tiny as it's still in preview and not officially released as far as I know.
However, I suggest you send an email to developer@photonengine.com and talk about your project and this issue.0 -
Ok thanks I will check with them!JohnTube said:Hi @leothenerd,
Thank you for choosing Photon!
Photon does not support Unity Project Tiny as it's still in preview and not officially released as far as I know.
However, I suggest you send an email to developer@photonengine.com and talk about your project and this issue.0