Search Issue Tracker
Fixed in 2020.2.X
Votes
0
Found in
2018.3.0b4
2019.1.0a1
2019.2.0a1
2019.3.0a1
2019.3.0a5
Issue ID
1168715
Regression
No
[Linux] Errors regarding unrecognized option '--keep' for gzip when trying to build for WebGL
How to reproduce:
1. Open the attached project 'webgl_test.zip'
2. Build for WebGL
Expected results: Project gets built
Actual results: Build errors regarding failure running gzip because of an unrecognized option
Reproducible with: 2017.4.30f1, 2018.4.3f1, 2019.1.9f1, 2019.2.0b9, 2019.3.0a5
Reproduces only on CentOS and it cannot run versions past 2019.3.0a5.
Full error info:
Failed running gzip -9 --keep -S ".compressed" "/run/media/pauliusg/Storage/Projects/webgl_test/Temp/StagingArea/Data/Output/Build/webgl_test_build.data.unityweb"
stdout:
stderr:/usr/bin/gzip: unrecognized option '--keep' Try `gzip --help' for more information.
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Rigidbody2D.Slide API does not have the needed configuration when creating a 2D Top-Down character controller
- Opening reference for "Playables"component redirects to a missing page
- Sprite Renderer image is changed when switching Mask Interaction and changing Sprite to a shared Sprite
- An unsigned integer is not compared with an integer correctly in player when using IL2CPP backend
- Graphical artifacts are being rendered in Scenes that are loaded during run-time when GPU Resident Drawer is turned on
smoenkhoff
Jun 25, 2020 15:12
Nevermind on the workaround - I found one. I addition to using what I stated previously I had to change my Player Compression (File > Build Settings > Player Settings > Compression Format = Disabled.
smoenkhoff
Jun 24, 2020 20:59
Is there a workaround for this issue? I used the following in a previous version of Unity but this does not appear to work for me in 2019.4.1f1
BuildPlayerOptions bpo = new BuildPlayerOptions();
bpo.options = BuildOptions.UncompressedAssetBundle;
bpo.other_params ...
BuildReport report = BuildPipeline.BuildPlayer(bpo);
OneManEscapePlan
Jun 11, 2020 18:09
We are also experiencing this issue in 2019.4.0f1 and upgrading to 2020 is not an option for us.