i used your htaccess in hostinger but its not working can you give me the updated htaccess for unity 6?:
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'match')
at Object.cacheControl (VIP_WEBGL_GZIP.loader.js:1:952)
at T (VIP_WEBGL_GZIP.loader.js:1:40659)
at P (VIP_WEBGL_GZIP.loader.js:1:44683)
at VIP_WEBGL_GZIP.loader.js:1:47415
cacheControl @ VIP_WEBGL_GZIP.loader.js:1
T @ VIP_WEBGL_GZIP.loader.js:1
P @ VIP_WEBGL_GZIP.loader.js:1
(anonymous) @ VIP_WEBGL_GZIP.loader.js:1
Promise.then
(anonymous) @ VIP_WEBGL_GZIP.loader.js:1
createUnityInstance @ VIP_WEBGL_GZIP.loader.js:1
(anonymous) @ (index):27
VIP_WEBGL_GZIP.loader.js:1 You can reduce startup time if you configure your web server to add "Content-Encoding: gzip" response header when serving "Build/VIP_WEBGL_GZIP.framework.js.unityweb" file.
VIP_WEBGL_GZIP.loader.js:1 You can reduce startup time if you configure your web server to add "Content-Encoding: gzip" response header when serving "Build/VIP_WEBGL_GZIP.wasm.unityweb" file.
<IfModule mod_mime.c>
RemoveType .gz
AddEncoding gzip .gz
AddType application/gzip .data.unityweb
AddType application/wasm .wasm.unityweb
AddType application/javascript .framework.js.unityweb
AddType application/javascript .loader.js
AddType application/octet-stream .symbols.json.gz
AddType application/wasm .wasm # need this line to serve decompressed wasm file