Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not export to WebGL #201

Open
microfisher opened this issue Jul 31, 2022 · 0 comments
Open

Can not export to WebGL #201

microfisher opened this issue Jul 31, 2022 · 0 comments

Comments

@microfisher
Copy link

microfisher commented Jul 31, 2022

hi , i try to export the colyseus-unity-sdk to a webgl , when i create a room, there are always show a javascript error like this, i use the unity 2022.1.5f and did not change any code. thanks for your job:

Input Manager initialize...

6376c547-29e6-4f7b-9c35-8e41e68452bd:3 UnloadTime: 0.500000 ms

6376c547-29e6-4f7b-9c35-8e41e68452bd:3 <b><color=olive>Requesting from URL:</color></b>  http://localhost:2567/matchmake/my_room

86376c547-29e6-4f7b-9c35-8e41e68452bd:3 <b><color=olive>Requesting from URL:</color></b>  http://localhost:2567/matchmake/my_room

6376c547-29e6-4f7b-9c35-8e41e68452bd:3 <i><b><color=orange>Creating Room qwe</color></b></i>

6376c547-29e6-4f7b-9c35-8e41e68452bd:3 <b><color=olive>Requesting from URL:</color></b>  http://localhost:2567/matchmake/create/my_room

6376c547-29e6-4f7b-9c35-8e41e68452bd:3 <b><color=olive>Server Response:</color></b>  {"room":{"clients":1,"createdAt":"2022-07-31T02:41:43.461Z","maxClients":25,"name":"my_room","processId":"ud_VjN880","roomId":"fque322a5"},"sessionId":"ZRNFvLvAf"}

6376c547-29e6-4f7b-9c35-8e41e68452bd:3 <i><b><color=orange>Created Room:</color>  fque322a5</b></i>

6376c547-29e6-4f7b-9c35-8e41e68452bd:3 <i><b><color=orange>sessionId:</color>  ZRNFvLvAf</b></i>

6376c547-29e6-4f7b-9c35-8e41e68452bd:3 <i><b><color=orange>user [4 | ZRNFvLvAf | key ZRNFvLvAf] Joined</color></b></i>

