Description

The editor crashes if two saves happen in rapid succession, for example, if you use Ctrl + S then immediately use Ctrl + Shift + S. This issue can be somewhat difficult to get the crash from as the timeframe to get the saves going is small but has been reproducible using the steps provided. This issue also has reproduced in a code project but has not been reproducible in a blueprint project.

Regression:
This issue occurs in the 4.14.3 and the 4.15.1 binary builds of the engine

Steps to Reproduce
  1. Create a Code Project using the Third Person template
  2. When the project loads add elements to the Viewport (I added player starts, empty actors, and point lights)
  3. Press Ctrl + S to save
  4. Immediately let go of the S key and press Ctrl + Shift + S to save again

Frequency: 4/10
Result: Editor crashes
Expected result: The saves happen one after the other and the editor does not crash

Callstack
 
Assertion failed: !bIsReentrant [File:D:\Build\++UE4+Release-4.15+Compile\Sync\Engine\Source\Editor\UnrealEd\Private\FileHelpers.cpp] [Line: 370]



UE4Editor_Core!FDebug::AssertFailed() [d:\build\++ue4+release-4.15+compile\sync\engine\source\runtime\core\private\misc\assertionmacros.cpp:349]
UE4Editor_UnrealEd!SaveWorld() [d:\build\++ue4+release-4.15+compile\sync\engine\source\editor\unrealed\private\filehelpers.cpp:370]
UE4Editor_UnrealEd!FEditorFileUtils::SaveMap() [d:\build\++ue4+release-4.15+compile\sync\engine\source\editor\unrealed\private\filehelpers.cpp:2311]
UE4Editor_UnrealEd!InternalSavePackage() [d:\build\++ue4+release-4.15+compile\sync\engine\source\editor\unrealed\private\filehelpers.cpp:2705]
UE4Editor_UnrealEd!FEditorFileUtils::PromptForCheckoutAndSave() [d:\build\++ue4+release-4.15+compile\sync\engine\source\editor\unrealed\private\filehelpers.cpp:3329]
UE4Editor_UnrealEd!InternalSavePackages() [d:\build\++ue4+release-4.15+compile\sync\engine\source\editor\unrealed\private\filehelpers.cpp:2821]
UE4Editor_UnrealEd!FEditorFileUtils::SaveDirtyPackages() [d:\build\++ue4+release-4.15+compile\sync\engine\source\editor\unrealed\private\filehelpers.cpp:3029]
UE4Editor_MainFrame!FMainFrameActionCallbacks::SaveAll() [d:\build\++ue4+release-4.15+compile\sync\engine\source\editor\mainframe\private\frame\mainframeactions.cpp:269]
UE4Editor_MainFrame!TBaseStaticDelegateInstance<void __cdecl(void)>::ExecuteIfSafe() [d:\build\++ue4+release-4.15+compile\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:1027]
UE4Editor_Slate!FUICommandList::ConditionalProcessCommandBindings() [d:\build\++ue4+release-4.15+compile\sync\engine\source\runtime\slate\private\framework\commands\uicommandlist.cpp:216]
UE4Editor_Slate!FUICommandList::ProcessCommandBindings() [d:\build\++ue4+release-4.15+compile\sync\engine\source\runtime\slate\private\framework\commands\uicommandlist.cpp:160]

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

0
Login to Vote

Fixed
ComponentTools
Affects Versions4.14.34.15.1
Target Fix4.17
Fix Commit3411164
Main Commit3432852
CreatedApr 18, 2017
ResolvedApr 27, 2017
UpdatedFeb 4, 2019
View Jira Issue