Hi,
I packed unreal demo project to Html5. But, when i tried to run it on chrome => "Does not support webassembly" Mozila Firefox => TypeError : xhr.response is nullI have no idea about both of this.
``If anyone know about fix/ faced similar kind of issues, share your approach.
Does http://mzl.la/webassemblydemo work for you, and runs with WebAssembly? (that is, does not print a warning message about lack of WebAssembly support?) Do you have latest Firefox version installed?
Above link works fine in chrome and in firefox it shows ‘RuntimeError: index out of bounds’. I’m using the latest version of browser(both).
Hmm, nothing comes to mind here that would be a known cause. If you have a small test case of your project, that might be useful to try to reproduce.
Ixiguis
(Ixiguis)
July 9, 2020, 12:43am
5
I was having this exact issue, this is the .htaccess code that worked for me (for Apache servers):
<IfModule mod_headers.c>
RewriteCond "%{HTTP:Accept-encoding}" "gzip"
RewriteCond "%{REQUEST_FILENAME}\gz" -s
RewriteRule "^(.*)\.css" "$1\.cssgz" [QSA]
RewriteCond "%{HTTP:Accept-encoding}" "gzip"
RewriteCond "%{REQUEST_FILENAME}\gz" -s
RewriteRule "^(.*)\.js" "$1\.jsgz" [QSA]
RewriteCond "%{HTTP:Accept-encoding}" "gzip"
RewriteCond "%{REQUEST_FILENAME}\gz" -s
RewriteRule "^(.*)\.data" "$1\.datagz" [QSA]
RewriteCond "%{HTTP:Accept-encoding}" "gzip"
RewriteCond "%{REQUEST_FILENAME}\gz" -s
RewriteRule "^(.*)\.wasm" "$1\.wasmgz" [QSA]
# Serve correct content types, and prevent mod_deflate double gzip.
RewriteRule "\.cssgz$" "-" [T=text/css,E=no-gzip:1]
RewriteRule "\.jsgz$" "-" [T=text/javascript,E=no-gzip:1]
RewriteRule "\.wasmgz$" "-" [T=text/javascript,E=no-gzip:1]
RewriteRule "\.datagz$" "-" [T=text/javascript,E=no-gzip:1]
<FilesMatch "(\.jsgz|\.cssgz|\.wasmgz|\.datagz)$">
# Serve correct encoding type.
Header append Content-Encoding gzip
# Force proxies to cache gzipped &
# non-gzipped css/js files separately.
Header append Vary Accept-Encoding
</FilesMatch>
</IfModule>