编译时报错。
错误1:
VM477 WAGame.js:1 SyntaxError: Unexpected token 'export'(env: Windows,mg,1.05.2204264; lib: 3.2.5)
errorReport @ VM477 WAGame.js:1
thirdErrorReport @ VM477 WAGame.js:1
(anonymous) @ VM477 WAGame.js:1
a @ VM490 WAGameSubContext.js:1
(anonymous) @ VM490 WAGameSubContext.js:1
_privEmit @ VM490 WAGameSubContext.js:1
emit @ VM490 WAGameSubContext.js:1
(anonymous) @ VM490 WAGameSubContext.js:1
o @ VM490 WAGameSubContext.js:1
Le @ VM490 WAGameSubContext.js:1
Re @ VM490 WAGameSubContext.js:1
te @ VM490 WAGameSubContext.js:1
(anonymous) @ VM490 WAGameSubContext.js:1
error (async)
(anonymous) @ VM490 WAGameSubContext.js:1
(anonymous) @ VM490 WAGameSubContext.js:1
(anonymous) @ VM490 WAGameSubContext.js:1
(anonymous) @ VM490 WAGameSubContext.js:1
(anonymous) @ VM490 WAGameSubContext.js:1
错误2:
VM490 WAGameSubContext.js:1 Unhandled promise rejection ReferenceError: BigInt is not defined
at dotnet.runtime.8.0.0.gmldl7rybh.js:3
at VM490 WAGameSubContext.js:1
at Object.runWith (VM490 WAGameSubContext.js:1)
at P (VM490 WAGameSubContext.js:1)
at n (VM490 WAGameSubContext.js:1)
at webgl.wasm.framework.unityweb.js:4
at q (VM490 WAGameSubContext.js:1)
at VM490 WAGameSubContext.js:1
at C (VM490 WAGameSubContext.js:1)(env: Windows,mg,1.05.2204264; lib: 3.2.5)