Description

Generating mip maps results in crash and seems to duplicated 1x1 mip level.

 

NOTE: The bug was originally reported in 4.23.1, however, for some reason I was able to open the texture in 4.23.1 after testing in Main (crashes in Main) and was not able to receive the crash in 4.23.1 after. I would recommend trying to open in 4.23.1 as well. (attached image) 

 

Tested in: 4.22.3 CL#7053642 , 4.23.1 CL#9631420 , 4.25 CL#10868506

Steps to Reproduce
  1. Open attached project in 4.24 or 4.25
  2. Right click or double left click on the texture "T_Chain_Link_Grate_01_MIP"

 

Result: Crash

Expected: Open the texture file or right-click pop-up menu

Callstack

Assertion failed: OutMipChain.Num() == NumOutputMips [Link Removed] [Line: 2306]

UE4Editor_Core!AssertFailedImplV() [d:\build\++ue4\sync\engine\source\runtime\core\private\misc\assertionmacros.cpp:105]
UE4Editor_Core!FDebug::CheckVerifyFailedImpl() [d:\build\++ue4\sync\engine\source\runtime\core\private\misc\assertionmacros.cpp:455]
UE4Editor_TextureCompressor!FTextureCompressorModule::BuildTextureMips() [d:\build\++ue4\sync\engine\source\developer\texturecompressor\private\texturecompressormodule.cpp:2306]
UE4Editor_TextureCompressor!FTextureCompressorModule::BuildTexture() [d:\build\++ue4\sync\engine\source\developer\texturecompressor\private\texturecompressormodule.cpp:1989]
UE4Editor_Engine!FTextureCacheDerivedDataWorker::BuildTexture() [d:\build\++ue4\sync\engine\source\runtime\engine\private\texturederiveddatatask.cpp:263]
UE4Editor_Engine!FTextureCacheDerivedDataWorker::DoWork() [d:\build\++ue4\sync\engine\source\runtime\engine\private\texturederiveddatatask.cpp:466]
UE4Editor_Engine!FAsyncTask<FTextureCacheDerivedDataWorker>::DoWork() [d:\build\++ue4\sync\engine\source\runtime\core\public\async\asyncwork.h:272]
UE4Editor_Engine!FAsyncTask<FTextureCacheDerivedDataWorker>::DoThreadedWork() [d:\build\++ue4\sync\engine\source\runtime\core\public\async\asyncwork.h:296]
UE4Editor_Core!FQueuedThread::Run() [d:\build\++ue4\sync\engine\source\runtime\core\private\hal\threadingbase.cpp:530]
UE4Editor_Core!FRunnableThreadWin::Run() [d:\build\++ue4\sync\engine\source\runtime\core\private\windows\windowsrunnablethread.cpp:96]

Have Comments or More Details?

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

3
Login to Vote

Duplicate
ComponentUE - Graphics Features
Affects Versions4.24.14.25
Target Fix4.24.2
CreatedDec 23, 2019
ResolvedJan 10, 2020
UpdatedJan 22, 2020