Developer Notes

Workaround: Open .uproject in a text editor and set: "Enterprise": false,

Description

AR App fails to open on Android: Assertion failed referencing LaunchAndroid.cpp:415 when Unreal Datasmith is installed.

10-11 11:22:57.499: D/UE4(18917): LogAndroid: Error: Assertion failed: false [File:D:\Build\++UE4\Sync\Engine\Source\Runtime\Launch\Private\Android\LaunchAndroid.cpp] [Line: 415] 

HHAR_R421.log[Image Removed] is the engine project log from packaging the project.
UE4DeviceLog.txt[Image Removed] is the device log filtered for UE4 from the shipping build.
UE4DeviceLogDev.txt[Image Removed] is the device log filtered for UE4 from the development build.

This did not occur during 4.20 regression and hotfix passes so I am marking this as a regression.

If anymore information is needed for this issue, please place in NMI and we can gather the information after our pass.

Steps to Reproduce

Development package can be found at: ((Path Containing Employee Name Moved to Private Comments for Promotion to Public Tracker)

  1. Have Unreal Datasmith plugin installed for the engine
  2. Create a new Blueprint HandheldAR project
  3. Package the project for Android (ASTC)
    • ARCore plugin enabled
    • Android Min and Target SDK - 24
    • Android NDK API level - 24
  4. Connect the Android device to the PC
  5. Run the Install batch file from the package folder location
  6. Tap the App icon to launch

Result: App fails to launch/load
Expected Result: App launches

Callstack
10-11 11:22:57.498: D/UE4(18917): LogPluginManager: Error: Unable to load plugin 'DatasmithImporter'. Aborting.
10-11 11:22:57.499: D/UE4(18917): Assertion failed: false [File:D:\Build\++UE4\Sync\Engine\Source\Runtime\Launch\Private\Android\LaunchAndroid.cpp] [Line: 415] 
10-11 11:22:57.499: D/UE4(18917): Engine Preinit Failed
10-11 11:22:57.499: D/UE4(18917): Assertion failed: false [File:D:\Build\++UE4\Sync\Engine\Source\Runtime\Launch\Private\Android\LaunchAndroid.cpp] [Line: 415] 
10-11 11:22:57.499: D/UE4(18917): Engine Preinit Failed
10-11 11:22:57.499: D/UE4(18917): LogAndroid: Error: === Critical error: ===
10-11 11:22:57.499: D/UE4(18917): LogAndroid: Error: 
10-11 11:22:57.499: D/UE4(18917): LogAndroid: Error: Assertion failed: false [File:D:\Build\++UE4\Sync\Engine\Source\Runtime\Launch\Private\Android\LaunchAndroid.cpp] [Line: 415] 
10-11 11:22:57.499: D/UE4(18917): LogAndroid: Error: Engine Preinit Failed
10-11 11:22:57.499: D/UE4(18917): LogAndroid: Error: [Callstack] 0x00000000C2A7DCF8 (0x00000000031B2CF8) libUE4.so!StaticFailDebug(char16_t const*, char const*, int, char16_t const*, bool)  []
10-11 11:22:57.499: D/UE4(18917): LogAndroid: Error: [Callstack] 0x00000000C2A7E540 (0x00000000031B3540) libUE4.so!FDebug::LogAssertFailedMessageImpl(char const*, char const*, int, char16_t const*, ...)  []
10-11 11:22:57.499: D/UE4(18917): LogAndroid: Error: [Callstack] 0x00000000C219F164 (0x00000000028D4164) libUE4.so!AndroidMain(android_app*)  []
10-11 11:22:57.499: D/UE4(18917): LogAndroid: Error: [Callstack] 0x00000000C21AC7F8 (0x00000000028E17F8) libUE4.so!android_main()  []
10-11 11:22:57.499: D/UE4(18917): LogAndroid: Error: [Callstack] 0x00000000C21CDFFC (0x0000000002902FFC) libUE4.so![Unknown]()  []
10-11 11:22:57.499: D/UE4(18917): LogAndroid: Error: [Callstack] 0x00000000E934D008 (0x0000000000049008) libc.so![Unknown]()  []
10-11 11:22:57.499: D/UE4(18917): LogAndroid: Error: [Callstack] 0x00000000E931F8E2 (0x000000000001B8E2) libc.so![Unknown]()  []
10-11 11:22:57.499: D/UE4(18917): LogAndroid: Error: 
10-11 11:22:57.499: D/UE4(18917): LogAndroid: Error: 
10-11 11:22:57.501: D/UE4(18917): LogWindows: FAndroidMisc::RequestExit(1)

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-65085 in the post.

7
Login to Vote

Unresolved
ComponentTools - Datasmith
Affects Versions4.214.22
Target Fix4.26
CreatedOct 11, 2018
UpdatedMar 3, 2020