Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Bug Unity 2022.3.15.f1 doesn't create android symbols.zip on store builds

Discussion in 'Testing & Automation' started by HadiAssets, Dec 26, 2023.

  1. HadiAssets

    HadiAssets

    Joined:
    Jan 9, 2021
    Posts:
    1
    After we update the unity from 2021.3.18f1 to 2022.3.15f1 it stopped creating the symbols.zip file for crashlytics.
    It only happens on Android Store builds. We can see the aab file after the build but not the symbols.zip
    We are getting our store builds like this:

    Code (CSharp):
    1. EditorUserBuildSettings.androidCreateSymbols = AndroidCreateSymbols.Public;
    2.  
    3. var result = Bundletool.BuildBundle(buildPlayerOptions, forceSynchronousBuild: true);
    4. if (result)
    5. {
    6.     Debug.Log("Build Success");
    7. }
    8. else
    9. {
    10. Debug.Log("Build Failed");
    11. }
    We realise that it creates the symbols.zip file under Library/Bee/Android/Prj/IL2CPP/symbols.zip

    After the build we are manually copying the file from the path but it was already copying to output directory before like it was saying on the documentation https://docs.unity3d.com/Manual/android-symbols.html