Description

This is a regression tested in //UE4/Release-4.27 cl18319896

Editor crashes after importing a 16k Normal Map while Unreal Real is Preparing Texture. Other non-normal maps seem to work without issue.

I'll include a link to a 16k Normal Map in the comments.

Steps to Reproduce
  1. Create or open any project
  2. Import a 16,384 x 16384 pixel Normal Map using either the import tool or 'Drag and Drop'
  3. Wait for the 'Preparing Textures' process to end

Expected Results:
Preparing Textures completes and the asset is in the content browser.

Actual Results:
The editor crashes with an Assertion during the process.

Assertion failed: toPtr == toEnd [File:v:\devel\projects\oodle2\texture\blocksurface.cpp] [Line: 549]
Callstack
Assertion failed: toPtr == toEnd [File:v:\devel\projects\oodle2\texture\blocksurface.cpp] [Line: 549]
KERNELBASE!7ffde3e10000  + 43fa9
UnrealEditor-Core!ReportAssert(wchar_t const *,void *) [WindowsPlatformCrashContext.cpp:1807]
UnrealEditor-Core!FWindowsErrorOutputDevice::Serialize(wchar_t const *,ELogVerbosity::Type,FName const &) [WindowsErrorOutputDevice.cpp:76]
UnrealEditor-Core!FOutputDevice::LogfImpl(wchar_t const *,...) [OutputDevice.cpp:61]
UnrealEditor-Core!static void AssertFailedImplV(const char *, const char *, int, void *, const wchar_t *, char *) [AssertionMacros.cpp:149]
UnrealEditor-Core!FDebug::AssertFailed(char const *,char const *,int,wchar_t const *,...) [AssertionMacros.cpp:534]
UnrealEditor-TextureFormatOodle!7ffd41b80000  + 77fd
oo2tex_win64_2.9.5!7ffd41ac0000  + 3aa66
oo2tex_win64_2.9.5!7ffd41ac0000  + 3ab11
oo2tex_win64_2.9.5!7ffd41ac0000  + 2ad9
UnrealEditor-TextureFormatOodle!7ffd41b80000  + 49f5
UnrealEditor-TextureFormatOodle!7ffd41b80000  + 4c27
UnrealEditor-TextureCompressor!7ffd47040000  + 8cec
UnrealEditor-TextureCompressor!7ffd47040000  + b589
UnrealEditor-TextureCompressor!7ffd47040000  + ff71
UnrealEditor-Core!LowLevelTasks::FTask::ExecuteTask() [Task.h:426]
UnrealEditor-Core!LowLevelTasks::FScheduler::TryExecuteTaskFrom<&LowLevelTasks::TLocalQueueRegistry<1024>::TLocalQueue::DequeueGlobal(bool,bool) [Scheduler.cpp:280]
UnrealEditor-Core!LowLevelTasks::FScheduler::WorkerMain(LowLevelTasks::FSleepEvent *,LowLevelTasks::TLocalQueueRegistry<1024>::TLocalQueue *,unsigned int,bool) [Scheduler.cpp:320]
UnrealEditor-Core!static void UE::Core::Private::Function::TFunctionRefCaller<<lambda_776551d1e343b6cb7eaf0e5521c77c81>,void __cdecl(void) [Function.h:549]
UnrealEditor-Core!FThreadImpl::Run() [Thread.cpp:69]
UnrealEditor-Core!FRunnableThreadWin::Run() [WindowsRunnableThread.cpp:146]
UnrealEditor-Core!FRunnableThreadWin::GuardedRun() [WindowsRunnableThread.cpp:76]
KERNEL32!7ffde5130000  + 17c24
ntdll!7ffde6120000  + 6d721

Have Comments or More Details?

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

0
Login to Vote

Fixed
ComponentUE - Texture
Affects Versions5.0.3
Target Fix5.1
Fix Commit19100346
CreatedSep 12, 2022
ResolvedSep 14, 2022
UpdatedOct 12, 2022