Search Unity

Feedback Functionality to turn off "symbols.zip" generation

Discussion in 'Android' started by Peter77, May 28, 2019.

  1. bdovaz

    bdovaz

    Joined:
    Dec 10, 2011
    Posts:
    1,052
    Finally!!
     
  2. roseportalgames

    roseportalgames

    Joined:
    Aug 9, 2017
    Posts:
    173
  3. Neogene

    Neogene

    Joined:
    Dec 29, 2010
    Posts:
    95
    Unity 2019.2.11: Android: Allow to disable symbols.zip generation when building apk or aab
     
  4. bdovaz

    bdovaz

    Joined:
    Dec 10, 2011
    Posts:
    1,052
    upload_2019-11-1_11-50-57.png
     
  5. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,618
  6. zdummy

    zdummy

    Joined:
    Dec 7, 2018
    Posts:
    4
    Hello all,
    How to disable symbols.zip in Script code? Normally we build in batch mode, and use BuildOptions in script code to modify option. So with those unity versions ( 2018.4.13f1, 2019.2.11f1,2019.3.0b12, 2020.1.0a14), We only can disable symbols.zip in BuildSettings Menu?? not in script code??
     
  7. zdummy

    zdummy

    Joined:
    Dec 7, 2018
    Posts:
    4
  8. sschilp

    sschilp

    Joined:
    Jul 12, 2016
    Posts:
    12
    In script you can do this:
    EditorUserBuildSettings.androidCreateSymbolsZip = false;
     
    Discipol likes this.
  9. zdummy

    zdummy

    Joined:
    Dec 7, 2018
    Posts:
    4
    :D:D:D, thank you so much for you quick reply, that's really helpful. I am just curious, where did you get this? I did search in Unity's website, and googled a lot, but I cannot find any info about it...
     
  10. sschilp

    sschilp

    Joined:
    Jul 12, 2016
    Posts:
    12
    Well... I was waiting for this functionality for a long time and when they released the builds that got that thing added, i just checked the build settings menu and saw that the checkbox was available where all the other stuff from EditorUserBuildSettings was available as well.
    Went to script, typed in EditorUserBuildSettings.android and found that thing right away ;)
     
  11. zdummy

    zdummy

    Joined:
    Dec 7, 2018
    Posts:
    4
    :p I didn't think about "EditorUserBuildSettings", usually I modify things in BuildOptions :D :D :D
     
  12. Nodrap

    Nodrap

    Joined:
    Nov 4, 2011
    Posts:
    83
    My real issue is that we have an automatic system to increase our version number each build and since the zip appends this to the zips filename we get dozens of them filling up our system, one for every build. If it just used the same name as the apk then one of them would be fine with me - and useful for debugging.
     
  13. Ukounu

    Ukounu

    Joined:
    Nov 2, 2019
    Posts:
    208
  14. JuliusM

    JuliusM

    Unity Technologies

    Joined:
    Apr 17, 2013
    Posts:
    835
    The symbols.zip should only be created when using Gradle build system, therefore the option to disable them is displayed only when the Gradle build system is selected. Do you get symbols.zip created when building with the internal build system?
     
  15. Ukounu

    Ukounu

    Joined:
    Nov 2, 2019
    Posts:
    208
    No, I don't get symbols.zip after upgrading to 2018.4.13. Thanks for clarification.
     
  16. Ebonicus

    Ebonicus

    Joined:
    Oct 31, 2016
    Posts:
    158
    +1 Need this on 2017 LTS and 2018 LTS as well please.
     
    Gold_Rush likes this.
  17. alex1st1

    alex1st1

    Joined:
    Jan 26, 2019
    Posts:
    275
    How to disable in 2019.2.6?
     
  18. mitaywalle

    mitaywalle

    Joined:
    Jul 1, 2013
    Posts:
    253
  19. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,618
  20. mitaywalle

    mitaywalle

    Joined:
    Jul 1, 2013
    Posts:
    253
  21. grobonom

    grobonom

    Joined:
    Jun 23, 2018
    Posts:
    335
    the pleasure of filling space with (most of the time) useless things...

    just like the million umbra files ?
    or
    just like the gazillion bin shader files ^^

    human idiocy has no limit !
    I charge noone.... just.... the fact ppl never look at things.... and mostly simple & obvious ones.....

    happy unitying !
     
  22. protopop

    protopop

    Joined:
    May 19, 2009
    Posts:
    1,561
    Im using Unity 2019.2.8

    I don't see a BUILD SYSTEM option.

    Does this mean it builds my android APK using Gradle automatically? At the end of the build it said "Building grade project"


    Screen Shot 2020-04-01 at 4.14.13 PM.png
     
  23. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    3,918
    Correct, currently the only build system is Gradle.
     
    protopop likes this.
  24. Jhon_JQ

    Jhon_JQ

    Joined:
    Jul 24, 2018
    Posts:
    5
    i'm using Unity 2018.4.19f1 ,how can i find symblos.zip with buildsetting check Export Project?@Tomas1856
     
  25. YD_JMysior

    YD_JMysior

    Joined:
    Aug 4, 2016
    Posts:
    60
    Hello everyone, sorry for a bit of necro.
    The "Create symbols.zip" option in the build settings is greyed out and I can't turn it on no matter what other settings I change. Does anyone have any idea how I can turn it on? I'm using Unity 2019.2.21f1 for my project.
     
  26. JuliusM

    JuliusM

    Unity Technologies

    Joined:
    Apr 17, 2013
    Posts:
    835
    Don't enable "export project" and use il2cpp scripting backend. As far as I can see those are the only two things that disable the option.
     
  27. UDN_5c806b49-d8a0-4f67-a296-c12c91aa7396

    UDN_5c806b49-d8a0-4f67-a296-c12c91aa7396

    Joined:
    Jan 9, 2017
    Posts:
    152
    How did you reduce your zip file? I Googled 1.6gb as mine is also 1.6gb and I extracted and compressed it again with winzip but it results in 400mb. Still can't upload it to Google due to limit set at 300mb. Please help
     
  28. Gold_Rush

    Gold_Rush

    Joined:
    Jan 10, 2018
    Posts:
    64
    +1 for add this feature to 2017.4.40 (Last 2017 build)
     
  29. Yury-Habets

    Yury-Habets

    Unity Technologies

    Joined:
    Nov 18, 2013
    Posts:
    1,167
    2017.4 is no longer supported, so it doesn't get any new features or fixes. Please consider upgrading to a supported Unity version.
     
  30. Gold_Rush

    Gold_Rush

    Joined:
    Jan 10, 2018
    Posts:
    64
    I known. Unity 5 has been out of support for many years, but the last update was on March 4, 2019. Which is not that long ago. A lot depends on the number of thirsty people.

    Unity 2020 looks limited in some points than Unity 2017. Unity 2020 cannot build apk x86. And it installs packages into projects, which slows down the startup of IDE. In addition, 2017 has a built-in editor.

    So I have several versions of Unity installed. And the last one including too.
     
    Last edited: Dec 9, 2020