Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Breakpad symbol generation failed for Unity 6 symbols #7867

Open
FrantisekHolubec opened this issue Oct 24, 2024 · 3 comments
Open

Breakpad symbol generation failed for Unity 6 symbols #7867

FrantisekHolubec opened this issue Oct 24, 2024 · 3 comments

Comments

@FrantisekHolubec
Copy link

[REQUIRED] Environment info

firebase-tools: 13.23.0

Platform: Windows 11

[REQUIRED] Test case

I tried to upload the symbols for my unity 6 app but it fails. its failing only for symbols made by unity 6
Is this unity problem, am I doing something wrong or is this a bug ?
I tried with 2 different java version and get 2 different errors.

[REQUIRED] Steps to reproduce

problematic file: https://drive.google.com/file/d/1rR9b9Pt7gwbfvePiUneL-RwRgPj5i39w/view?usp=sharing
attempt to upload symbols

firebase crashlytics:symbols:upload --debug --app=1:187029196205:android:e8b5c9e6935cf6bb11a524 ./TA_TankSurvivor_Release_v.0.02.01.506-0.02.01-v201-IL2CPP.symbols.zip

firebase crashlytics:symbols:upload --debug --app=1:187029196205:android:e8b5c9e6935cf6bb11a524 ./TA_TankSurvivor_Release_v.0.02.01.506-0.02.01-v201-IL2CPP.symbols.zip --generator csym

[REQUIRED] Expected behavior

Uploads the symbols

[REQUIRED] Actual behavior

Java 8 Breakpad:

[2024-10-24T08:25:41.192Z] Buildtools Jar already downloaded at C:\Users\Franta\.cache\firebase\crashlytics\buildtools\crashlytics-buildtools-3.0.2.jar
i  Generating symbols for ./TA_TankSurvivor_Release_v.0.02.01.506-0.02.01-v201-IL2CPP.symbols.zip
[CRASHLYTICS LOG DEBUG] Crashlytics Buildtools initialized.
[CRASHLYTICS LOG DEBUG] Extracting dump_syms from dump_syms/windows/dump_syms.bin to N:\Projects\TankSurvivor\Builds\Android\develop\Release\.crashlytics\dump_syms.exe
[CRASHLYTICS LOG DEBUG] Extracting object file to .crashlytics
[CRASHLYTICS LOG DEBUG] Breakpad symbol generator initialized: N:\Projects\TankSurvivor\Builds\Android\develop\Release\.crashlytics\dump_syms.exe
[CRASHLYTICS LOG DEBUG] Zipped input file detected: N:\Projects\TankSurvivor\Builds\Android\develop\Release\.\TA_TankSurvivor_Release_v.0.02.01.506-0.02.01-v201-IL2CPP.symbols.zip; unzipping to temp location: C:\Users\Franta\AppData\Local\Temp\crashlytics-3f81189c-e4f4-481c-8e65-de4e4110c8c0\nativeSymbols\1-187029196205-android-e8b5c9e6935cf6bb11a524\breakpad\unzippedLibsCache
[CRASHLYTICS LOG DEBUG] Generating native symbol files for C:\Users\Franta\AppData\Local\Temp\crashlytics-3f81189c-e4f4-481c-8e65-de4e4110c8c0\nativeSymbols\1-187029196205-android-e8b5c9e6935cf6bb11a524\breakpad\unzippedLibsCache; writing output to: C:\Users\Franta\AppData\Local\Temp\crashlytics-3f81189c-e4f4-481c-8e65-de4e4110c8c0\nativeSymbols\1-187029196205-android-e8b5c9e6935cf6bb11a524\breakpad
[CRASHLYTICS LOG DEBUG] 36 native libraries found at C:\Users\Franta\AppData\Local\Temp\crashlytics-3f81189c-e4f4-481c-8e65-de4e4110c8c0\nativeSymbols\1-187029196205-android-e8b5c9e6935cf6bb11a524\breakpad\unzippedLibsCache
[CRASHLYTICS LOG DEBUG] Crashlytics generating Breakpad Symbol file for: C:\Users\Franta\AppData\Local\Temp\crashlytics-3f81189c-e4f4-481c-8e65-de4e4110c8c0\nativeSymbols\1-187029196205-android-e8b5c9e6935cf6bb11a524\breakpad\unzippedLibsCache\arm64-v8a\libcrashlytics-trampoline.so
[CRASHLYTICS LOG DEBUG] Extracting Breakpad symbols to temp file: C:\Users\Franta\AppData\Local\Temp\crashlytics-3f81189c-e4f4-481c-8e65-de4e4110c8c0\nativeSymbols\1-187029196205-android-e8b5c9e6935cf6bb11a524\breakpad\libcrashlytics-trampoline.so5347859241832512873.tmp
[CRASHLYTICS LOG DEBUG] GNU Build Id for C:\Users\Franta\AppData\Local\Temp\crashlytics-3f81189c-e4f4-481c-8e65-de4e4110c8c0\nativeSymbols\1-187029196205-android-e8b5c9e6935cf6bb11a524\breakpad\unzippedLibsCache\arm64-v8a\libcrashlytics-trampoline.so: acf6365f1a57d0513d7e78424b14f07c579aa5fc
[CRASHLYTICS LOG DEBUG] Renaming Breakpad symbol file to: C:\Users\Franta\AppData\Local\Temp\crashlytics-3f81189c-e4f4-481c-8e65-de4e4110c8c0\nativeSymbols\1-187029196205-android-e8b5c9e6935cf6bb11a524\breakpad\crashlytics-trampoline-arm64-acf6365f1a57d0513d7e78424b14f07c579aa5fc.sym
[CRASHLYTICS LOG DEBUG] Generated symbol file: C:\Users\Franta\AppData\Local\Temp\crashlytics-3f81189c-e4f4-481c-8e65-de4e4110c8c0\nativeSymbols\1-187029196205-android-e8b5c9e6935cf6bb11a524\breakpad\crashlytics-trampoline-arm64-acf6365f1a57d0513d7e78424b14f07c579aa5fc.sym (839 bytes)
[CRASHLYTICS LOG DEBUG] Crashlytics generating Breakpad Symbol file for: C:\Users\Franta\AppData\Local\Temp\crashlytics-3f81189c-e4f4-481c-8e65-de4e4110c8c0\nativeSymbols\1-187029196205-android-e8b5c9e6935cf6bb11a524\breakpad\unzippedLibsCache\arm64-v8a\libFirebaseCppAnalytics.so
[CRASHLYTICS LOG DEBUG] Extracting Breakpad symbols to temp file: C:\Users\Franta\AppData\Local\Temp\crashlytics-3f81189c-e4f4-481c-8e65-de4e4110c8c0\nativeSymbols\1-187029196205-android-e8b5c9e6935cf6bb11a524\breakpad\libFirebaseCppAnalytics.so1969445296118415733.tmp
[CRASHLYTICS LOG DEBUG] Cleaning up unzip target dir: C:\Users\Franta\AppData\Local\Temp\crashlytics-3f81189c-e4f4-481c-8e65-de4e4110c8c0\nativeSymbols\1-187029196205-android-e8b5c9e6935cf6bb11a524\breakpad\unzippedLibsCache
[CRASHLYTICS LOG ERROR] Crashlytics execution failed.
java.io.IOException: Breakpad symbol generation failed (exit=1), see STDERR
        at com.google.firebase.crashlytics.buildtools.ndk.internal.breakpad.BreakpadSymbolGenerator.generateSymbols(BreakpadSymbolGenerator.java:129)
        at com.google.firebase.crashlytics.buildtools.Buildtools.generateNativeSymbolFiles(Buildtools.java:306)
        at com.google.firebase.crashlytics.buildtools.Buildtools.generateNativeSymbolFiles(Buildtools.java:280)
        at com.google.firebase.crashlytics.buildtools.CommandLineHelper.executeGenerateSymbols(CommandLineHelper.java:193)
        at com.google.firebase.crashlytics.buildtools.CommandLineHelper.executeCommand(CommandLineHelper.java:125)
        at com.google.firebase.crashlytics.buildtools.CommandLineHelper.main(CommandLineHelper.java:72)
        at com.google.firebase.crashlytics.buildtools.Buildtools.main(Buildtools.java:114)

