320V
320V

Reputation: 495

Unity WebGL Compression Formats

In Unity, i created only one 3D hexagonal object and trying to build for WebGL.

I figured it out that if i don't change Player Settings>Publishing Settings>Compression Format Gzip to Disabled, my project won't work on Chrome/Safari & Mozilla. Results are same with Gzip compression format. Why is that happen?

Also this zero compression format give me about +15mb-20mb files so it takes too long to open on browsers. I need to reduces this time. I have only 28kb .fbx object in this project and 2 script.

Tested on localhost and these pages :

Any advice would be nice . Thanks.

Upvotes: 0

Views: 1508

Answers (1)

320V
320V

Reputation: 495

Solved. As Unity Documentation says, i need to configure web server side. But i don't know that yet so i clicked Decompression Fallback option to let unitygl to set that. I hope it helps others too. Because unity's default compression format is Gzip and Decompression Fallback is untick so it fails after build as default.

Upvotes: 1

Related Questions