Skip to content

[High Priority Bug]: Crash when travelling between worlds when Async Loading Thread is on.  #13

@ImmersedYifan

Description

@ImmersedYifan

Contact Details

yifan@immersedgames.com

What happened?

The crash only happens when traveling to 2 specific maps on builds that have "Async Loading Thread" toggled on in project setting.
Doesn't matter which map the player was in before.

Version

1.0.2 (Default)

What browsers are you seeing the problem on?

Chrome

Relevant log output

1215304105.worker.js:1 worker.js onmessage() captured an uncaught exception: TypeError: Cannot read properties of undefined (reading 'createBuffer')
self.onmessage @ 1215304105.worker.js:1
1215304105.worker.js:1 TypeError: Cannot read properties of undefined (reading 'createBuffer')
at __glGenObject (1921193811.js:1:265310)
at _glGenBuffers (1921193811.js:1:265518)
at 2260645861.wasm:0x1119517
at 2260645861.wasm:0x10f652c
at 2260645861.wasm:0x111942e
at 2260645861.wasm:0x111f3af
at 2260645861.wasm:0x1f252c4
at 2260645861.wasm:0x1f253fa
at 2260645861.wasm:0x11871cc
at 2260645861.wasm:0x11872ed
self.onmessage @ 1215304105.worker.js:1
1569031543.html:1 worker sent an error! https://dev.theimmersiveweb.com/fetchbin/1215304105.worker.js:1: Uncaught TypeError: Cannot read properties of undefined (reading 'createBuffer')
printErr @ 1569031543.html:1
worker.onerror @ 1921193811.js:1
1569031543.html:1 Uncaught [object ErrorEvent] https://dev.theimmersiveweb.com/fetchbin/1921193811.js 1
window.onerror @ 1569031543.html:1
1921193811.js:1 Uncaught ErrorEvent {isTrusted: true, message: "Uncaught TypeError: Cannot read properties of undefined (reading 'createBuffer')", filename: 'https://dev.theimmersiveweb.com/fetchbin/1215304105.worker.js', lineno: 1, colno: 2343, …}
worker.onerror @ 1921193811.js:1
1569031543.html:1 Uncaught TypeError: Cannot read properties of undefined (reading 'createBuffer') https://dev.theimmersiveweb.com/fetchbin/1215304105.worker.js 1
window.onerror @ 1569031543.html:1
1215304105.worker.js:1 Uncaught TypeError: Cannot read properties of undefined (reading 'createBuffer')
at __glGenObject (1921193811.js:1:265310)
at _glGenBuffers (1921193811.js:1:265518)
at 2260645861.wasm:0x1119517
at 2260645861.wasm:0x10f652c
at 2260645861.wasm:0x111942e
at 2260645861.wasm:0x111f3af
at 2260645861.wasm:0x1f252c4
at 2260645861.wasm:0x1f253fa
at 2260645861.wasm:0x11871cc
at 2260645861.wasm:0x11872ed
__glGenObject @ 1921193811.js:1
_glGenBuffers @ 1921193811.js:1
$func58672 @ 2260645861.wasm:0x1119517
$func58273 @ 2260645861.wasm:0x10f652c
$func58670 @ 2260645861.wasm:0x111942e
$func58741 @ 2260645861.wasm:0x111f3af
$func119026 @ 2260645861.wasm:0x1f252c4
$func119028 @ 2260645861.wasm:0x1f253fa
$func60570 @ 2260645861.wasm:0x11871cc
$func60573 @ 2260645861.wasm:0x11872ed
$func60109 @ 2260645861.wasm:0x116f010
$func110613 @ 2260645861.wasm:0x1c512ba
$func110555 @ 2260645861.wasm:0x1c48781
$func42687 @ 2260645861.wasm:0xda0104
$func4401 @ 2260645861.wasm:0x4f132d
$func39708 @ 2260645861.wasm:0xcf8ea3
$func39727 @ 2260645861.wasm:0xcfa914
$func36870 @ 2260645861.wasm:0xc5ea77
$dynCall_ii @ 2260645861.wasm:0x29eeeaf
Module.dynCall_ii @ 1921193811.js:1
(anonymous) @ 1921193811.js:1
invokeEntryPoint @ 1921193811.js:1
self.onmessage @ 1215304105.worker.js:1
1569031543.html:1 Uncaught unwind https://dev.theimmersiveweb.com/fetchbin/1921193811.js 1
window.onerror @ 1569031543.html:1
1921193811.js:1 Uncaught unwind
emscripten_unwind_to_js_event_loop @ 1921193811.js:1
$func166985 @ 2260645861.wasm:0x29cd203
$func167083 @ 2260645861.wasm:0x29d1638
$func167084 @ 2260645861.wasm:0x29d16b2
$func167103 @ 2260645861.wasm:0x29d2283
$emscripten_current_thread_process_queued_calls @ 2260645861.wasm:0x29cf2b6
$emscripten_main_thread_process_queued_calls @ 2260645861.wasm:0x29cfd64
$func167083 @ 2260645861.wasm:0x29d160e
$func167084 @ 2260645861.wasm:0x29d16b2
$func167103 @ 2260645861.wasm:0x29d2283
$func167046 @ 2260645861.wasm:0x29cf3d1
$emscripten_dispatch_to_thread
@ 2260645861.wasm:0x29cff61
$func43984 @ 2260645861.wasm:0xdd67fa
$dynCall_iiii @ 2260645861.wasm:0x29eeea5
(anonymous) @ 1921193811.js:1
mouseEventHandlerFunc @ 1921193811.js:1
jsEventHandler @ 1921193811.js:1

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions