Hello
I used Ballistics in my project and it generates error in exported build… Here is the project link… https://playcanvas.com/project/797244/overview/ballistics-test-2d-char-fork
Hello
I used Ballistics in my project and it generates error in exported build… Here is the project link… https://playcanvas.com/project/797244/overview/ballistics-test-2d-char-fork
You need to change the mime type of the wasm file on your server configuration. See error ‘Failed to compile …’ in your console output.
Hi @yaustar
I dont know anything about mime type…
Can you please explain? I mean how i can do that?
Are you talking about this type?
Yes, that error and file. You have to check with your server provider on how to change the mime type for serving files.
@yaustar Ok, But how i can run this build on localhost using Xampp? Because it is still giving me error…
Is there any hosted game using Ballistics?
@LeXXik Any suggestion?
You should use the latest version of Apache, or add to .htaccess:
AddType application/wasm .wasm
AddOutputFilterByType DEFLATE application/wasm
This forum is for PlayCanvas support, though. You can search the internet on how to configure mime types on your server.
Sorry i dont want to post it here as it is not playcanvas part…
But i am not able to solve this error…
I tried above method but does not work…
My bad it is not working on normal chrome tab… (Cache issue)
Works great on chrome incognito mode without error…