- Home /
Question by
MCiVillondo · Nov 29, 2021 at 02:28 PM ·
webglruntime-error
WebGL Error. Runtime error: float unpresentable in integer range
Building a WebGL game with 3D movement through WASD and Mouse. Cannot instantiate or cannot move player (either wasd or through mouser) to next scene because of this error. Already added this in the html file and unity start method:
Unity script:
#if !UNITY_EDITOR && UNITY_WEBGL
WebGLInput.captureAllKeyboardInput = false;
#endif
HTML:
var recaptureInputAndFocus = function() {
if(canvas) {
canvas.setAttribute("tabindex", "1");
canvas.focus();
} else
setTimeout(recaptureInputAndFocus, 100);
}
Error: Build_202111291040.framework.js.gz:2
Uncaught RuntimeError: float unrepresentable in integer range
at Build_202111291040.wasm.gz:0xff1ac4
at Build_202111291040.wasm.gz:0x15c1d9f
at Build_202111291040.wasm.gz:0xca8058
at Build_202111291040.wasm.gz:0xf8665d
at Build_202111291040.wasm.gz:0xf8608f
at Build_202111291040.wasm.gz:0xcc186a
at Build_202111291040.wasm.gz:0xf86004
at Build_202111291040.wasm.gz:0xca8058
at Build_202111291040.wasm.gz:0x16081ad
at Object.dynCall_viiii (Build_202111291040.framework.js.gz:2)
at invoke_viiii (Build_202111291040.framework.js.gz:2)
at Build_202111291040.wasm.gz:0xf77558
at Build_202111291040.wasm.gz:0xd62ce6
at Build_202111291040.wasm.gz:0x1517a0b
at Build_202111291040.wasm.gz:0xca121b
at Build_202111291040.wasm.gz:0x1607ba5
at Object.dynCall_iiiii (Build_202111291040.framework.js.gz:2)
at invoke_iiiii (Build_202111291040.framework.js.gz:2)
at Build_202111291040.wasm.gz:0x15713d2
at Build_202111291040.wasm.gz:0x154fb13
at Build_202111291040.wasm.gz:0x1cbe24
at Build_202111291040.wasm.gz:0x1cbaf4
at Build_202111291040.wasm.gz:0xbff955
at Build_202111291040.wasm.gz:0xbff8c1
at Build_202111291040.wasm.gz:0x430270
at Build_202111291040.wasm.gz:0x40ac5f
at Build_202111291040.wasm.gz:0x40ac74
at Build_202111291040.wasm.gz:0x40a7f9
at Build_202111291040.wasm.gz:0x408ba3
at Build_202111291040.wasm.gz:0x1608046
at Object.dynCall_v (Build_202111291040.framework.js.gz:2)
at browserIterationFunc (Build_202111291040.framework.js.gz:2)
at Object.runIter (Build_202111291040.framework.js.gz:2)
at Browser_mainLoop_runner (Build_202111291040.framework.js.gz:2)
$func43655 @ Build_202111291040.wasm.gz:0xff1ac4
$func69467 @ Build_202111291040.wasm.gz:0x15c1d9f
$func28751 @ Build_202111291040.wasm.gz:0xca8058
$func41589 @ Build_202111291040.wasm.gz:0xf8665d
$func41587 @ Build_202111291040.wasm.gz:0xf8608f
$func29206 @ Build_202111291040.wasm.gz:0xcc186a
$func41585 @ Build_202111291040.wasm.gz:0xf86004
$func28751 @ Build_202111291040.wasm.gz:0xca8058
$dynCall_viiii @ Build_202111291040.wasm.gz:0x16081ad
(anonymous) @ Build_202111291040.framework.js.gz:2
invoke_viiii @ Build_202111291040.framework.js.gz:2
$func41329 @ Build_202111291040.wasm.gz:0xf77558
$func32673 @ Build_202111291040.wasm.gz:0xd62ce6
$func65815 @ Build_202111291040.wasm.gz:0x1517a0b
$func28479 @ Build_202111291040.wasm.gz:0xca121b
$dynCall_iiiii @ Build_202111291040.wasm.gz:0x1607ba5
(anonymous) @ Build_202111291040.framework.js.gz:2
invoke_iiiii @ Build_202111291040.framework.js.gz:2
$func67627 @ Build_202111291040.wasm.gz:0x15713d2
$func66902 @ Build_202111291040.wasm.gz:0x154fb13
$func4738 @ Build_202111291040.wasm.gz:0x1cbe24
$func4736 @ Build_202111291040.wasm.gz:0x1cbaf4
$func24651 @ Build_202111291040.wasm.gz:0xbff955
$func24650 @ Build_202111291040.wasm.gz:0xbff8c1
$func11331 @ Build_202111291040.wasm.gz:0x430270
$func11032 @ Build_202111291040.wasm.gz:0x40ac5f
$func11032 @ Build_202111291040.wasm.gz:0x40ac74
$func11027 @ Build_202111291040.wasm.gz:0x40a7f9
$func11020 @ Build_202111291040.wasm.gz:0x408ba3
$dynCall_v @ Build_202111291040.wasm.gz:0x1608046
(anonymous) @ Build_202111291040.framework.js.gz:2
browserIterationFunc @ Build_202111291040.framework.js.gz:2
runIter @ Build_202111291040.framework.js.gz:2
Browser_mainLoop_runner @ Build_202111291040.framework.js.gz:2
requestAnimationFrame (async)
requestAnimationFrame @ Build_202111291040.framework.js.gz:2
Browser_mainLoop_scheduler_rAF @ Build_202111291040.framework.js.gz:2
Browser_mainLoop_runner @ Build_202111291040.framework.js.gz:2
requestAnimationFrame (async)
requestAnimationFrame @ Build_202111291040.framework.js.gz:2
Browser_mainLoop_scheduler_rAF @ Build_202111291040.framework.js.gz:2
Browser_mainLoop_runner @ Build_202111291040.framework.js.gz:2
requestAnimationFrame (async)
requestAnimationFrame @ Build_202111291040.framework.js.gz:2
Browser_mainLoop_scheduler_rAF @ Build_202111291040.framework.js.gz:2
Browser_mainLoop_runner @ Build_202111291040.framework.js.gz:2
requestAnimationFrame (async)
requestAnimationFrame @ Build_202111291040.framework.js.gz:2
Browser_mainLoop_scheduler_rAF @ Build_202111291040.framework.js.gz:2
Browser_mainLoop_runner @ Build_202111291040.framework.js.gz:2
requestAnimationFrame (async)
requestAnimationFrame @ Build_202111291040.framework.js.gz:2
Browser_mainLoop_scheduler_rAF @ Build_202111291040.framework.js.gz:2
Browser_mainLoop_runner @ Build_202111291040.framework.js.gz:2
requestAnimationFrame (async)
requestAnimationFrame @ Build_202111291040.framework.js.gz:2
Browser_mainLoop_scheduler_rAF @ Build_202111291040.framework.js.gz:2
Browser_mainLoop_runner @ Build_202111291040.framework.js.gz:2
requestAnimationFrame (async)
requestAnimationFrame @ Build_202111291040.framework.js.gz:2
Browser_mainLoop_scheduler_rAF @ Build_202111291040.framework.js.gz:2
Browser_mainLoop_runner @ Build_202111291040.framework.js.gz:2
requestAnimationFrame (async)
requestAnimationFrame @ Build_202111291040.framework.js.gz:2
Browser_mainLoop_scheduler_rAF @ Build_202111291040.framework.js.gz:2
Browser_mainLoop_runner @ Build_202111291040.framework.js.gz:2
requestAnimationFrame (async)
requestAnimationFrame @ Build_202111291040.framework.js.gz:2
Browser_mainLoop_scheduler_rAF @ Build_202111291040.framework.js.gz:2
Browser_mainLoop_runner @ Build_202111291040.framework.js.gz:2
requestAnimationFrame (async)
requestAnimationFrame @ Build_202111291040.framework.js.gz:2
Browser_mainLoop_scheduler_rAF @ Build_202111291040.framework.js.gz:2
Browser_mainLoop_runner @ Build_202111291040.framework.js.gz:2
requestAnimationFrame (async)
requestAnimationFrame @ Build_202111291040.framework.js.gz:2
Browser_mainLoop_scheduler_rAF @ Build_202111291040.framework.js.gz:2
Browser_mainLoop_runner @ Build_202111291040.framework.js.gz:2
requestAnimationFrame (async)
requestAnimationFrame @ Build_202111291040.framework.js.gz:2
Browser_mainLoop_scheduler_rAF @ Build_202111291040.framework.js.gz:2
Browser_mainLoop_runner @ Build_202111291040.framework.js.gz:2
requestAnimationFrame (async)
requestAnimationFrame @ Build_202111291040.framework.js.gz:2
Browser_mainLoop_scheduler_rAF @ Build_202111291040.framework.js.gz:2
Browser_mainLoop_runner @ Build_202111291040.framework.js.gz:2
requestAnimationFrame (async)
requestAnimationFrame @ Build_202111291040.framework.js.gz:2
Browser_mainLoop_scheduler_rAF @ Build_202111291040.framework.js.gz:2
Browser_mainLoop_runner @ Build_202111291040.framework.js.gz:2
requestAnimationFrame (async)
requestAnimationFrame @ Build_202111291040.framework.js.gz:2
Browser_mainLoop_scheduler_rAF @ Build_202111291040.framework.js.gz:2
Browser_mainLoop_runner @ Build_202111291040.framework.js.gz:2
requestAnimationFrame (async)
requestAnimationFrame @ Build_202111291040.framework.js.gz:2
Browser_mainLoop_scheduler_rAF @ Build_202111291040.framework.js.gz:2
Browser_mainLoop_runner @ Build_202111291040.framework.js.gz:2
requestAnimationFrame (async)
requestAnimationFrame @ Build_202111291040.framework.js.gz:2
Browser_mainLoop_scheduler_rAF @ Build_202111291040.framework.js.gz:2
Browser_mainLoop_runner @ Build_202111291040.framework.js.gz:2
requestAnimationFrame (async)
requestAnimationFrame @ Build_202111291040.framework.js.gz:2
Browser_mainLoop_scheduler_rAF @ Build_202111291040.framework.js.gz:2
Browser_mainLoop_runner @ Build_202111291040.framework.js.gz:2
requestAnimationFrame (async)
requestAnimationFrame @ Build_202111291040.framework.js.gz:2
Browser_mainLoop_scheduler_rAF @ Build_202111291040.framework.js.gz:2
Browser_mainLoop_runner @ Build_202111291040.framework.js.gz:2
requestAnimationFrame (async)
requestAnimationFrame @ Build_202111291040.framework.js.gz:2
Browser_mainLoop_scheduler_rAF @ Build_202111291040.framework.js.gz:2
Browser_mainLoop_runner @ Build_202111291040.framework.js.gz:2
requestAnimationFrame (async)
requestAnimationFrame @ Build_202111291040.framework.js.gz:2
Browser_mainLoop_scheduler_rAF @ Build_202111291040.framework.js.gz:2
Browser_mainLoop_runner @ Build_202111291040.framework.js.gz:2
requestAnimationFrame (async)
requestAnimationFrame @ Build_202111291040.framework.js.gz:2
Browser_mainLoop_scheduler_rAF @ Build_202111291040.framework.js.gz:2
Browser_mainLoop_runner @ Build_202111291040.framework.js.gz:2
requestAnimationFrame (async)
requestAnimationFrame @ Build_202111291040.framework.js.gz:2
Browser_mainLoop_scheduler_rAF @ Build_202111291040.framework.js.gz:2
Browser_mainLoop_runner @ Build_202111291040.framework.js.gz:2
requestAnimationFrame (async)
requestAnimationFrame @ Build_202111291040.framework.js.gz:2
Browser_mainLoop_scheduler_rAF @ Build_202111291040.framework.js.gz:2
Browser_mainLoop_runner @ Build_202111291040.framework.js.gz:2
requestAnimationFrame (async)
requestAnimationFrame @ Build_202111291040.framework.js.gz:2
Browser_mainLoop_scheduler_rAF @ Build_202111291040.framework.js.gz:2
Browser_mainLoop_runner @ Build_202111291040.framework.js.gz:2
requestAnimationFrame (async)
requestAnimationFrame @ Build_202111291040.framework.js.gz:2
Browser_mainLoop_scheduler_rAF @ Build_202111291040.framework.js.gz:2
Browser_mainLoop_runner @ Build_202111291040.framework.js.gz:2
requestAnimationFrame (async)
requestAnimationFrame @ Build_202111291040.framework.js.gz:2
Browser_mainLoop_scheduler_rAF @ Build_202111291040.framework.js.gz:2
Browser_mainLoop_runner @ Build_202111291040.framework.js.gz:2
requestAnimationFrame (async)
requestAnimationFrame @ Build_202111291040.framework.js.gz:2
Browser_mainLoop_scheduler_rAF @ Build_202111291040.framework.js.gz:2
Browser_mainLoop_runner @ Build_202111291040.framework.js.gz:2
requestAnimationFrame (async)
requestAnimationFrame @ Build_202111291040.framework.js.gz:2
Browser_mainLoop_scheduler_rAF @ Build_202111291040.framework.js.gz:2
Browser_mainLoop_runner @ Build_202111291040.framework.js.gz:2
requestAnimationFrame (async)
requestAnimationFrame @ Build_202111291040.framework.js.gz:2
Browser_mainLoop_scheduler_rAF @ Build_202111291040.framework.js.gz:2
Browser_mainLoop_runner @ Build_202111291040.framework.js.gz:2
requestAnimationFrame (async)
requestAnimationFrame @ Build_202111291040.framework.js.gz:2
Browser_mainLoop_scheduler_rAF @ Build_202111291040.framework.js.gz:2
Browser_mainLoop_runner @ Build_202111291040.framework.js.gz:2
requestAnimationFrame (async)
requestAnimationFrame @ Build_202111291040.framework.js.gz:2
Browser_mainLoop_scheduler_rAF @ Build_202111291040.framework.js.gz:2
Browser_mainLoop_runner @ Build_202111291040.framework.js.gz:2
Show 4 more frames
Comment
Still new to unity. Any help will be greatly appreciated