Description

Assertion failed: ProducerDesc.BlockHeightInTiles << MipBias == BlockHeightInTiles [Link Removed] [Line: 229]

 

Steps to Reproduce

Download the licensee repro from here - 
[Link Removed]

Attempt to open texture BC_Shop_Tattoo_Sign_Banner. The project will crash.

Callstack
>	UE4Editor-Renderer.dll!FAllocatedVirtualTexture::AddUniqueProducer(const FVirtualTextureProducerHandle & InHandle, const FVirtualTextureProducer * InProducer) Line 229	C++
 	UE4Editor-Renderer.dll!FAllocatedVirtualTexture::FAllocatedVirtualTexture(FVirtualTextureSystem * InSystem, unsigned int InFrame, const FAllocatedVTDescription & InDesc, FVirtualTextureProducer * const * InProducers, unsigned int InBlockWidthInTiles, unsigned int InBlockHeightInTiles, unsigned int InWidthInBlocks, unsigned int InHeightInBlocks, unsigned int InDepthInTiles) Line 35	C++
 	UE4Editor-Renderer.dll!FVirtualTextureSystem::AllocateVirtualTexture(const FAllocatedVTDescription & Desc) Line 506	C++
 	UE4Editor-Engine.dll!FMaterialRenderProxy::AllocateVTStack(const FMaterialRenderContext & Context, const FUniformExpressionSet & UniformExpressionSet, const FMaterialVirtualTextureStack & VTStack) Line 2890	C++
 	UE4Editor-Engine.dll!FMaterialRenderProxy::EvaluateUniformExpressions(FUniformExpressionCache & OutUniformExpressionCache, const FMaterialRenderContext & Context, FRHICommandList * CommandListIfLocalMode) Line 2942	C++
 	[Inline Frame] UE4Editor-Engine.dll!FMaterialRenderProxy::UpdateDeferredCachedUniformExpressions::__l11::<lambda_72eb3bc05495f5a667ea16d08a23f360>::operator()(ERHIFeatureLevel::Type) Line 3213	C++
 	[Inline Frame] UE4Editor-Engine.dll!UMaterialInterface::IterateOverActiveFeatureLevels(FMaterialRenderProxy::UpdateDeferredCachedUniformExpressions::__l11::<lambda_72eb3bc05495f5a667ea16d08a23f360>) Line 861	C++
 	UE4Editor-Engine.dll!FMaterialRenderProxy::UpdateDeferredCachedUniformExpressions() Line 3205	C++
 	UE4Editor-SlateRHIRenderer.dll!FSlateRHIRenderer::DrawWindow_RenderThread(FRHICommandListImmediate & RHICmdList, FViewportInfo & ViewportInfo, FSlateWindowElementList & WindowElementList, const FSlateDrawWindowCommandParams & DrawCommandParams) Line 708	C++
 	[Inline Frame] UE4Editor-SlateRHIRenderer.dll!FSlateRHIRenderer::DrawWindows_Private::__l39::<lambda_f9feabdceba9d88a5c7b2ca3d59100d9>::operator()(FRHICommandListImmediate &) Line 1340	C++
 	[Inline Frame] UE4Editor-SlateRHIRenderer.dll!EnqueueUniqueRenderCommand(FSlateRHIRenderer::DrawWindows_Private::__l39::<lambda_f9feabdceba9d88a5c7b2ca3d59100d9> &&) Line 244	C++
 	UE4Editor-SlateRHIRenderer.dll!FSlateRHIRenderer::DrawWindows_Private(FSlateDrawBuffer & WindowDrawBuffer) Line 1337	C++
 	UE4Editor-Slate.dll!FSlateApplication::PrivateDrawWindows(TSharedPtr<SWindow,0> DrawOnlyThisWindow) Line 1311	C++
 	UE4Editor-Slate.dll!FSlateApplication::DrawWindows() Line 1029	C++
 	UE4Editor-Slate.dll!FSlateApplication::TickAndDrawWidgets(float DeltaTime) Line 1585	C++
 	UE4Editor-Slate.dll!FSlateApplication::Tick(ESlateTickType TickType) Line 1439	C++
 	UE4Editor-UnrealEd.dll!TickSlate(TSharedPtr<SWindow,0> SlowTaskWindow) Line 393	C++
 	UE4Editor-UnrealEd.dll!FFeedbackContextEditor::StartSlowTask(const FText & Task, bool bShowCancelButton) Line 498	C++
 	UE4Editor-Core.dll!FSlowTask::MakeDialog(bool bShowCancelButton, bool bAllowInPIE) Line 147	C++
 	UE4Editor-Core.dll!FFeedbackContext::BeginSlowTask(const FText & Task, bool ShowProgressDialog, bool bShowCancelButton) Line 49	C++
 	UE4Editor-UnrealEd.dll!UAssetEditorSubsystem::OpenEditorForAsset(UObject * Asset, const EToolkitMode::Type ToolkitMode, TSharedPtr<IToolkitHost,0> OpenedFromLevelEditor, const bool bShowProgressWindow) Line 320	C++
 	UE4Editor-UnrealEd.dll!UAssetEditorSubsystem::OpenEditorForAssets_Advanced(const TArray<UObject *,TSizedDefaultAllocator<32>> & InAssets, const EToolkitMode::Type ToolkitMode, TSharedPtr<IToolkitHost,0> OpenedFromLevelEditor) Line 437	C++
 	UE4Editor-UnrealEd.dll!UAssetEditorSubsystem::OpenEditorForAssets(const TArray<UObject *,TSizedDefaultAllocator<32>> & Assets) Line 553	C++
 	UE4Editor-ContentBrowserAssetDataSource.dll!ContentBrowserAssetData::EditOrPreviewAssetFileItems(TArrayView<TSharedRef<FContentBrowserAssetFileItemDataPayload const ,0> const ,int> InAssetPayloads, const bool bIsPreview) Line 298	C++
 	UE4Editor-ContentBrowserAssetDataSource.dll!ContentBrowserAssetData::EditOrPreviewItems(IAssetTools * InAssetTools, const UContentBrowserDataSource * InOwnerDataSource, TArrayView<FContentBrowserItemData const ,int> InItems, const bool bIsPreview) Line 318	C++
 	[Inline Frame] UE4Editor-ContentBrowserAssetDataSource.dll!ContentBrowserAssetData::EditItems(IAssetTools * InAssetTools, const UContentBrowserDataSource *) Line 323	C++
 	UE4Editor-ContentBrowserAssetDataSource.dll!UContentBrowserAssetDataSource::BulkEditItems(TArrayView<FContentBrowserItemData const ,int> InItems) Line 1030	C++
 	UE4Editor-ContentBrowser.dll!SContentBrowser::OnItemsActivated(TArrayView<FContentBrowserItem const ,int> ActivatedItems, EAssetTypeActivationMethod::Type ActivationMethod) Line 2281	C++
 	[Inline Frame] UE4Editor-ContentBrowser.dll!Invoke(void(SContentBrowser::*)(TArrayView<FContentBrowserItem const ,int>, EAssetTypeActivationMethod::Type)) Line 65	C++
 	[Inline Frame] UE4Editor-ContentBrowser.dll!UE4Tuple_Private::TTupleBase<TIntegerSequence<unsigned int>>::ApplyAfter(void(SContentBrowser::*)(TArrayView<FContentBrowserItem const ,int>, EAssetTypeActivationMethod::Type) &) Line 306	C++
 	UE4Editor-ContentBrowser.dll!TBaseSPMethodDelegateInstance<0,SContentBrowser,0,void __cdecl(TArrayView<FContentBrowserItem const ,int>,enum EAssetTypeActivationMethod::Type),FDefaultDelegateUserPolicy>::Execute(TArrayView<FContentBrowserItem const ,int> <Params_0>, EAssetTypeActivationMethod::Type <Params_1>) Line 290	C++
 	[Inline Frame] UE4Editor-ContentBrowser.dll!TDelegate<void __cdecl(TArrayView<FContentBrowserItem const ,int>,enum EAssetTypeActivationMethod::Type),FDefaultDelegateUserPolicy>::Execute(TArrayView<FContentBrowserItem const ,int>) Line 580	C++
 	UE4Editor-ContentBrowser.dll!SAssetView::OnListMouseButtonDoubleClick(TSharedPtr<FAssetViewItem,0> AssetItem) Line 3548	C++
 	[Inline Frame] UE4Editor-ContentBrowser.dll!Invoke(void(SAssetView::*)(TSharedPtr<FAssetViewItem,0>)) Line 65	C++
 	[Inline Frame] UE4Editor-ContentBrowser.dll!UE4Tuple_Private::TTupleBase<TIntegerSequence<unsigned int>>::ApplyAfter(void(SAssetView::*)(TSharedPtr<FAssetViewItem,0>) &) Line 306	C++
 	UE4Editor-ContentBrowser.dll!TBaseSPMethodDelegateInstance<0,SAssetView,0,void __cdecl(TSharedPtr<FAssetViewItem,0>),FDefaultDelegateUserPolicy>::ExecuteIfSafe(TSharedPtr<FAssetViewItem,0> <Params_0>) Line 307	C++
 	UE4Editor-ContentBrowser.dll!TDelegate<void __cdecl(TSharedPtr<FAssetViewItem,0>),FDefaultDelegateUserPolicy>::ExecuteIfBound<void,0>(TSharedPtr<FAssetViewItem,0> <Params_0>) Line 599	C++
 	UE4Editor-ContentBrowser.dll!SListView<TSharedPtr<FAssetViewItem,0>>::Private_OnItemDoubleClicked(TSharedPtr<FAssetViewItem,0> TheItem) Line 1074	C++
 	UE4Editor-ContentBrowser.dll!STableRow<TSharedPtr<FAssetViewItem,0>>::OnMouseButtonDoubleClick(const FGeometry & InMyGeometry, const FPointerEvent & InMouseEvent) Line 461	C++
 	[Inline Frame] UE4Editor-Slate.dll!FSlateApplication::RoutePointerDoubleClickEvent::__l2::<lambda_2b5148752c2a272000c47b69ff14a42e>::operator()(const FArrangedWidget &) Line 5299	C++
 	UE4Editor-Slate.dll!FEventRouter::Route<FReply,FEventRouter::FBubblePolicy,FPointerEvent,<lambda_2b5148752c2a272000c47b69ff14a42e>>(FSlateApplication * ThisApplication, FEventRouter::FBubblePolicy RoutingPolicy, FPointerEvent EventCopy, const FSlateApplication::RoutePointerDoubleClickEvent::__l2::<lambda_2b5148752c2a272000c47b69ff14a42e> & Lambda, ESlateDebuggingInputEvent DebuggingInputEvent) Line 378	C++
 	UE4Editor-Slate.dll!FSlateApplication::RoutePointerDoubleClickEvent(const FWidgetPath & WidgetsUnderPointer, const FPointerEvent & PointerEvent) Line 5297	C++
 	UE4Editor-Slate.dll!FSlateApplication::ProcessMouseButtonDoubleClickEvent(const TSharedPtr<FGenericWindow,0> & PlatformWindow, const FPointerEvent & InMouseEvent) Line 5284	C++
 	UE4Editor-Slate.dll!FSlateApplication::OnMouseDoubleClick(const TSharedPtr<FGenericWindow,0> & PlatformWindow, const EMouseButtons::Type Button, const FVector2D CursorPos) Line 5247	C++
 	UE4Editor-ApplicationCore.dll!FWindowsApplication::ProcessDeferredMessage(const FDeferredWindowsMessage & DeferredMessage) Line 2209	C++
 	UE4Editor-ApplicationCore.dll!FWindowsApplication::DeferMessage(TSharedPtr<FWindowsWindow,0> & NativeWindow, HWND__ * InHWnd, unsigned int InMessage, unsigned __int64 InWParam, __int64 InLParam, int MouseX, int MouseY, unsigned int RawInputFlags) Line 2698	C++
 	UE4Editor-ApplicationCore.dll!FWindowsApplication::ProcessMessage(HWND__ * hwnd, unsigned int msg, unsigned __int64 wParam, __int64 lParam) Line 1881	C++
 	[Inline Frame] UE4Editor-ApplicationCore.dll!WindowsApplication_WndProc(HWND__ *) Line 899	C++
 	UE4Editor-ApplicationCore.dll!FWindowsApplication::AppWndProc(HWND__ * hwnd, unsigned int msg, unsigned __int64 wParam, __int64 lParam) Line 905	C++
 	user32.dll!UserCallWinProcCheckWow()	Unknown
 	user32.dll!DispatchMessageWorker()	Unknown
 	[Inline Frame] UE4Editor-ApplicationCore.dll!WinPumpMessages() Line 103	C++
 	UE4Editor-ApplicationCore.dll!FWindowsPlatformApplicationMisc::PumpMessages(bool bFromMainLoop) Line 125	C++
 	UE4Editor.exe!FEngineLoop::Tick() Line 4851	C++
 	[Inline Frame] UE4Editor.exe!EngineTick() Line 62	C++
 	UE4Editor.exe!GuardedMain(const wchar_t * CmdLine) Line 178	C++
 	UE4Editor.exe!LaunchWindowsStartup(HINSTANCE__ * hInInstance, HINSTANCE__ * hPrevInstance, char * __formal, int nCmdShow, const wchar_t * CmdLine) Line 262	C++
 	UE4Editor.exe!WinMain(HINSTANCE__ * hInInstance, HINSTANCE__ * hPrevInstance, char * pCmdLine, int nCmdShow) Line 320	C++
 	[Inline Frame] UE4Editor.exe!invoke_main() Line 102	C++
 	UE4Editor.exe!__scrt_common_main_seh() Line 288	C++
 	kernel32.dll!BaseThreadInitThunk()	Unknown
 	ntdll.dll!RtlUserThreadStart()	Unknown

Have Comments or More Details?

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

1
Login to Vote

Duplicate
ComponentUE - Rendering
Affects Versions4.27
CreatedOct 4, 2021
ResolvedOct 5, 2021
UpdatedOct 5, 2021