Description

Saving a package in the editor while there is a queued text mesh build will cause a fatal error because the build will execute during the save, and creating objects while saving is not allowed. This can occur during a manual save or an auto save.

This was reported on UDN as Case 00477787 and we have over 400 crash reports for it in the past month.

Steps to Reproduce

(unknown)

Callstack
UnrealEditor_CoreUObject!StaticConstructObject_Internal()
UnrealEditor_Text3D!UText3DComponent::AllocateGlyphs()
UnrealEditor_Text3D!UText3DComponent::BuildTextMeshInternal()
UnrealEditor_Core!TGraphTask<FAsyncGraphTask>::ExecuteTask()
UnrealEditor_Core!FNamedTaskThread::ProcessTasksNamedThread()
UnrealEditor_Core!FNamedTaskThread::ProcessTasksUntilIdle()
UnrealEditor_Core!FTaskGraphCompatibilityImplementation::ProcessThreadUntilIdle()
UnrealEditor_Engine!FFrameEndSync::Sync()
UnrealEditor_UnrealEd!TickSlate()
UnrealEditor_UnrealEd!FFeedbackContextEditor::ProgressReported()
UnrealEditor_Core!FFeedbackContext::UpdateUI()
UnrealEditor_Core!FFeedbackContext::RequestUpdateUI()
UnrealEditor_Core!FSlowTask::EnterProgressFrame()
UnrealEditor_CoreUObject!`anonymous namespace'::SaveHarvestedRealms()
UnrealEditor_CoreUObject!`anonymous namespace'::InnerSave()
UnrealEditor_CoreUObject!UPackage::Save2()
UnrealEditor_CoreUObject!UPackage::Save()
UnrealEditor_UnrealEd!UEditorEngine::Save()
UnrealEditor_UnrealEd!UEditorEngine::SavePackage()
UnrealEditor_UnrealEd!UEditorEngine::Exec_Obj()
UnrealEditor_UnrealEd!UEditorEngine::Exec()
UnrealEditor_UnrealEd!UUnrealEdEngine::Exec()
UnrealEditor_UnrealEd!SaveWorld()
UnrealEditor_UnrealEd!FEditorFileUtils::SaveMap()
UnrealEditor_UnrealEd!InternalSavePackage()
UnrealEditor_UnrealEd!InternalPromptForCheckoutAndSave()
UnrealEditor_UnrealEd!FEditorFileUtils::PromptForCheckoutAndSave()
UnrealEditor_UnrealEd!FEditorFileUtils::PromptForCheckoutAndSave()
UnrealEditor_AssetTools!FAssetFixUpRedirectors::ExecuteFixUp()
UnrealEditor_AssetTools!FAssetFixUpRedirectors::FixupReferencers()
UnrealEditor_ContentBrowserAssetDataSource!FAssetFolderContextMenu::ExecuteFixUpRedirectorsInFolder()
UnrealEditor_ContentBrowserAssetDataSource!TBaseSPMethodDelegateInstance<0,FAssetFolderContextMenu,1,void __cdecl(void),FDefaultDelegateUserPolicy>::ExecuteIfSafe()
UnrealEditor_Slate!SMenuEntryBlock::OnClicked()
UnrealEditor_Slate!SMenuEntryBlock::OnMenuItemButtonClicked()
UnrealEditor_Slate!TBaseSPMethodDelegateInstance<0,SMenuEntryBlock,1,FReply __cdecl(void),FDefaultDelegateUserPolicy>::Execute()
UnrealEditor_Slate!SButton::ExecuteOnClick()
UnrealEditor_Slate!SButton::OnMouseButtonUp()
UnrealEditor_Slate!SMenuEntryButton::OnMouseButtonUp()
UnrealEditor_Slate!<lambda_51e270ca99ea7ce852539efd04dd453f>::operator()()
UnrealEditor_Slate!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_51e270ca99ea7ce852539efd04dd453f> >()
UnrealEditor_Slate!FSlateApplication::RoutePointerUpEvent()
UnrealEditor_Slate!FSlateApplication::ProcessMouseButtonUpEvent()
UnrealEditor_Slate!FSlateApplication::OnMouseUp()
UnrealEditor_ApplicationCore!FWindowsApplication::ProcessDeferredMessage()
UnrealEditor_ApplicationCore!FWindowsApplication::DeferMessage()
UnrealEditor_ApplicationCore!FWindowsApplication::ProcessMessage()
UnrealEditor_ApplicationCore!FWindowsApplication::AppWndProc()
UnrealEditor_ApplicationCore!FWindowsPlatformApplicationMisc::PumpMessages()
UnrealEditor!FEngineLoop::Tick()
UnrealEditor!GuardedMain()
UnrealEditor!GuardedMainWrapper()
UnrealEditor!LaunchWindowsStartup()
UnrealEditor!WinMain()
UnrealEditor!__scrt_common_main_seh()

Have Comments or More Details?

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

0
Login to Vote

Fixed
ComponentUE - Virtual Production
Affects Versions5.05.1
Target Fix5.1
Fix Commit164789
Main Commit22188226
Release Commit22179608
CreatedSep 22, 2022
ResolvedOct 21, 2022
UpdatedOct 21, 2022