1
\$\begingroup\$

I am making an Android app in Unity. Google recommends using a symbols.zip, which Unity auto-generates. However, the symbols.zip that Unity is generating for my app is over 1 GB, and the max size that Google will accept is 300 MB.

How can I reduce the size of my symbols.zip?

enter image description here

\$\endgroup\$
0
\$\begingroup\$

I believe Symbols.zip contains debugging symbols used for generating stack traces when an error occurs. It should be safe to remove this, though you might have difficulty diagnosing crash reports.

As an aside, if you're getting 1GB of symbols in a non-debug build, it sounds like something is going wrong with the build system, so this might be something worth reporting to Unity using the bug reporter.

Oh, also check the player settings and make sure you don't have "full" selected for any of the Stack Trace options, as this generally greatly increases the build size. "ScriptOnly" should be fine.

enter image description here

| improve this answer | |
\$\endgroup\$
  • \$\begingroup\$ Thanks for the tip, but I am already doing ScriptOnly. It is already removed - I am trying to make it small enough that I can use it. \$\endgroup\$ – Evorlor Jul 2 at 22:52
  • \$\begingroup\$ @Evorlor If you have any plugins, you might try compiling without the plugins to see if that drastically affects the Symbols size. If it does, there might be a problem with the plugin. Otherwise, if the symbols are 1GB and you're not using "full" stack traces, it sounds like an engine bug you should report using "Help > Report a bug" \$\endgroup\$ – Kevin Jul 2 at 23:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.