Error: java command failed with args: -jar,C:\Users\Franta\.cache\firebase\crashlytics\buildtools\crashlytics-buildtools-3.0.2.jar,-symbolGenerator,breakpad,-symbolFileCacheDir,C:\Users\Franta\AppData\Local\Temp\crashlytics-3f81189c-e4f4-481c-8e65-de4e4110c8c0\nativeSymbols\1-187029196205-android-e8b5c9e6935cf6bb11a524\breakpad,-verbose,-generateNativeSymbols,-unstrippedLibrary,./TA_TankSurvivor_Release_v.0.02.01.506-0.02.01-v201-IL2CPP.symbols.zip,-clientName,firebase-cli;crashlytics-buildtools

Java 8 csym:

[2024-10-24T08:26:23.729Z] Buildtools Jar already downloaded at C:\Users\Franta\.cache\firebase\crashlytics\buildtools\crashlytics-buildtools-3.0.2.jar
i  Generating symbols for ./TA_TankSurvivor_Release_v.0.02.01.506-0.02.01-v201-IL2CPP.symbols.zip
[CRASHLYTICS LOG DEBUG] Crashlytics Buildtools initialized.
[CRASHLYTICS LOG DEBUG] Zipped input file detected: N:\Projects\TankSurvivor\Builds\Android\develop\Release\.\TA_TankSurvivor_Release_v.0.02.01.506-0.02.01-v201-IL2CPP.symbols.zip; unzipping to temp location: C:\Users\Franta\AppData\Local\Temp\crashlytics-e5978618-d132-4c47-bb0b-8f8ee69ed1ba\nativeSymbols\1-187029196205-android-e8b5c9e6935cf6bb11a524\csym\unzippedLibsCache
[CRASHLYTICS LOG DEBUG] Generating native symbol files for C:\Users\Franta\AppData\Local\Temp\crashlytics-e5978618-d132-4c47-bb0b-8f8ee69ed1ba\nativeSymbols\1-187029196205-android-e8b5c9e6935cf6bb11a524\csym\unzippedLibsCache; writing output to: C:\Users\Franta\AppData\Local\Temp\crashlytics-e5978618-d132-4c47-bb0b-8f8ee69ed1ba\nativeSymbols\1-187029196205-android-e8b5c9e6935cf6bb11a524\csym
[CRASHLYTICS LOG DEBUG] 36 native libraries found at C:\Users\Franta\AppData\Local\Temp\crashlytics-e5978618-d132-4c47-bb0b-8f8ee69ed1ba\nativeSymbols\1-187029196205-android-e8b5c9e6935cf6bb11a524\csym\unzippedLibsCache
[CRASHLYTICS LOG DEBUG] Generating native symbol file from: C:\Users\Franta\AppData\Local\Temp\crashlytics-e5978618-d132-4c47-bb0b-8f8ee69ed1ba\nativeSymbols\1-187029196205-android-e8b5c9e6935cf6bb11a524\csym\unzippedLibsCache\arm64-v8a\libcrashlytics-trampoline.so
[CRASHLYTICS LOG DEBUG] Cleaning up unzip target dir: C:\Users\Franta\AppData\Local\Temp\crashlytics-e5978618-d132-4c47-bb0b-8f8ee69ed1ba\nativeSymbols\1-187029196205-android-e8b5c9e6935cf6bb11a524\csym\unzippedLibsCache
Exception in thread "main" java.lang.NoSuchMethodError: java.nio.ByteBuffer.flip()Ljava/nio/ByteBuffer;
        at com.google.firebase.crashlytics.buildtools.utils.io.ByteReader.readInt(ByteReader.java:120)
        at com.google.firebase.crashlytics.buildtools.ndk.internal.elf.ElfDataParser.readElfFileHeader(ElfDataParser.java:475)
        at com.google.firebase.crashlytics.buildtools.ndk.internal.elf.ElfDataParser.parseElf(ElfDataParser.java:118)
        at com.google.firebase.crashlytics.buildtools.ndk.internal.elf.ElfDataParser.parse(ElfDataParser.java:97)
        at com.google.firebase.crashlytics.buildtools.ndk.internal.elf.ElfDataParser.parse(ElfDataParser.java:42)
        at com.google.firebase.crashlytics.buildtools.ndk.internal.csym.ElfCSymFactory.createCSymFromFile(ElfCSymFactory.java:90)
        at com.google.firebase.crashlytics.buildtools.ndk.internal.csym.NdkCSymGenerator.generateSymbolFileFromFile(NdkCSymGenerator.java:39)
        at com.google.firebase.crashlytics.buildtools.ndk.internal.csym.NdkCSymGenerator.generateSymbols(NdkCSymGenerator.java:24)
        at com.google.firebase.crashlytics.buildtools.Buildtools.generateNativeSymbolFiles(Buildtools.java:306)
        at com.google.firebase.crashlytics.buildtools.Buildtools.generateNativeSymbolFiles(Buildtools.java:280)
        at com.google.firebase.crashlytics.buildtools.CommandLineHelper.executeGenerateSymbols(CommandLineHelper.java:193)
        at com.google.firebase.crashlytics.buildtools.CommandLineHelper.executeCommand(CommandLineHelper.java:125)
        at com.google.firebase.crashlytics.buildtools.CommandLineHelper.main(CommandLineHelper.java:72)
        at com.google.firebase.crashlytics.buildtools.Buildtools.main(Buildtools.java:114)

