• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
This question was closed Feb 21, 2020 at 09:50 AM by pako for the following reason:

The question is answered, right answer was accepted

avatar image
Question by Neogene · Apr 23, 2018 at 04:32 PM · androidbuildbuild settings

Disable appname_symbols.zip generation in Android build

When building an Android app using "internal build system", "IL2CPP", ".NET Subset" Unity generates a zip file which contains symbols (eg: appname_3-1.0-v2.symbols.zip) next to the app .apk but we don't need it, there is a way to disable this step?

We are using a file share service (dropbox/other) and this delays upload time so we have to access the folder, delete the file or stop synchronization of this file.

Comment
FlyingHighUp
pako
MPM
sampenguin
YD_JMysior
Brayitan123
anisabboud

People who like this

7 Show 4
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image pako · Sep 03, 2018 at 12:37 PM 0
Share

This post is a few months old but I just run into it.

Actually you do need the symbols zip file in order to be able to create a call stack, if you get a crash report.

https://support.unity3d.com/hc/en-us/articles/115000292166-Symbolicate-Android-crash

avatar image Neogene · Sep 03, 2018 at 01:13 PM 0
Share

Thank you Pako, the fact is to know how much it takes to generate these file and if the developer prefers to ignore how time during building will be saved skipping this step.

avatar image pako Neogene · Sep 03, 2018 at 03:31 PM 0
Share

As far as I know, you can't skip the symbol file creation step. The whole build process in a large project takes about 10 minutes for me, so it's not that much.

avatar image sampenguin · Mar 27, 2019 at 04:00 PM 0
Share

Agreed this really needs to be an option for iteration on mobile device builds where I don't need symbols 99% of the time. Kills development time.

4 Replies

  • Sort: 
avatar image
Best Answer

Answer by Neogene · Oct 31, 2019 at 05:11 PM

Update: Unity 2019.2.11 changelog: Android: Allow to disable symbols.zip generation when building apk or aab

Comment
pako
Tanek

People who like this

2 Show 0 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image

Answer by mitaywalle · Feb 21, 2020 at 04:31 AM

https://docs.unity3d.com/ScriptReference/EditorUserBuildSettings-androidCreateSymbolsZip.html

Comment
pako

People who like this

1 Show 0 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image

Answer by Vivraan · Feb 17, 2019 at 03:51 AM

Switch to Git, and update the .gitignore file.

Comment
LoungeKatt
sampenguin
SamohtVII

People who like this

-3 Show 3 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image YD_JMysior · Apr 08, 2019 at 08:55 AM 0
Share

Unfortunately this does not answer the OP question.

avatar image LoungeKatt · Apr 16, 2019 at 01:51 AM 0
Share

The purpose of the .gitignore file is to, as the name implies, ignore those files in the resulting git repository. Versioning and file sharing are drastically different, so this would be an excessive change even if it were functional. As for Dropbox, similar functionality has been requested since 2014 with little progress (https://www.dropboxforum.com/t5/Dropbox/Ignore-folder-without-selective-sync/idi-p/5926)

avatar image Neogene · Apr 16, 2019 at 05:57 AM 0
Share

Deploying doesn't implicit mean to store the file inside a VCS enabled folder.

avatar image

Answer by YD_JMysior · Apr 08, 2019 at 09:03 AM

Would like to know that too. Can't seem to find any documentation on the usage of these symbol files (I think I get what they are for, but don't know how to use them). @Neogene before someone gives a proper answer (how to disable the generation of the symbols), a workaround would be to automatically remove that file in the post build process. Place a script in the Editor folder and use something like:

 using UnityEditor.Callbacks;
 
 public class SymbolsFileRemover : MonoBehaviour {
 
      [PostProcessBuild]
      public static void OnPostProcessBuild(BuildTarget target, string pathToBuiltProject)
      {
           //find and remove the zip file here using System.IO
      }
 }
Comment

People who like this

0 Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Neogene · Apr 16, 2019 at 05:59 AM 0
Share

Yeah I've done postprocessbuild scripts from 2011 but it's normal to think that probably the symbols file isn't always required, eg: doing "quick" deploy and tests. uff.

avatar image YD_JMysior · Apr 16, 2019 at 07:17 AM 1
Share

Exactly - I too think there should be an opt-out option to not generate the symbols.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

239 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Android Build Errors 0 Answers

My project builds endlessly and has missings from Assets/Plugins/Android 0 Answers

Problems in Android build when running game 1 Answer

Android Build Crashes on Tablet 0 Answers

when i click switch platform to Android, the unity program just crashed 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges