Hello to all of you.
We are trying to upgrade our WebGL project from 2018.4.8f to the newest version of unity and we can't find the issue on why it is not working.
The error is:
> An error occurred running the Unity> content on this page. See your browser> JavaScript console for more info. The> error was: TypeError:> Module.gameInstance is undefined
And here is the log in the console window:
Input Manager initialize...
cc6cca14-8095-4af1-9847-05f7c5407b48:8:50946
exception thrown: TypeError: Module.gameInstance is undefined,_Wake@blob:http://localhost:49282/cc6cca14-8095-4af1-9847-05f7c5407b48:8:67908
@blob:http://localhost:49282/cc6cca14-8095-4af1-9847-05f7c5407b48 line 8 > WebAssembly.instantiate:wasm-function[30565]:0xcf604e
@blob:http://localhost:49282/cc6cca14-8095-4af1-9847-05f7c5407b48 line 8 > WebAssembly.instantiate:wasm-function[27704]:0xc7d1fb
@blob:http://localhost:49282/cc6cca14-8095-4af1-9847-05f7c5407b48 line 8 > WebAssembly.instantiate:wasm-function[75198]:0x180d8f7
UnityModule/Module.dynCall_iiiii@blob:http://localhost:49282/cc6cca14-8095-4af1-9847-05f7c5407b48:8:507438
invoke_iiiii@blob:http://localhost:49282/cc6cca14-8095-4af1-9847-05f7c5407b48:8:362282
@blob:http://localhost:49282/cc6cca14-8095-4af1-9847-05f7c5407b48 line 8 > WebAssembly.instantiate:wasm-function[73223]:0x17b49a1
@blob:http://localhost:49282/cc6cca14-8095-4af1-9847-05f7c5407b48 line 8 > WebAssembly.instantiate:wasm-function[72534]:0x17930ae
@blob:http://localhost:49282/cc6cca14-8095-4af1-9847-05f7c5407b48 line 8 > WebAssembly.instantiate:wasm-function[5214]:0x24454e
@blob:http://localhost:49282/cc6cca14-8095-4af1-9847-05f7c5407b48 line 8 > WebAssembly.instantiate:wasm-function[5213]:0x244477
@blob:http://localhost:49282/cc6cca14-8095-4af1-9847-05f7c5407b48 line 8 > WebAssembly.instantiate:wasm-function[8860]:0x382a80
@blob:http://localhost:49282/cc6cca14-8095-4af1-9847-05f7c5407b48 line 8 > WebAssembly.instantiate:wasm-function[8857]:0x3818a2
@blob:http://localhost:49282/cc6cca14-8095-4af1-9847-05f7c5407b48 line 8 > WebAssembly.instantiate:wasm-function[11326]:0x48b52e
@blob:http://localhost:49282/cc6cca14-8095-4af1-9847-05f7c5407b48 line 8 > WebAssembly.instantiate:wasm-function[9170]:0x3a826c
@blob:http://localhost:49282/cc6cca14-8095-4af1-9847-05f7c5407b48 line 8 > WebAssembly.instantiate:wasm-function[11711]:0x4b77ef
@blob:http://localhost:49282/cc6cca14-8095-4af1-9847-05f7c5407b48 line 8 > WebAssembly.instantiate:wasm-function[11422]:0x494ad6
@blob:http://localhost:49282/cc6cca14-8095-4af1-9847-05f7c5407b48 line 8 > WebAssembly.instantiate:wasm-function[11422]:0x494aeb
@blob:http://localhost:49282/cc6cca14-8095-4af1-9847-05f7c5407b48 line 8 > WebAssembly.instantiate:wasm-function[11417]:0x4945f4
@blob:http://localhost:49282/cc6cca14-8095-4af1-9847-05f7c5407b48 line 8 > WebAssembly.instantiate:wasm-function[11410]:0x49261a
@blob:http://localhost:49282/cc6cca14-8095-4af1-9847-05f7c5407b48 line 8 > WebAssembly.instantiate:wasm-function[75215]:0x180db85
UnityModule/Module.dynCall_v@blob:http://localhost:49282/cc6cca14-8095-4af1-9847-05f7c5407b48:8:517817
browserIterationFunc@blob:http://localhost:49282/cc6cca14-8095-4af1-9847-05f7c5407b48:8:191569
runIter@blob:http://localhost:49282/cc6cca14-8095-4af1-9847-05f7c5407b48:8:194642
Browser_mainLoop_runner@blob:http://localhost:49282/cc6cca14-8095-4af1-9847-05f7c5407b48:8:193104
UnityLoader.js:4:11216
printErr http://localhost:49282/Build/UnityLoader.js:4
runIter blob:http://localhost:49282/cc6cca14-8095-4af1-9847-05f7c5407b48:8
Browser_mainLoop_runner blob:http://localhost:49282/cc6cca14-8095-4af1-9847-05f7c5407b48:8
Invoking error handler due to
TypeError: Module.gameInstance is undefined
This error comes up in every 2019 version of our project.
Any idea of what we might be missing here?
Thank you in advance
↧