Description

Projects that are deployed in the Debug configuration crash when trying to load mips on the Android device.

I do not see this issue when launching a project onto Android using the Test configuration.

Steps to Reproduce

1. Open UE4Editor
2. Create a new First Person Blueprint project
3. Select Edit > Editor Preferences > Play > Play on Device
4. Set Launch Configuration = Debug
5. Close the Editor Preferences
6. Select the drop down arrow to the right of the Launch button
7. Select the Android device in the Launch On menu

RESULT:
The project deploys to the Android device then crashes while loading.

Callstack
[2017.01.19-23.29.13:057][365]LogPlayLevel: adb: 01-19 18:29:13.466 29605 29646 D UE4     : Assertion failed: !Mip.BulkData.GetFilename().EndsWith(TEXT(".ubulk")) [File:/media/epicdev/e03f0d60-fd8b-4ccf-8582-d08e81908c25/GitEngine/UnrealEngine-4.15-3263267/Engine/Source/Runtime/Engine/Private/TextureDerivedData.cpp] [Line: 1169]
[2017.01.19-23.29.13:058][365]LogPlayLevel: adb: 01-19 18:29:13.466 29605 29646 D UE4     : libUE4.so!FDebug::LogAssertFailedMessage(char const*, char const*, int, wchar_t const*, ...)
[2017.01.19-23.29.13:058][365]LogPlayLevel: adb: 01-19 18:29:13.466 29605 29646 D UE4     : libUE4.so!FTexturePlatformData::TryLoadMips(int, void**)
[2017.01.19-23.29.13:058][365]LogPlayLevel: adb: 01-19 18:29:13.466 29605 29646 D UE4     : libUE4.so!UTexture2D::GetMipData(int, void**)
[2017.01.19-23.29.13:058][365]LogPlayLevel: adb: 01-19 18:29:13.466 29605 29646 D UE4     : libUE4.so!FTexture2DResource::FTexture2DResource(UTexture2D*, int)
[2017.01.19-23.29.13:059][365]LogPlayLevel: adb: 01-19 18:29:13.466 29605 29646 D UE4     : libUE4.so!UTexture2D::CreateResource()
[2017.01.19-23.29.13:059][365]LogPlayLevel: adb: 01-19 18:29:13.466 29605 29646 D UE4     : libUE4.so!UTexture::UpdateResource()
[2017.01.19-23.29.13:059][365]LogPlayLevel: adb: 01-19 18:29:13.466 29605 29646 D UE4     : libUE4.so!UTexture2D::UpdateResource()
[2017.01.19-23.29.13:059][365]LogPlayLevel: adb: 01-19 18:29:13.466 29605 29646 D UE4     : libUE4.so!UTexture::PostLoad()
[2017.01.19-23.29.13:059][365]LogPlayLevel: adb: 01-19 18:29:13.466 29605 29646 D UE4     : libUE4.so!UTexture2D::PostLoad()
[2017.01.19-23.29.13:060][365]LogPlayLevel: adb: 01-19 18:29:13.466 29605 29646 D UE4     : libUE4.so!UObject::ConditionalPostLoad()
[2017.01.19-23.29.13:060][365]LogPlayLevel: adb: 01-19 18:29:13.466 29605 29646 D UE4     : libUE4.so!EndLoad()
[2017.01.19-23.29.13:060][365]LogPlayLevel: adb: 01-19 18:29:13.466 29605 29646 D UE4     : libUE4.so![Unknown]()
[2017.01.19-23.29.13:060][365]LogPlayLevel: adb: 01-19 18:29:13.466 29605 29646 D UE4     : libUE4.so![Unknown]()
[2017.01.19-23.29.13:061][365]LogPlayLevel: adb: 01-19 18:29:13.466 29605 29646 D UE4     : libUE4.so!LoadPackageInternal(UPackage*, wchar_t const*, unsigned int, FLinkerLoad*)
[2017.01.19-23.29.13:061][365]LogPlayLevel: adb: 01-19 18:29:13.466 29605 29646 D UE4     : libUE4.so!LoadPackage(UPackage*, wchar_t const*, unsigned int)
[2017.01.19-23.29.13:061][365]LogPlayLevel: adb: 01-19 18:29:13.466 29605 29646 D UE4     : libUE4.so!ResolveName(UObject*&, FString&, bool, bool, unsigned int)
[2017.01.19-23.29.13:062][365]LogPlayLevel: adb: 01-19 18:29:13.466 29605 29646 D UE4     : libUE4.so!StaticLoadObjectInternal(UClass*, UObject*, wchar_t const*, wchar_t const*, unsigned int, UPackageMap*, bool)
[2017.01.19-23.29.13:062][365]LogPlayLevel: adb: 01-19 18:29:13.466 29605 29646 D UE4     : libUE4.so!StaticLoadObject(UClass*, UObject*, wchar_t const*, wchar_t const*, unsigned int, UPackageMap*, bool)
[2017.01.19-23.29.13:062][365]LogPlayLevel: adb: 01-19 18:29:13.466 29605 29646 D UE4     : libUE4.so!UMaterialInterface* LoadObject<UMaterialInterface>(UObject*, wchar_t const*, wchar_t const*, unsigned int, UPackageMap*)
[2017.01.19-23.29.13:063][365]LogPlayLevel: adb: 01-19 18:29:13.466 29605 29646 D UE4     : libUE4.so!UMaterialInterface* ConstructorHelpersInternal::FindOrLoadObject<UMaterialInterface>(FString&)
[2017.01.19-23.29.13:063][365]LogPlayLevel: adb: 01-19 18:29:13.466 29605 29646 D UE4     : libUE4.so!ConstructorHelpers::FObjectFinder<UMaterialInterface>::FObjectFinder(wchar_t const*)
[2017.01.19-23.29.13:063][365]LogPlayLevel: adb: 01-19 18:29:13.466 29605 29646 D UE4     : libUE4.so!UWidgetComponent::UWidgetComponent(FObjectInitializer const&)
[2017.01.19-23.29.13:063][365]LogPlayLevel: adb: 01-19 18:29:13.466 29605 29646 D UE4     : libUE4.so!UWidgetComponent::__DefaultConstructor(FObjectInitializer const&)
[2017.01.19-23.29.13:064][365]LogPlayLevel: adb: 01-19 18:29:13.466 29605 29646 D UE4     : libUE4.so!void InternalConstructor<UWidgetComponent>(FObjectInitializer const&)
[2017.01.19-23.29.13:064][365]LogPlayLevel: adb: 01-19 18:29:13.466 29605 29646 D UE4     : libUE4.so!UClass::CreateDefaultObject()
[2017.01.19-23.29.13:064][365]LogPlayLevel: adb: 01-19 18:29:13.466 29605 29646 D UE4     : libUE4.so!UClass::GetDefaultObject(bool)
[2017.01.19-23.29.13:064][365]LogPlayLevel: adb: 01-19 18:29:13.466 29605 29646 D UE4     : libUE4.so![Unknown]()
[2017.01.19-23.29.13:065][365]LogPlayLevel: adb: 01-19 18:29:13.466 29605 29646 D UE4     : libUE4.so!ProcessNewlyLoadedUObjects()
[2017.01.19-23.29.13:065][365]LogPlayLevel: adb: 01-19 18:29:13.466 29605 29646 D UE4     : libUE4.so!FEngineLoop::PreInit(wchar_t const*)
[2017.01.19-23.29.13:065][365]LogPlayLevel: adb: 01-19 18:29:13.466 29605 29646 D UE4     : libUE4.so!FEngineLoop::PreInit(int, wchar_t**, wchar_t const*)
[2017.01.19-23.29.13:065][365]LogPlayLevel: adb: 01-19 18:29:13.466 29605 29646 D UE4     : libUE4.so!AndroidMain(android_app*)
[2017.01.19-23.29.13:066][365]LogPlayLevel: adb: 01-19 18:29:13.466 29605 29646 D UE4     : libUE4.so!android_main()
[2017.01.19-23.29.13:066][365]LogPlayLevel: adb: 01-19 18:29:13.466 29605 29646 D UE4     : libUE4.so![Unknown]()
[2017.01.19-23.29.13:066][365]LogPlayLevel: adb: 01-19 18:29:13.466 29605 29646 D UE4     : libc.so![Unknown]()
[2017.01.19-23.29.13:066][365]LogPlayLevel: adb: 01-19 18:29:13.466 29605 29646 D UE4     : libc.so![Unknown]()
[2017.01.19-23.29.13:066][365]LogPlayLevel: adb: 01-19 18:29:13.467 29605 29646 D UE4     : [2017.01.19-23.29.13:467][-1744653112]Assertion failed: Assertion failed: !Mip.BulkData.GetFilename().EndsWith(TEXT(".ubulk")) [File:/media/epicdev/e03f0d60-fd8b-4ccf-8582-d08e81908c25/GitEngine/UnrealEngine-4.15-3263267/Engine/Source/Runtime/Engine/Private/TextureDerivedData.cpp] [Line: 1169]
[2017.01.19-23.29.13:067][365]LogPlayLevel: CommandUtils.Run: Run: Took 0.053672s to run adb, ExitCode=0
[2017.01.19-23.29.13:067][365]LogPlayLevel: CommandUtils.Run: Run: /home/epicdev/NVPACK/android-sdk-linux/platform-tools/adb -s 052727ec002e8428 logcat -d
[2017.01.19-23.29.13:068][365]LogPlayLevel: CommandUtils.Run: Run: Took 0.060341s to run adb, ExitCode=0

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-40927 in the post.

0
Login to Vote

Fixed
ComponentUE - Platform - Mobile
Affects Versions4.15
Target Fix4.15
Fix Commit3271611
Main Commit3389599
Release Commit3271611
CreatedJan 20, 2017
ResolvedJan 25, 2017
UpdatedSep 16, 2019
View Jira Issue