部分中斷share-external
How to fix problems with unpacking gzip files in game?
1

The game is developed on Unity 2022.3. When preparing the build I set Compression Format - Gzip and set Decompression Fallback - true. But at the same time, every time I download a zip archive with the build, I get errors at startup. I also tried to create an assembly without compression, but in this case, my zip archive is not uploaded to web hosting. What can be the problem? P.S. I noticed that if you create an empty project with one scene, it loads and runs without problems. Could there be some implicit restrictions in Instant Games for Unity builds?

Aleksey
已發問 約 10 個月前
Aleksey

The problem was fixed by changing the Publishing Settings in Unity. It was necessary to set Compression Format - Gzip, and Decompression Fallback - false. The point is that the Facebook server itself decompresses files, so there was no need to run manual decompression.

1月17日下午10:58