Game.loader.js:1 Invoking error handler due to
abort() at Error
    at jsStackTrace (blob:http://localhost:3000/6376c547-29e6-4f7b-9c35-8e41e68452bd:3:20115)
    at stackTrace (blob:http://localhost:3000/6376c547-29e6-4f7b-9c35-8e41e68452bd:3:20397)
    at abort (blob:http://localhost:3000/6376c547-29e6-4f7b-9c35-8e41e68452bd:3:1490)
    at ___cxa_allocate_exception (blob:http://localhost:3000/6376c547-29e6-4f7b-9c35-8e41e68452bd:3:70708)
    at wasm://wasm/04980ed6:wasm-function[756]:0x524dc
    at wasm://wasm/04980ed6:wasm-function[446]:0x473d2
    at wasm://wasm/04980ed6:wasm-function[28887]:0x8c67a9
    at wasm://wasm/04980ed6:wasm-function[6382]:0x1c61e5
    at wasm://wasm/04980ed6:wasm-function[58410]:0xf01b46
    at wasm://wasm/04980ed6:wasm-function[1409]:0x765d3
    at wasm://wasm/04980ed6:wasm-function[33744]:0x9b359e
    at invoke_iiiii (blob:http://localhost:3000/6376c547-29e6-4f7b-9c35-8e41e68452bd:3:360116)
    at wasm://wasm/04980ed6:wasm-function[8557]:0x26b5db
    at wasm://wasm/04980ed6:wasm-function[58410]:0xf01ae8
    at wasm://wasm/04980ed6:wasm-function[1409]:0x765d3
    at wasm://wasm/04980ed6:wasm-function[6386]:0x1c702a
    at wasm://wasm/04980ed6:wasm-function[28904]:0x8c82ec
    at wasm://wasm/04980ed6:wasm-function[33747]:0x9b3610
    at invoke_iiii (blob:http://localhost:3000/6376c547-29e6-4f7b-9c35-8e41e68452bd:3:360292)
    at wasm://wasm/04980ed6:wasm-function[24240]:0x7a2e82
    at wasm://wasm/04980ed6:wasm-function[24237]:0x7a1080
    at wasm://wasm/04980ed6:wasm-function[33749]:0x9b3628
    at invoke_vii (blob:http://localhost:3000/6376c547-29e6-4f7b-9c35-8e41e68452bd:3:359615)
    at wasm://wasm/04980ed6:wasm-function[27681]:0x865d1a
    at wasm://wasm/04980ed6:wasm-function[22379]:0x73c921
    at wasm://wasm/04980ed6:wasm-function[22380]:0x73c98b
    at wasm://wasm/04980ed6:wasm-function[50290]:0xdc07e9
    at wasm://wasm/04980ed6:wasm-function[58179]:0xef921b
    at wasm://wasm/04980ed6:wasm-function[33739]:0x9b3552
    at invoke_viiii (blob:http://localhost:3000/6376c547-29e6-4f7b-9c35-8e41e68452bd:3:360461)
    at wasm://wasm/04980ed6:wasm-function[58180]:0xef9254
    at wasm://wasm/04980ed6:wasm-function[33743]:0x9b358e
    at instance.ws.onmessage (blob:http://localhost:3000/6376c547-29e6-4f7b-9c35-8e41e68452bd:3:68603)
6376c547-29e6-4f7b-9c35-8e41e68452bd:3 Exception at: 
Error
    at jsStackTrace (blob:http://localhost:3000/6376c547-29e6-4f7b-9c35-8e41e68452bd:3:20115)
    at stackTrace (blob:http://localhost:3000/6376c547-29e6-4f7b-9c35-8e41e68452bd:3:20397)
    at blob:http://localhost:3000/6376c547-29e6-4f7b-9c35-8e41e68452bd:3:5677
    at wasm://wasm/04980ed6:wasm-function[756]:0x524ee
    at wasm://wasm/04980ed6:wasm-function[446]:0x473d2
    at wasm://wasm/04980ed6:wasm-function[28887]:0x8c67a9
    at wasm://wasm/04980ed6:wasm-function[6382]:0x1c61e5
    at wasm://wasm/04980ed6:wasm-function[58410]:0xf01b46
    at wasm://wasm/04980ed6:wasm-function[1409]:0x765d3
    at wasm://wasm/04980ed6:wasm-function[33744]:0x9b359e
    at invoke_iiiii (blob:http://localhost:3000/6376c547-29e6-4f7b-9c35-8e41e68452bd:3:360116)
    at wasm://wasm/04980ed6:wasm-function[8557]:0x26b5db
    at wasm://wasm/04980ed6:wasm-function[58410]:0xf01ae8
    at wasm://wasm/04980ed6:wasm-function[1409]:0x765d3
    at wasm://wasm/04980ed6:wasm-function[6386]:0x1c702a
    at wasm://wasm/04980ed6:wasm-function[28904]:0x8c82ec
    at wasm://wasm/04980ed6:wasm-function[33747]:0x9b3610
    at invoke_iiii (blob:http://localhost:3000/6376c547-29e6-4f7b-9c35-8e41e68452bd:3:360292)
    at wasm://wasm/04980ed6:wasm-function[24240]:0x7a2e82
    at wasm://wasm/04980ed6:wasm-function[24237]:0x7a1080
    at wasm://wasm/04980ed6:wasm-function[33749]:0x9b3628
    at invoke_vii (blob:http://localhost:3000/6376c547-29e6-4f7b-9c35-8e41e68452bd:3:359615)
    at wasm://wasm/04980ed6:wasm-function[27681]:0x865d1a
    at wasm://wasm/04980ed6:wasm-function[22379]:0x73c921
    at wasm://wasm/04980ed6:wasm-function[22380]:0x73c98b
    at wasm://wasm/04980ed6:wasm-function[50290]:0xdc07e9
    at wasm://wasm/04980ed6:wasm-function[58179]:0xef921b
    at wasm://wasm/04980ed6:wasm-function[33739]:0x9b3552
    at invoke_viiii (blob:http://localhost:3000/6376c547-29e6-4f7b-9c35-8e41e68452bd:3:360461)
    at wasm://wasm/04980ed6:wasm-function[58180]:0xef9254
    at wasm://wasm/04980ed6:wasm-function[33743]:0x9b358e
    at instance.ws.onmessage (blob:http://localhost:3000/6376c547-29e6-4f7b-9c35-8e41e68452bd:3:68603)
Game.loader.js:1 Invoking error handler due to
RuntimeError: unreachable
at wasm://wasm/04980ed6:wasm-function[756]:0x524f0
    at wasm://wasm/04980ed6:wasm-function[446]:0x473d2
    at wasm://wasm/04980ed6:wasm-function[28887]:0x8c67a9
    at wasm://wasm/04980ed6:wasm-function[6382]:0x1c61e5
    at wasm://wasm/04980ed6:wasm-function[58410]:0xf01b46
    at wasm://wasm/04980ed6:wasm-function[1409]:0x765d3
    at wasm://wasm/04980ed6:wasm-function[33744]:0x9b359e
    at invoke_iiiii (blob:http://localhost:3000/6376c547-29e6-4f7b-9c35-8e41e68452bd:3:360116)
    at wasm://wasm/04980ed6:wasm-function[8557]:0x26b5db
    at wasm://wasm/04980ed6:wasm-function[58410]:0xf01ae8
    at wasm://wasm/04980ed6:wasm-function[1409]:0x765d3
    at wasm://wasm/04980ed6:wasm-function[6386]:0x1c702a
    at wasm://wasm/04980ed6:wasm-function[28904]:0x8c82ec
    at wasm://wasm/04980ed6:wasm-function[33747]:0x9b3610
    at invoke_iiii (blob:http://localhost:3000/6376c547-29e6-4f7b-9c35-8e41e68452bd:3:360292)
    at wasm://wasm/04980ed6:wasm-function[24240]:0x7a2e82
    at wasm://wasm/04980ed6:wasm-function[24237]:0x7a1080
    at wasm://wasm/04980ed6:wasm-function[33749]:0x9b3628
    at invoke_vii (blob:http://localhost:3000/6376c547-29e6-4f7b-9c35-8e41e68452bd:3:359615)
    at wasm://wasm/04980ed6:wasm-function[27681]:0x865d1a
    at wasm://wasm/04980ed6:wasm-function[22379]:0x73c921
    at wasm://wasm/04980ed6:wasm-function[22380]:0x73c98b
    at wasm://wasm/04980ed6:wasm-function[50290]:0xdc07e9
    at wasm://wasm/04980ed6:wasm-function[58179]:0xef921b
    at wasm://wasm/04980ed6:wasm-function[33739]:0x9b3552
    at invoke_viiii (blob:http://localhost:3000/6376c547-29e6-4f7b-9c35-8e41e68452bd:3:360461)
    at wasm://wasm/04980ed6:wasm-function[58180]:0xef9254
    at wasm://wasm/04980ed6:wasm-function[33743]:0x9b358e
    at instance.ws.onmessage (blob:http://localhost:3000/6376c547-29e6-4f7b-9c35-8e41e68452bd:3:68603)
6376c547-29e6-4f7b-9c35-8e41e68452bd:3 Uncaught RuntimeError: unreachable
    at 04980ed6:0x524f0
    at 04980ed6:0x473d2
    at 04980ed6:0x8c67a9
    at 04980ed6:0x1c61e5
    at 04980ed6:0xf01b46
    at 04980ed6:0x765d3
    at 04980ed6:0x9b359e
    at invoke_iiiii (6376c547-29e6-4f7b-9c35-8e41e68452bd:3:360116)
    at 04980ed6:0x26b5db
    at 04980ed6:0xf01ae8
    at 04980ed6:0x765d3
    at 04980ed6:0x1c702a
    at 04980ed6:0x8c82ec
    at 04980ed6:0x9b3610
    at invoke_iiii (6376c547-29e6-4f7b-9c35-8e41e68452bd:3:360292)
    at 04980ed6:0x7a2e82
    at 04980ed6:0x7a1080
    at 04980ed6:0x9b3628
    at invoke_vii (6376c547-29e6-4f7b-9c35-8e41e68452bd:3:359615)
    at 04980ed6:0x865d1a
    at 04980ed6:0x73c921
    at 04980ed6:0x73c98b
    at 04980ed6:0xdc07e9
    at 04980ed6:0xef921b
    at 04980ed6:0x9b3552
    at invoke_viiii (6376c547-29e6-4f7b-9c35-8e41e68452bd:3:360461)
    at 04980ed6:0xef9254
    at 04980ed6:0x9b358e
    at instance.ws.onmessage (6376c547-29e6-4f7b-9c35-8e41e68452bd:3:68603)
$func756 @ 04980ed6:0x524f0
$func446 @ 04980ed6:0x473d2
$func28887 @ 04980ed6:0x8c67a9
$func6382 @ 04980ed6:0x1c61e5
$func58410 @ 04980ed6:0xf01b46
$func1409 @ 04980ed6:0x765d3
$Nh @ 04980ed6:0x9b359e
invoke_iiiii @ 6376c547-29e6-4f7b-9c35-8e41e68452bd:3
$func8557 @ 04980ed6:0x26b5db
$func58410 @ 04980ed6:0xf01ae8
$func1409 @ 04980ed6:0x765d3
$func6386 @ 04980ed6:0x1c702a
$func28904 @ 04980ed6:0x8c82ec
$Kh @ 04980ed6:0x9b3610
invoke_iiii @ 6376c547-29e6-4f7b-9c35-8e41e68452bd:3
$func24240 @ 04980ed6:0x7a2e82
$func24237 @ 04980ed6:0x7a1080
$Hh @ 04980ed6:0x9b3628
invoke_vii @ 6376c547-29e6-4f7b-9c35-8e41e68452bd:3
$func27681 @ 04980ed6:0x865d1a
$func22379 @ 04980ed6:0x73c921
$func22380 @ 04980ed6:0x73c98b
$func50290 @ 04980ed6:0xdc07e9
$func58179 @ 04980ed6:0xef921b
$Sh @ 04980ed6:0x9b3552
invoke_viiii @ 6376c547-29e6-4f7b-9c35-8e41e68452bd:3
$func58180 @ 04980ed6:0xef9254
$Oh @ 04980ed6:0x9b358e
instance.ws.onmessage @ 6376c547-29e6-4f7b-9c35-8e41e68452bd:3
6376c547-29e6-4f7b-9c35-8e41e68452bd:3 <i><b><color=orange>HAS JOINED ROOM - CREATING ENTITY</color></b></i>

6376c547-29e6-4f7b-9c35-8e41e68452bd:3 <i><b><color=orange>Entity [6 | yeG47Pr9x] add:</color>  x => 0, y => 0, z => 0</b></i>

6376c547-29e6-4f7b-9c35-8e41e68452bd:3 <i><b><color=orange>Network Entity Ready yeG47Pr9x</color></b></i>

6376c547-29e6-4f7b-9c35-8e41e68452bd:3 <i><b><color=orange>View found! For yeG47Pr9x</color></b></i>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant