When using nullrhi, the Texture->Resource variable in UAsyncTaskDownloadImage::HandleImageRequest is null and a crash occurs in WriteRawToTexture_RenderThread.
Result
The game crushes (see call stack)
UE4Game.exe!FTexture2DDynamicResource::GetTexture2DRHI() Line 81 C++ Symbols loaded. UE4Game.exe!WriteRawToTexture_RenderThread(FTexture2DDynamicResource * TextureResource, TArray<unsigned char,TSizedDefaultAllocator<64>> * RawData, bool bUseSRGB) Line 23 C++ Symbols loaded. UE4Game.exe!TGraphTask<TEnqueueUniqueRenderCommandType<`UAsyncTaskDownloadImage::HandleImageRequest'::`18'::FWriteRawDataToTextureName,<lambda_5b8d6e544bf2cdcf9314ad29dca60d99>>>::ExecuteTask(TArray<FBaseGraphTask *,TSizedDefaultAllocator<32>> & NewTasks, ENamedThreads::Type CurrentThread) Line 852 C++ Symbols loaded. [Inline Frame] UE4Game.exe!FBaseGraphTask::Execute(TArray<FBaseGraphTask *,TSizedDefaultAllocator<32>> & CurrentThread, ENamedThreads::Type) Line 516 C++ Symbols loaded. UE4Game.exe!FNamedTaskThread::ProcessTasksNamedThread(int QueueIndex, bool bAllowStall) Line 692 C++ Symbols loaded. UE4Game.exe!FNamedTaskThread::ProcessTasksUntilQuit(int QueueIndex) Line 587 C++ Symbols loaded. UE4Game.exe!RenderingThreadMain(FEvent * TaskGraphBoundSyncEvent) Line 341 C++ Symbols loaded. UE4Game.exe!FRenderingThread::Run() Line 492 C++ Symbols loaded.
How does TextureRenderTarget2D get TArray<uint8> type data?
Why does the REMOVE method of map container remove elements have memory leaks?
How to delete some elements correctly when deleting an array loop?
How do I set a material as a post-processing material?
What is the cause of the packaging error falling back to 'GameUserSettings' in ue5?
What is the difference between Camera and CineCamera?
How to assign a value to a member of UMG's UMaterialInterface pointer type in C++?
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-100741 in the post.
0 |
Component | UE - Editor - UI Systems |
---|---|
Affects Versions | 4.25 |
Target Fix | 4.26 |
Created | Oct 8, 2020 |
---|---|
Resolved | Oct 26, 2020 |
Updated | Apr 27, 2021 |