Description

Generated from CrashReporter

Steps to Reproduce

1. Import attached DDS file
2. Crash

Happens because the DDS file is using the old (pre-DX10) header format.

Callstack
Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000004

UE4Editor-Core!ReportCrash(_EXCEPTION_POINTERS *) [WindowsPlatformCrashContext.cpp:1288]
UE4Editor!`GuardedMainWrapper'::`1'::filt$0  [LaunchWindows.cpp:137]
VCRUNTIME140!e8250000  + b900
ntdll!2080000  + a11ff
ntdll!2080000  + 6a289
ntdll!2080000  + 9fe6e
UE4Editor-Engine!FDDSLoadHelper::IsValidCubemapTexture() [DDSLoader.cpp:158]
UE4Editor-UnrealEd!UTextureFactory::ImportTexture(UClass *,UObject *,FName,EObjectFlags,wchar_t const *,unsigned char const * &,unsigned char const *,FFeedbackContext *) [EditorFactories.cpp:3804]
UE4Editor-UnrealEd!UTextureFactory::FactoryCreateBinary(UClass *,UObject *,FName,EObjectFlags,UObject *,wchar_t const *,unsigned char const * &,unsigned char const *,FFeedbackContext *) [EditorFactories.cpp:4259]
UE4Editor-UnrealEd!UFactory::FactoryCreateBinary(UClass *,UObject *,FName,EObjectFlags,UObject *,wchar_t const *,unsigned char const * &,unsigned char const *,FFeedbackContext *,bool &) [Factory.h:338]
UE4Editor-UnrealEd!UFactory::FactoryCreateFile(UClass *,UObject *,FName,EObjectFlags,FString const &,wchar_t const *,FFeedbackContext *,bool &) [Factory.cpp:99]
UE4Editor-UnrealEd!UFactory::ImportObject(UClass *,UObject *,FName,EObjectFlags,FString const &,wchar_t const *,bool &) [Factory.cpp:187]
UE4Editor-AssetTools!UAssetToolsImpl::ImportAssetsInternal(TArray<FString,TSizedDefaultAllocator<32> > const &,FString const &,TArray<TTuple<FString,FString>,TSizedDefaultAllocator<32> > *,FAssetImportParams const &) [AssetTools.cpp:1998]
UE4Editor-AssetTools!UAssetToolsImpl::ImportAssets(TArray<FString,TSizedDefaultAllocator<32> > const &,FString const &,UFactory *,bool,TArray<TTuple<FString,FString>,TSizedDefaultAllocator<32> > *) [AssetTools.cpp:1223]
UE4Editor-UnrealEd!FImportFilesByPath::Run() [ImportSubsystem.cpp:95]
UE4Editor-UnrealEd!UImportSubsystem::HandleNextTick() [ImportSubsystem.cpp:138]
UE4Editor-Engine!FTimerUnifiedDelegate::Execute() [TimerManager.h:51]
UE4Editor-Engine!FTimerManager::Tick(float) [TimerManager.cpp:881]
UE4Editor-UnrealEd!UEditorEngine::Tick(float,bool) [EditorEngine.cpp:1346]
UE4Editor-UnrealEd!UUnrealEdEngine::Tick(float,bool) [UnrealEdEngine.cpp:410]
UE4Editor!FEngineLoop::Tick() [LaunchEngineLoop.cpp:4485]
UE4Editor!GuardedMain(wchar_t const *,HINSTANCE__ *,HINSTANCE__ *,int) [Launch.cpp:173]
UE4Editor!GuardedMainWrapper(wchar_t const *,HINSTANCE__ *,HINSTANCE__ *,int) [LaunchWindows.cpp:134]
UE4Editor!WinMain  [LaunchWindows.cpp:263]
UE4Editor!__scrt_common_main_seh  [exe_common.inl:288]
KERNEL32!1d50000  + 17bd4
ntdll!2080000  + 6ced1

Have Comments or More Details?

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

0
Login to Vote

Fixed
ComponentUE - Graphics Features
Affects Versions4.24
Target Fix4.24.2
Fix Commit10928324
Main Commit10928326
Release Commit10928324
CreatedDec 2, 2019
ResolvedJan 9, 2020
UpdatedJan 26, 2021
View Jira Issue