Crash on Android build in Unreal Engine 4.27
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- android, cpp, unreal-engine
- Domain
- mobile-dev
Research direction
Start by reproducing the Android package with Firebase C++ SDK 11.8.0, Unreal Engine 4.27, and App plus Analytics enabled, then inspect the crash around firebase::analytics::Initialize, FFirebaseFeaturesModule::InitAnalytics, and firebase::util::LookupMethodIds in the provided stack trace. Done means the Android build starts without this initialization crash and the relevant logs identify the cause or required configuration.
Written by the indexing model from the issue text.
Description
[REQUIRED] Please fill in the following fields:
- Pre-built SDK from the website or open-source from this repo: prebuilt from this repo on Release page
- Firebase C++ SDK version: 11.8.0
- Main Firebase Components in concern: App and Analytics
- Other Firebase Components in use: N/A
- Platform you are using the C++ SDK on: Windows with Unreal Engine 4.27, build against Android
- Platform you are targeting: Android
[REQUIRED] Please describe the question here:
I was able to configure, build and run it successfully forWindows (at least enough to open the UE Editor and compile everything) and for iOS.
However, for Android, although the build and packaging were successful, I’m experiencing crashes with the following log:
10-30 03:35:26.449 15366 15366 F DEBUG : #01 pc 000000000ee04550 /data/app/~~ZOS4CW4RUmUrOYdsNF0PXw==/REDACTED-z_pBagApFrHqXcfVrb89dw==/lib/arm64/libUE4.so (BuildId: 965c4c49fab773fdc15d34c39aa0e6ebdec27df7)
10-30 03:35:26.449 15366 15366 F DEBUG : #02 pc 000000000ee04610 /data/app/~~ZOS4CW4RUmUrOYdsNF0PXw==/REDACTED-z_pBagApFrHqXcfVrb89dw==/lib/arm64/libUE4.so (firebase::LogMessageWithCallbackV(firebase::LogLevel, char const*, std::__va_list)+188) (BuildId: 965c4c49fab773fdc15d34c39aa0e6ebdec27df7)
10-30 03:35:26.449 15366 15366 F DEBUG : #03 pc 000000000ee04994 /data/app/~~ZOS4CW4RUmUrOYdsNF0PXw==/REDACTED-z_pBagApFrHqXcfVrb89dw==/lib/arm64/libUE4.so (firebase::LogAssert(char const*, ...)+124) (BuildId: 965c4c49fab773fdc15d34c39aa0e6ebdec27df7)
10-30 03:35:26.449 15366 15366 F DEBUG : #04 pc 000000000ee17724 /data/app/~~ZOS4CW4RUmUrOYdsNF0PXw==/REDACTED-z_pBagApFrHqXcfVrb89dw==/lib/arm64/libUE4.so (firebase::util::LookupMethodIds(_JNIEnv*, _jclass*, firebase::util::MethodNameSignature const*, unsigned long, _jmethodID**, char const*)+436) (BuildId: 965c4c49fab773fdc15d34c39aa0e6ebdec27df7)
10-30 03:35:26.449 15366 15366 F DEBUG : #05 pc 000000000ee665f4 /data/app/~~ZOS4CW4RUmUrOYdsNF0PXw==/REDACTED-z_pBagApFrHqXcfVrb89dw==/lib/arm64/libUE4.so (firebase::analytics::Initialize(firebase::App const&)+224) (BuildId: 965c4c49fab773fdc15d34c39aa0e6ebdec27df7)
10-30 03:35:26.449 15366 15366 F DEBUG : #06 pc 00000000086faac8 /data/app/~~ZOS4CW4RUmUrOYdsNF0PXw==/REDACTED-z_pBagApFrHqXcfVrb89dw==/lib/arm64/libUE4.so (FFirebaseFeaturesModule::InitAnalytics()+60) (BuildId: 965c4c49fab773fdc15d34c39aa0e6ebdec27df7)
10-30 03:35:26.449 15366 15366 F DEBUG : #07 pc 00000000086fa690 /data/app/~~ZOS4CW4RUmUrOYdsNF0PXw==/REDACTED-z_pBagApFrHqXcfVrb89dw==/lib/arm64/libUE4.so (FFirebaseFeaturesModule::InitializeFirebaseComponents()+72) (BuildId: 965c4c49fab773fdc15d34c39aa0e6ebdec27df7)
10-30 03:35:26.449 15366 15366 F DEBUG : #08 pc 0000000009e3c77c /data/app/~~ZOS4CW4RUmUrOYdsNF0PXw==/REDACTED-z_pBagApFrHqXcfVrb89dw==/lib/arm64/libUE4.so (FModuleManager::LoadModuleWithFailureReason(FName, EModuleLoadResult&)+2408) (BuildId: 965c4c49fab773fdc15d34c39aa0e6ebdec27df7)
10-30 03:35:26.449 15366 15366 F DEBUG : #09 pc 000000000a098054 /data/app/~~ZOS4CW4RUmUrOYdsNF0PXw==/REDACTED-z_pBagApFrHqXcfVrb89dw==/lib/arm64/libUE4.so (FModuleDescriptor::LoadModulesForPhase(ELoadingPhase::Type, TArray<FModuleDescriptor, TSizedDefaultAllocator<32> > const&, TMap<FName, EModuleLoadResult, FDefaultSetAllocator, TDefaultMapHashableKeyFuncs<FName, EModuleLoadResult, false> >&)+468) (BuildId: 965c4c49fab773fdc15d34c39aa0e6ebdec27df7)
10-30 03:35:26.449 15366 15366 F DEBUG : #10 pc 000000000a0ab1d8 /data/app/~~ZOS4CW4RUmUrOYdsNF0PXw==/REDACTED-z_pBagApFrHqXcfVrb89dw==/lib/arm64/libUE4.so (FPluginManager::TryLoadModulesForPlugin(FPlugin const&, ELoadingPhase::Type) const+104) (BuildId: 965c4c49fab773fdc15d34c39aa0e6ebdec27df7)
10-30 03:35:26.449 15366 15366 F DEBUG : #11 pc 000000000a0ad248 /data/app/~~ZOS4CW4RUmUrOYdsNF0PXw==/REDACTED-z_pBagApFrHqXcfVrb89dw==/lib/arm64/libUE4.so (FPluginManager::LoadModulesForEnabledPlugins(ELoadingPhase::Type)+1044) (BuildId: 965c4c49fab773fdc15d34c39aa0e6ebdec27df7)
10-30 03:35:26.449 15366 15366 F DEBUG : #12 pc 00000000086c4300 /data/app/~~ZOS4CW4RUmUrOYdsNF0PXw==/REDACTED-z_pBagApFrHqXcfVrb89dw==/lib/arm64/libUE4.so (FEngineLoop::LoadStartupModules()+320) (BuildId: 965c4c49fab773fdc15d34c39aa0e6ebdec27df7)
10-30 03:35:26.449 15366 15366 F DEBUG : #13 pc 00000000086c1b08 /data/app/~~ZOS4CW4RUmUrOYdsNF0PXw==/REDACTED-z_pBagApFrHqXcfVrb89dw==/lib/arm64/libUE4.so (FEngineLoop::PreInitPostStartupScreen(char16_t const*)+9420) (BuildId: 965c4c49fab773fdc15d34c39aa0e6ebdec27df7)
10-30 03:35:26.449 15366 15366 F DEBUG : #14 pc 00000000086a5804 /data/app/~~ZOS4CW4RUmUrOYdsNF0PXw==/REDACTED-z_pBagApFrHqXcfVrb89dw==/lib/arm64/libUE4.so (FEngineLoop::PreInit(int, char16_t**, char16_t const*)+100) (BuildId: 965c4c49fab773fdc15d34c39aa0e6ebdec27df7)
10-30 03:35:26.449 15366 15366 F DEBUG : #15 pc 00000000086a5310 /data/app/~~ZOS4CW4RUmUrOYdsNF0PXw==/REDACTED-z_pBagApFrHqXcfVrb89dw==/lib/arm64/libUE4.so (AndroidMain(android_app*)+3424) (BuildId: 965c4c49fab773fdc15d34c39aa0e6ebdec27df7)
10-30 03:35:26.449 15366 15366 F DEBUG : #16 pc 00000000086b50f8 /data/app/~~ZOS4CW4RUmUrOYdsNF0PXw==/REDACTED-z_pBagApFrHqXcfVrb89dw==/lib/arm64/libUE4.so (android_main+164) (BuildId: 965c4c49fab773fdc15d34c39aa0e6ebdec27df7)
10-30 03:35:26.449 15366 15366 F DEBUG : #17 pc 00000000086e45bc /data/app/~~ZOS4CW4RUmUrOYdsNF0PXw==/REDACTED-z_pBagApFrHqXcfVrb89dw==/lib/arm64/libUE4.so (BuildId: 965c4c49fab773fdc15d34c39aa0e6ebdec27df7)
Could anyone help me investigate this or give me any clues as to what it might be? I currently don’t have any leads on the cause.
Thank you.
- Dominant language
- C++
- Stars
- 326
- Forks
- 138
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 3
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from firebase/firebase-cpp-sdk
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
firebase/firebase-cpp-sdk#1905 · 2 comments ·
-
api: firestore
Difficulty 5/5 Over a week Newbie friendliness 35/100
firebase/firebase-cpp-sdk#1920 · 3 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 70/100
firebase/firebase-cpp-sdk#1904 · 1 comment ·
-
new type: question
Difficulty 4/5 3-5 days Newbie friendliness 45/100
firebase/firebase-cpp-sdk#1892 · 1 comment ·
-
nightly-testing
Difficulty 4/5 3-5 days Newbie friendliness 25/100
firebase/firebase-cpp-sdk#1859 ·
All issues in firebase/firebase-cpp-sdk
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
ros2/message_filters#338 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
subsurface/subsurface#4984 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
flutter-webrtc/flutter-webrtc#2206 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
google-ai-edge/LiteRT-LM#3739 ·