Hi all,
I read that Netcode for GameObjects can work with a community WebGL transport, but if I just so much as create an empty project and install com.unity.netcode.gameobjects
and [https://github.com/Unity-Technologies/multiplayer-community-contributions.git?path=/Transports/com.community.netcode.transport.](https://github.com/Unity-Technologies/multiplayer-community-contributions.git?path=/Transports/com.community.netcode.transport.enet)websocket
and create a WebGL build, when I load the page I get the following errors in the console:
webgltestweb.loader.js:70 exception thrown: RuntimeError: null function or function signature mismatch,RuntimeError: null function or function signature mismatch
at il2cpp::vm::MetadataCache::ExecuteModuleInitializers() (http://localhost:8080/Build/webgltestweb.wasm:wasm-function[1538]:0x95ac9)
at dynCall_v (http://localhost:8080/Build/webgltestweb.wasm:wasm-function[63100]:0x151f793)
at http://localhost:8080/Build/webgltestweb.framework.js:1035:20
at invoke_v (http://localhost:8080/Build/webgltestweb.framework.js:14214:3)
at main (http://localhost:8080/Build/webgltestweb.wasm:wasm-function[59363]:0x135822d)
at http://localhost:8080/Build/webgltestweb.framework.js:1035:20
at callMain (http://localhost:8080/Build/webgltestweb.framework.js:17645:13)
at doRun (http://localhost:8080/Build/webgltestweb.framework.js:17688:21)
at run (http://localhost:8080/Build/webgltestweb.framework.js:17700:3)
at runCaller (http://localhost:8080/Build/webgltestweb.framework.js:17628:18)
at Object.removeRunDependency (http://localhost:8080/Build/webgltestweb.framework.js:990:4)
at http://localhost:8080/Build/webgltestweb.framework.js:60:12
at doCallback (http://localhost:8080/Build/webgltestweb.framework.js:4558:11)
at done (http://localhost:8080/Build/webgltestweb.framework.js:4569:5)
at IDBTransaction.transaction.oncomplete (http://localhost:8080/Build/webgltestweb.framework.js:3925:5)
printErr @ webgltestweb.loader.js:70
webgltestweb.framework.js:181 Uncaught RuntimeError: null function or function signature mismatch
at il2cpp::vm::MetadataCache::ExecuteModuleInitializers() (:8080/Build/webgltestweb.wasm)
at dynCall_v (:8080/Build/webgltestweb.wasm)
at :8080/Build/webgltestweb.framework.js:1035:20
at invoke_v (:8080/Build/webgltestweb.framework.js:14214:3)
at main (:8080/Build/webgltestweb.wasm)
at :8080/Build/webgltestweb.framework.js:1035:20
at callMain (:8080/Build/webgltestweb.framework.js:17645:13)
at doRun (:8080/Build/webgltestweb.framework.js:17688:21)
at run (:8080/Build/webgltestweb.framework.js:17700:3)
at runCaller (:8080/Build/webgltestweb.framework.js:17628:18)
at Object.removeRunDependency (:8080/Build/webgltestweb.framework.js:990:4)
at :8080/Build/webgltestweb.framework.js:60:12
at doCallback (:8080/Build/webgltestweb.framework.js:4558:11)
at done (:8080/Build/webgltestweb.framework.js:4569:5)
at IDBTransaction.transaction.oncomplete (:8080/Build/webgltestweb.framework.js:3925:5)
$il2cpp::vm::MetadataCache::ExecuteModuleInitializers() @ webgltestweb.wasm:0x95ac9
$dynCall_v @ webgltestweb.wasm:0x151f793
(anonymous) @ webgltestweb.framework.js:1035
invoke_v @ webgltestweb.framework.js:14214
$main @ webgltestweb.wasm:0x135822d
(anonymous) @ webgltestweb.framework.js:1035
callMain @ webgltestweb.framework.js:17645
doRun @ webgltestweb.framework.js:17688
run @ webgltestweb.framework.js:17700
runCaller @ webgltestweb.framework.js:17628
removeRunDependency @ webgltestweb.framework.js:990
(anonymous) @ webgltestweb.framework.js:60
doCallback @ webgltestweb.framework.js:4558
done @ webgltestweb.framework.js:4569
transaction.oncomplete @ webgltestweb.framework.js:3925
webgltestweb.wasm:0x1464e31 Uncaught RuntimeError: memory access out of bounds
at OrientationChangeHandler(int, int, int) (webgltestweb.wasm:0x1464e31)
at dynCall_viii (webgltestweb.wasm:0x151f7e1)
at webgltestweb.framework.js:1035:20
at JS_ScreenOrientation_eventHandler (webgltestweb.framework.js:1882:37)
$OrientationChangeHandler(int, int, int) @ webgltestweb.wasm:0x1464e31
$dynCall_viii @ webgltestweb.wasm:0x151f7e1
(anonymous) @ webgltestweb.framework.js:1035
JS_ScreenOrientation_eventHandler @ webgltestweb.framework.js:1882
setTimeout (async)
_JS_ScreenOrientation_Init @ webgltestweb.framework.js:1900
$main @ webgltestweb.wasm:0x1350129
(anonymous) @ webgltestweb.framework.js:1035
callMain @ webgltestweb.framework.js:17645
doRun @ webgltestweb.framework.js:17688
run @ webgltestweb.framework.js:17700
runCaller @ webgltestweb.framework.js:17628
removeRunDependency @ webgltestweb.framework.js:990
(anonymous) @ webgltestweb.framework.js:60
doCallback @ webgltestweb.framework.js:4558
done @ webgltestweb.framework.js:4569
transaction.oncomplete @ webgltestweb.framework.js:3925
webgltestweb.wasm:0x1464e31 Uncaught RuntimeError: memory access out of bounds
at OrientationChangeHandler(int, int, int) (webgltestweb.wasm:0x1464e31)
at dynCall_viii (webgltestweb.wasm:0x151f7e1)
at webgltestweb.framework.js:1035:20
at JS_ScreenOrientation_eventHandler (webgltestweb.framework.js:1882:37)
I’ve tried this with both 2021 and 2020 and can’t get it to work, any ideas?