Error: java command failed with args: -jar,C:\Users\Franta\.cache\firebase\crashlytics\buildtools\crashlytics-buildtools-3.0.2.jar,-symbolGenerator,csym,-symbolFileCacheDir,C:\Users\Franta\AppData\Local\Temp\crashlytics-e5978618-d132-4c47-bb0b-8f8ee69ed1ba\nativeSymbols\1-187029196205-android-e8b5c9e6935cf6bb11a524\csym,-verbose,-generateNativeSymbols,-unstrippedLibrary,./TA_TankSurvivor_Release_v.0.02.01.506-0.02.01-v201-IL2CPP.symbols.zip,-clientName,firebase-cli;crashlytics-buildtools

Java 17 Breakpad:

[2024-10-24T08:03:09.761Z] Buildtools Jar already downloaded at C:\Users\Franta\.cache\firebase\crashlytics\buildtools\crashlytics-buildtools-3.0.2.jar
i  Generating symbols for ./TA_TankSurvivor_Release_v.0.02.01.506-0.02.01-v201-IL2CPP.symbols.zip
[CRASHLYTICS LOG DEBUG] Crashlytics Buildtools initialized.
[CRASHLYTICS LOG DEBUG] Extracting dump_syms from dump_syms/windows/dump_syms.bin to N:\Projects\TankSurvivor\Builds\Android\develop\Release\.crashlytics\dump_syms.exe
[CRASHLYTICS LOG DEBUG] Extracting object file to .crashlytics
[CRASHLYTICS LOG DEBUG] Breakpad symbol generator initialized: N:\Projects\TankSurvivor\Builds\Android\develop\Release\.crashlytics\dump_syms.exe
[CRASHLYTICS LOG DEBUG] Zipped input file detected: N:\Projects\TankSurvivor\Builds\Android\develop\Release\.\TA_TankSurvivor_Release_v.0.02.01.506-0.02.01-v201-IL2CPP.symbols.zip; unzipping to temp location: C:\Users\Franta\AppData\Local\Temp\crashlytics-f01d0685-7e28-4ec0-8b72-17e99b0323bc\nativeSymbols\1-187029196205-android-e8b5c9e6935cf6bb11a524\breakpad\unzippedLibsCache
[CRASHLYTICS LOG DEBUG] Generating native symbol files for C:\Users\Franta\AppData\Local\Temp\crashlytics-f01d0685-7e28-4ec0-8b72-17e99b0323bc\nativeSymbols\1-187029196205-android-e8b5c9e6935cf6bb11a524\breakpad\unzippedLibsCache; writing output to: C:\Users\Franta\AppData\Local\Temp\crashlytics-f01d0685-7e28-4ec0-8b72-17e99b0323bc\nativeSymbols\1-187029196205-android-e8b5c9e6935cf6bb11a524\breakpad
[CRASHLYTICS LOG DEBUG] 36 native libraries found at C:\Users\Franta\AppData\Local\Temp\crashlytics-f01d0685-7e28-4ec0-8b72-17e99b0323bc\nativeSymbols\1-187029196205-android-e8b5c9e6935cf6bb11a524\breakpad\unzippedLibsCache
[CRASHLYTICS LOG DEBUG] Crashlytics generating Breakpad Symbol file for: C:\Users\Franta\AppData\Local\Temp\crashlytics-f01d0685-7e28-4ec0-8b72-17e99b0323bc\nativeSymbols\1-187029196205-android-e8b5c9e6935cf6bb11a524\breakpad\unzippedLibsCache\arm64-v8a\libcrashlytics-trampoline.so
[CRASHLYTICS LOG DEBUG] Extracting Breakpad symbols to temp file: C:\Users\Franta\AppData\Local\Temp\crashlytics-f01d0685-7e28-4ec0-8b72-17e99b0323bc\nativeSymbols\1-187029196205-android-e8b5c9e6935cf6bb11a524\breakpad\libcrashlytics-trampoline.so15350546551661262856.tmp
[CRASHLYTICS LOG DEBUG] GNU Build Id for C:\Users\Franta\AppData\Local\Temp\crashlytics-f01d0685-7e28-4ec0-8b72-17e99b0323bc\nativeSymbols\1-187029196205-android-e8b5c9e6935cf6bb11a524\breakpad\unzippedLibsCache\arm64-v8a\libcrashlytics-trampoline.so: acf6365f1a57d0513d7e78424b14f07c579aa5fc
[CRASHLYTICS LOG DEBUG] Renaming Breakpad symbol file to: C:\Users\Franta\AppData\Local\Temp\crashlytics-f01d0685-7e28-4ec0-8b72-17e99b0323bc\nativeSymbols\1-187029196205-android-e8b5c9e6935cf6bb11a524\breakpad\crashlytics-trampoline-arm64-acf6365f1a57d0513d7e78424b14f07c579aa5fc.sym
[CRASHLYTICS LOG DEBUG] Generated symbol file: C:\Users\Franta\AppData\Local\Temp\crashlytics-f01d0685-7e28-4ec0-8b72-17e99b0323bc\nativeSymbols\1-187029196205-android-e8b5c9e6935cf6bb11a524\breakpad\crashlytics-trampoline-arm64-acf6365f1a57d0513d7e78424b14f07c579aa5fc.sym (839 bytes)
[CRASHLYTICS LOG DEBUG] Crashlytics generating Breakpad Symbol file for: C:\Users\Franta\AppData\Local\Temp\crashlytics-f01d0685-7e28-4ec0-8b72-17e99b0323bc\nativeSymbols\1-187029196205-android-e8b5c9e6935cf6bb11a524\breakpad\unzippedLibsCache\arm64-v8a\libFirebaseCppAnalytics.so
[CRASHLYTICS LOG DEBUG] Extracting Breakpad symbols to temp file: C:\Users\Franta\AppData\Local\Temp\crashlytics-f01d0685-7e28-4ec0-8b72-17e99b0323bc\nativeSymbols\1-187029196205-android-e8b5c9e6935cf6bb11a524\breakpad\libFirebaseCppAnalytics.so12064853055665658732.tmp
[CRASHLYTICS LOG DEBUG] Cleaning up unzip target dir: C:\Users\Franta\AppData\Local\Temp\crashlytics-f01d0685-7e28-4ec0-8b72-17e99b0323bc\nativeSymbols\1-187029196205-android-e8b5c9e6935cf6bb11a524\breakpad\unzippedLibsCache
[CRASHLYTICS LOG ERROR] Crashlytics execution failed.
java.io.IOException: Breakpad symbol generation failed (exit=1), see STDERR
        at com.google.firebase.crashlytics.buildtools.ndk.internal.breakpad.BreakpadSymbolGenerator.generateSymbols(BreakpadSymbolGenerator.java:129)
        at com.google.firebase.crashlytics.buildtools.Buildtools.generateNativeSymbolFiles(Buildtools.java:306)
        at com.google.firebase.crashlytics.buildtools.Buildtools.generateNativeSymbolFiles(Buildtools.java:280)
        at com.google.firebase.crashlytics.buildtools.CommandLineHelper.executeGenerateSymbols(CommandLineHelper.java:193)
        at com.google.firebase.crashlytics.buildtools.CommandLineHelper.executeCommand(CommandLineHelper.java:125)
        at com.google.firebase.crashlytics.buildtools.CommandLineHelper.main(CommandLineHelper.java:72)
        at com.google.firebase.crashlytics.buildtools.Buildtools.main(Buildtools.java:114)

Error: java command failed with args: -jar,C:\Users\Franta\.cache\firebase\crashlytics\buildtools\crashlytics-buildtools-3.0.2.jar,-symbolGenerator,breakpad,-symbolFileCacheDir,C:\Users\Franta\AppData\Local\Temp\crashlytics-f01d0685-7e28-4ec0-8b72-17e99b0323bc\nativeSymbols\1-187029196205-android-e8b5c9e6935cf6bb11a524\breakpad,-verbose,-generateNativeSymbols,-unstrippedLibrary,./TA_TankSurvivor_Release_v.0.02.01.506-0.02.01-v201-IL2CPP.symbols.zip,-clientName,firebase-cli;crashlytics-buildtools

Java 17 csym:

[2024-10-24T08:01:59.261Z] Buildtools Jar already downloaded at C:\Users\Franta\.cache\firebase\crashlytics\buildtools\crashlytics-buildtools-3.0.2.jar
i  Generating symbols for ./TA_TankSurvivor_Release_v.0.02.01.506-0.02.01-v201-IL2CPP.symbols.zip
[CRASHLYTICS LOG DEBUG] Crashlytics Buildtools initialized.
[CRASHLYTICS LOG DEBUG] Zipped input file detected: N:\Projects\TankSurvivor\Builds\Android\develop\Release\.\TA_TankSurvivor_Release_v.0.02.01.506-0.02.01-v201-IL2CPP.symbols.zip; unzipping to temp location: C:\Users\Franta\AppData\Local\Temp\crashlytics-f1692580-ff14-447b-9382-19c5b55d533e\nativeSymbols\1-187029196205-android-e8b5c9e6935cf6bb11a524\csym\unzippedLibsCache
[CRASHLYTICS LOG DEBUG] Generating native symbol files for C:\Users\Franta\AppData\Local\Temp\crashlytics-f1692580-ff14-447b-9382-19c5b55d533e\nativeSymbols\1-187029196205-android-e8b5c9e6935cf6bb11a524\csym\unzippedLibsCache; writing output to: C:\Users\Franta\AppData\Local\Temp\crashlytics-f1692580-ff14-447b-9382-19c5b55d533e\nativeSymbols\1-187029196205-android-e8b5c9e6935cf6bb11a524\csym
[CRASHLYTICS LOG DEBUG] 36 native libraries found at C:\Users\Franta\AppData\Local\Temp\crashlytics-f1692580-ff14-447b-9382-19c5b55d533e\nativeSymbols\1-187029196205-android-e8b5c9e6935cf6bb11a524\csym\unzippedLibsCache
[CRASHLYTICS LOG DEBUG] Generating native symbol file from: C:\Users\Franta\AppData\Local\Temp\crashlytics-f1692580-ff14-447b-9382-19c5b55d533e\nativeSymbols\1-187029196205-android-e8b5c9e6935cf6bb11a524\csym\unzippedLibsCache\arm64-v8a\libcrashlytics-trampoline.so
[CRASHLYTICS LOG DEBUG] Using DWARF data for cSYM generation.
[CRASHLYTICS LOG DEBUG] Generated symbol file: C:\Users\Franta\AppData\Local\Temp\crashlytics-f1692580-ff14-447b-9382-19c5b55d533e\nativeSymbols\1-187029196205-android-e8b5c9e6935cf6bb11a524\csym\crashlytics-trampoline-aarch64-acf6365f1a57d0513d7e78424b14f07c579aa5fc.cSYM (478 bytes)
[CRASHLYTICS LOG DEBUG] Generating native symbol file from: C:\Users\Franta\AppData\Local\Temp\crashlytics-f1692580-ff14-447b-9382-19c5b55d533e\nativeSymbols\1-187029196205-android-e8b5c9e6935cf6bb11a524\csym\unzippedLibsCache\arm64-v8a\libFirebaseCppAnalytics.so
[CRASHLYTICS LOG DEBUG] Crashlytics could not find a build ID.
[CRASHLYTICS LOG DEBUG] Cleaning up unzip target dir: C:\Users\Franta\AppData\Local\Temp\crashlytics-f1692580-ff14-447b-9382-19c5b55d533e\nativeSymbols\1-187029196205-android-e8b5c9e6935cf6bb11a524\csym\unzippedLibsCache
[CRASHLYTICS LOG ERROR] Crashlytics execution failed.
java.lang.NullPointerException: Cannot invoke "com.google.firebase.crashlytics.buildtools.ndk.internal.csym.CSym$Builder.build()" because the return value of "com.google.firebase.crashlytics.buildtools.ndk.internal.csym.ElfCSymFactory$CSymFactoryHandler.getBuilder()" is null
        at com.google.firebase.crashlytics.buildtools.ndk.internal.csym.ElfCSymFactory.createCSymFromFile(ElfCSymFactory.java:92)
        at com.google.firebase.crashlytics.buildtools.ndk.internal.csym.NdkCSymGenerator.generateSymbolFileFromFile(NdkCSymGenerator.java:39)
        at com.google.firebase.crashlytics.buildtools.ndk.internal.csym.NdkCSymGenerator.generateSymbols(NdkCSymGenerator.java:24)
        at com.google.firebase.crashlytics.buildtools.Buildtools.generateNativeSymbolFiles(Buildtools.java:306)
        at com.google.firebase.crashlytics.buildtools.Buildtools.generateNativeSymbolFiles(Buildtools.java:280)
        at com.google.firebase.crashlytics.buildtools.CommandLineHelper.executeGenerateSymbols(CommandLineHelper.java:193)
        at com.google.firebase.crashlytics.buildtools.CommandLineHelper.executeCommand(CommandLineHelper.java:125)
        at com.google.firebase.crashlytics.buildtools.CommandLineHelper.main(CommandLineHelper.java:72)
        at com.google.firebase.crashlytics.buildtools.Buildtools.main(Buildtools.java:114)

