Hi, I’m new to WebGL and wanted to ask if I have missed a step regarding WebGL Build. In the editor the game run just fine but after building it, all of the textures suddenly gone.
Here’s a ss on what it looked like including the error. As you can see in the error image below, the button is still there but it just won’t show the texture.
Here’s the error code:
Unknown error occurred while loading 'sharedassets0.assets'.
_JS_Log_Dump @ 1.0.1.9.framework.js.gz:2
$func6116 @ 1.0.1.9.wasm.gz:0x3266bb
$func6118 @ 1.0.1.9.wasm.gz:0x32683f
$func6113 @ 1.0.1.9.wasm.gz:0x326563
$func6112 @ 1.0.1.9.wasm.gz:0x325db1
$func6870 @ 1.0.1.9.wasm.gz:0x370559
$func6859 @ 1.0.1.9.wasm.gz:0x36f070
$func6670 @ 1.0.1.9.wasm.gz:0x35723d
$func6669 @ 1.0.1.9.wasm.gz:0x356e0a
$func6656 @ 1.0.1.9.wasm.gz:0x35561a
$func6653 @ 1.0.1.9.wasm.gz:0x355147
$func6652 @ 1.0.1.9.wasm.gz:0x355106
$func701 @ 1.0.1.9.wasm.gz:0x1147b4
$func9512 @ 1.0.1.9.wasm.gz:0x433839
$func13429 @ 1.0.1.9.wasm.gz:0x5caac1
$func13509 @ 1.0.1.9.wasm.gz:0x5d8097
$func13432 @ 1.0.1.9.wasm.gz:0x5caeee
$func13648 @ 1.0.1.9.wasm.gz:0x5edc78
$func13647 @ 1.0.1.9.wasm.gz:0x5ed5b9
$func13430 @ 1.0.1.9.wasm.gz:0x5cace1
$func13415 @ 1.0.1.9.wasm.gz:0x5c9098
$func13388 @ 1.0.1.9.wasm.gz:0x5c3916
$func13386 @ 1.0.1.9.wasm.gz:0x5c2b26
$func13355 @ 1.0.1.9.wasm.gz:0x5c1ee0
$func13045 @ 1.0.1.9.wasm.gz:0x59ce61
$func13045 @ 1.0.1.9.wasm.gz:0x59ce76
$func13040 @ 1.0.1.9.wasm.gz:0x59c9fb
$func13033 @ 1.0.1.9.wasm.gz:0x59ac72
$func13183 @ 1.0.1.9.wasm.gz:0x5abf72
$dynCall_vi @ 1.0.1.9.wasm.gz:0x27309b7
(anonymous) @ 1.0.1.9.framework.js.gz:2
dynCall @ 1.0.1.9.framework.js.gz:2
dynCall_wrapper @ 1.0.1.9.framework.js.gz:2
wrapper @ 1.0.1.9.framework.js.gz:2
(anonymous) @ 1.0.1.9.framework.js.gz:2
Anyone knows what the issue is?
Oh and here’s my config
<IfModule mod_mime.c>
RemoveType .mem
RemoveType .data
RemoveType .unity3d
RemoveType .jsbr
RemoveType .membr
RemoveType .databr
RemoveType .unity3dbr
RemoveType .jsgz
RemoveType .memgz
RemoveType .datagz
RemoveType .unity3dgz
AddType application/octet-stream .mem
AddType application/octet-stream .data
AddType application/octet-stream .unity3d
AddType application/octet-stream .jsbr
AddType application/octet-stream .membr
AddType application/octet-stream .databr
AddType application/octet-stream .unity3dbr
AddType application/octet-stream .jsgz
AddType application/octet-stream .memgz
AddType application/octet-stream .datagz
AddType application/octet-stream .unity3dgz
# The following lines are required for builds without decompression fallback, compressed with gzip
RemoveType .gz
AddEncoding gzip .gz
AddType application/gzip .data.gz
AddType application/wasm .wasm.gz
AddType application/javascript .js.gz
AddType application/octet-stream .symbols.json.gz
# The following lines are required for builds without decompression fallback, compressed with Brotli
RemoveType .br
RemoveLanguage .br
AddEncoding br .br
AddType application/octet-stream .data.br
AddType application/wasm .wasm.br
AddType application/javascript .js.br
AddType application/octet-stream .symbols.json.br
# The following line improves loading performance for uncompressed builds
AddType application/wasm .wasm
# Uncomment the following line to improve loading performance for gzip-compressed builds with decompression fallback
AddEncoding gzip .unityweb
# Uncomment the following line to improve loading performance for brotli-compressed builds with decompression fallback
# AddEncoding br .unityweb
</IfModule>