Description

This is a trending crash coming out of the 4.18 release. It may be a regression.

User Descriptions

  • Opened the sample VR-project and entered the VR-mode form the editor.
  • Crash in VR mode. New project with minimal assets just to test. Lasted about 30 seconds in VR mode. I'll try some other projects that were OK in 4.17. Can't think what else has changed in terms of my general setup.

Source Context

 1138       #if WITH_EDITOR || IS_PROGRAM
 1139       
 1140       // mainly concerned about the cooker here, but anyway, the editor can run without a frame for a very long time (hours) and we do not have enough lock free links. 
 1141       
 1142       /** The set of deferred cleanup objects which are pending cleanup. */
 1143       TArray<FDeferredCleanupInterface*> PendingCleanupObjectsList;
 1144       FCriticalSection PendingCleanupObjectsListLock;
 1145       
 1146       FPendingCleanupObjects::FPendingCleanupObjects()
 1147       {
 1148       	check(IsInGameThread());
 1149       	{
 1150 ***** 		FScopeLock Lock(&PendingCleanupObjectsListLock);
 1151       		Exchange(CleanupArray, PendingCleanupObjectsList);
 1152       	}
 1153       }
Steps to Reproduce

repro steps currently unknown. Related to VR Mode based on user comments.

Callstack
Assertion failed: IsInGameThread() [File:D:\Build\++UE4+Release-4.18+Compile\Sync\Engine\Source\Runtime\RenderCore\Private\RenderingThread.cpp] [Line: 1149]

UE4Editor_RenderCore!FPendingCleanupObjects::FPendingCleanupObjects() [renderingthread.cpp:1151]
UE4Editor_RenderCore!FlushRenderingCommands() [renderingthread.cpp:1102]
UE4Editor_UnrealEd!FAssetThumbnailPool::ReleaseResources() [assetthumbnail.cpp:881]
UE4Editor_UnrealEd!FAssetThumbnailPool::~FAssetThumbnailPool() [assetthumbnail.cpp:823]
UE4Editor_UnrealEd!FAssetThumbnailPool::`vector deleting destructor'()
UE4Editor_LevelEditor!SLevelEditor::~SLevelEditor() [sleveleditor.cpp:278]
UE4Editor_SlateCore!FSimpleSlot::~FSimpleSlot()
UE4Editor_SlateCore!SCompoundWidget::~SCompoundWidget()
UE4Editor_SlateCore!TIndirectArray<SOverlay::FOverlaySlot,FDefaultAllocator>::DestructAndFreeItems() [indirectarray.h:444]
UE4Editor_SlateCore!SOverlay::~SOverlay()
UE4Editor_SlateCore!TIndirectArray<SBoxPanel::FSlot,FDefaultAllocator>::DestructAndFreeItems() [indirectarray.h:444]
UE4Editor_SlateCore!SBoxPanel::~SBoxPanel()
UE4Editor_SlateCore!FSimpleSlot::~FSimpleSlot()
UE4Editor_SlateCore!SCompoundWidget::~SCompoundWidget()
UE4Editor_SlateCore!FSlotBase::~FSlotBase() [slotbase.cpp:35]
UE4Editor_Slate!TIndirectArray<SSplitter::FSlot,FDefaultAllocator>::DestructAndFreeItems() [indirectarray.h:445]
UE4Editor_Slate!SSplitter::~SSplitter()
UE4Editor_SlateCore!TIndirectArray<SOverlay::FOverlaySlot,FDefaultAllocator>::DestructAndFreeItems() [indirectarray.h:444]
UE4Editor_SlateCore!SOverlay::~SOverlay()
UE4Editor_SlateCore!FSimpleSlot::~FSimpleSlot()
UE4Editor_SlateCore!SCompoundWidget::~SCompoundWidget()
UE4Editor_SlateCore!TIndirectArray<SBoxPanel::FSlot,FDefaultAllocator>::DestructAndFreeItems() [indirectarray.h:444]
UE4Editor_SlateCore!SBoxPanel::~SBoxPanel()
UE4Editor_SlateCore!TIndirectArray<SBoxPanel::FSlot,FDefaultAllocator>::DestructAndFreeItems() [indirectarray.h:444]
UE4Editor_SlateCore!SBoxPanel::~SBoxPanel()
UE4Editor_SlateCore!TIndirectArray<SOverlay::FOverlaySlot,FDefaultAllocator>::DestructAndFreeItems() [indirectarray.h:444]
UE4Editor_SlateCore!SOverlay::~SOverlay()
UE4Editor_SlateCore!FSimpleSlot::~FSimpleSlot()
UE4Editor_SlateCore!SCompoundWidget::~SCompoundWidget()
UE4Editor_SlateRHIRenderer!FSlateRHIRenderer::DrawWindow_RenderThread() [slaterhirenderer.cpp:874]
UE4Editor_SlateRHIRenderer!TGraphTask<TEnqueueUniqueRenderCommandType<`FSlateRHIRenderer::DrawWindows_Private'::`29'::SlateDrawWindowsCommandName,<lambda_43e86ee7c51f39979e9a39d40b280024> > >::ExecuteTask() [taskgraphinterfaces.h:784]
UE4Editor_Core!FNamedTaskThread::ProcessTasksNamedThread() [taskgraph.cpp:651]
UE4Editor_Core!FNamedTaskThread::ProcessTasksUntilQuit() [taskgraph.cpp:560]
UE4Editor_RenderCore!RenderingThreadMain() [renderingthread.cpp:327]
UE4Editor_RenderCore!FRenderingThread::Run() [renderingthread.cpp:461]
UE4Editor_Core!FRunnableThreadWin::Run() [windowsrunnablethread.cpp:76]

Have Comments or More Details?

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

0
Login to Vote

Fixed
ComponentUE - Editor - Workflow Systems
Affects Versions4.18
Target Fix4.19
Fix Commit3734244
Main Commit3739980
Release Commit3813083
CreatedNov 1, 2017
ResolvedNov 2, 2017
UpdatedJan 20, 2024
View Jira Issue