The Photon Forum
is Closed Permanently.

After many dedicated years of service, we have made the decision to retire our Forum and switch to read-only: we´ve saved the best to last! Your search result can be found below. Plus, we offer support via these channels:

Try Our

Please check if you can find an answer in our extensive documentation on PUN.

Join Us
on Discord

Meet and talk to our staff and the entire Photon-Community via Discord.

Stack Overflow

Find more information on Stack Overflow (for Circle members only).

Write Us
an E-Mail

Feel free to send your question directly to our developers.

Webgl connection problems

2021-01-18 10:26:34

Hello everyone, hope you are doing well in these dire times.
I am writing this post because I am having a problem with a WebGL build of my Unity application.
My application works by loading a main menu and OnConnectedToMaster it proceeds to either create a new room or join a random one, loading a new multiplayer scene.
The problem is that on some computers the connection does not happen. It remains stuck on the first scene like it cannot join or create a room.
This problem happens on a computer of a person I do not have direct contact with, so it's kinda hard to debug, but I managed to make them send a log file to me and this is what I get:

Aumakua.loader.js:280 [UnityCache] './Build/' successfully downloaded and stored in the indexedDB cache
Aumakua.loader.js:31 still waiting on run dependencies:
printErr @ Aumakua.loader.js:31
Aumakua.loader.js:31 dependency: wasm-instantiate
printErr @ Aumakua.loader.js:31
Aumakua.loader.js:31 (end of list)
printErr @ Aumakua.loader.js:31
/master/Build/Aumakua.framework.js:3357 PlayerConnection initialized from (debug = 0)

/master/Build/Aumakua.framework.js:3357 PlayerConnection disabled - listening mode not supported

/master/Build/Aumakua.framework.js:3357 Started listening to []

/master/Build/Aumakua.framework.js:3357 PlayerConnection already initialized - listening to []

/master/Build/Aumakua.framework.js:3357 Loading player data from data.unity3d

/master/Build/Aumakua.framework.js:3357 Initialize engine version: 2020.2.1f1 (270dd8c3da1c)

Aumakua.loader.js:28 Creating WebGL 2.0 context.
/master/Build/Aumakua.framework.js:3357 Renderer: WebKit WebGL

/master/Build/Aumakua.framework.js:3357 Vendor: WebKit

/master/Build/Aumakua.framework.js:3357 Version: OpenGL ES 3.0 (WebGL 2.0 (OpenGL ES 3.0 Chromium))

/master/Build/Aumakua.framework.js:3357 GLES: 3

/master/Build/Aumakua.framework.js:3357 EXT_color_buffer_float GL_EXT_color_buffer_float EXT_color_buffer_half_float GL_EXT_color_buffer_half_float EXT_disjoint_timer_query_webgl2 GL_EXT_disjoint_timer_query_webgl2 EXT_float_blend GL_EXT_float_blend EXT_texture_compression_bptc GL_EXT_texture_compression_bptc EXT_texture_compression_rgtc GL_EXT_texture_compression_rgtc EXT_texture_filter_anisotropic GL_EXT_texture_filter_anisotropic EXT_texture_norm16 GL_EXT_texture_norm16 KHR_parallel_shader_compile GL_KHR_parallel_shader_compile OES_texture_float_linear GL_OES_texture_float_linear WEBGL_compressed_texture_s3tc GL_WEBGL_compressed_texture_s3tc WEBGL_compressed_texture_s3tc_srgb GL_WEBGL_compressed_texture_s3tc_srgb WEBGL_debug_renderer_info GL_WEBGL_debug_renderer_info WEBGL_debug_shaders GL_WEBGL_debug_shaders WEBGL_lose_context GL_WEBGL_lose_context WEBGL_multi_draw GL_WEBGL_multi_draw OVR_multiview2 GL_OVR_multiview2

Aumakua.framework.js:13235 WebGL: INVALID_ENUM: getInternalformatParameter: invalid internalformat
_glGetInternalformativ @ Aumakua.framework.js:13235
Aumakua.framework.js:13235 WebGL: INVALID_ENUM: getInternalformatParameter: invalid internalformat
_glGetInternalformativ @ Aumakua.framework.js:13235
Aumakua.framework.js:13235 WebGL: INVALID_ENUM: getInternalformatParameter: invalid internalformat
_glGetInternalformativ @ Aumakua.framework.js:13235
/master/Build/Aumakua.framework.js:3357 OPENGL LOG: Creating OpenGL ES 3.0 graphics device ; Context level <OpenGL ES 3.0> ; Context handle 20683424

/master/Build/Aumakua.framework.js:3357 UnloadTime: 1.715000 ms

/master/Build/Aumakua.framework.js:6189 warning: 2 FS.syncfs operations in flight at once, probably just doing extra work
/master/Build/Aumakua.framework.js:3357 Input Manager initialize...

Aumakua.framework.js:3813 WebSocket connection to 'wss://' failed: WebSocket opening handshake timed out
_SocketCreate @ Aumakua.framework.js:3813
Aumakua.loader.js:31 writeStringToMemory is deprecated and should not be called! Use stringToUTF8() instead!
printErr @ Aumakua.loader.js:31
/master/Build/Aumakua.framework.js:3350 Exiting receive thread. Server: wss:// Error: Abnormal disconnection.

_JS_Log_Dump @ /master/Build/Aumakua.framework.js:3350

It seems like the bold parts are the problem but I have no idea how to make it work.

If you guys know something about this please let me know!
Thank you in advance and have a great day!


2021-02-03 17:41:37

Anyone has any Idea on how to solve this?

Back to top