Error: java command failed with args: -jar,C:\Users\Franta\.cache\firebase\crashlytics\buildtools\crashlytics-buildtools-3.0.2.jar,-symbolGenerator,csym,-symbolFileCacheDir,C:\Users\Franta\AppData\Local\Temp\crashlytics-f1692580-ff14-447b-9382-19c5b55d533e\nativeSymbols\1-187029196205-android-e8b5c9e6935cf6bb11a524\csym,-verbose,-generateNativeSymbols,-unstrippedLibrary,./TA_TankSurvivor_Release_v.0.02.01.506-0.02.01-v201-IL2CPP.symbols.zip,-clientName,firebase-cli;crashlytics-buildtools
@mrober
Copy link
Contributor

mrober commented Nov 29, 2024

Thanks for reporting this @FrantisekHolubec. I am able to reproduce this.

For now, you can work around this by manually unzipping the symbols, and removing all libFirebaseCpp* files from each arch.

I think this behaviour might be new, I don't remember Unity including Firebase libs in the output. I will update our build tools to handle it, but it will likely not get released until next year. If this workaround does not work for you, I can build you a prerelease of the build tools binaries.

@FrantisekHolubec
Copy link
Author

Thank you @mrober removing libFirebaseCpp* files worked, I integrated it into our pipeline until the new version gets released.

@UnwindGamesDeveloper
Copy link

Any ETA for this fix ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants