Description

The compile toast notification read that it was successful, then the Editor crashed about 10 seconds later.
Error Message in Crash Reporter:
Access violation - code c0000005 (first/second chance not available)

Steps to Reproduce

Haven't been able to recreate crash.
Occurred while running test pass [Link Removed]
https://jira.it.epicgames.net/browse/UEQATC-1363

  1. Open QAGame
  2. Have access to QABlueprintChild_TestClass
    File Path:
    /Game/C++ Classes/QAGame/Classes/
  3. Right-click in content browser and create a new blueprint based on QABlueprintChild_TestClass.
    Name it TestBP and open it into the Blueprint Editor.
  4. Right-click in the event graph and search for "Enable Gravity".
  5. Place an Enable Gravity node
  6. Place an Event Hit node and connect the Enable Gravity node to the output exec.
  7. Check the decision box on the Enable Gravity Node.
    Compile and close the Blueprint Editor.
  8. Drag an instance of TestBP from the Content Browser into the level.
    Move it above the floor.
  9. PIE. Shoot the instance of TestBP. Exit PIE.
  10. In the content browser navigate to QABlueprintChild_TestClass and open it.
  11. In Visual Studio/Xcode, in QABlueprintChild_TestClass.h replace the following:
    void EnableGravity(bool decision);

    with:

    FString EnableGravity(bool decision, FString result);
  12. In QABlueprintChild_TestClass.cpp replace the following:
    void AQABlueprintChild_TestClass::EnableGravity(bool decision)
    {
    	MeshComp->SetSimulatePhysics(decision);
    	MeshComp->SetEnableGravity(decision);
    } 

    with:

     FString AQABlueprintChild_TestClass::EnableGravity(bool decision, FString result)
    {
    	MeshComp->SetSimulatePhysics(decision);
    	MeshComp->SetEnableGravity(decision);
    
    	result += decision ? TEXT("Gravity Enabled") : TEXT("Gravity Disabled");
    
    	return result;
    } 
  13. Back in the Editor click the compile button to Hot Reload.
    If prompted, select Overwrite on the pop-up window.
Callstack

UE4Editor_UnrealEd!EditorLevelUtils::GetWorlds() editorlevelutils.cpp:857
UE4Editor_UnrealEd!FEditorFileUtils::AutosaveMapEx() filehelpers.cpp:2325
UE4Editor_UnrealEd!FPackageAutoSaver::AttemptAutoSave() packageautosaver.cpp:178
UE4Editor_UnrealEd!UUnrealEdEngine::Tick() unrealedengine.cpp:399
UE4Editor!FEngineLoop::Tick() launchengineloop.cpp:2859
UE4Editor!GuardedMain() launch.cpp:152
UE4Editor!GuardedMainWrapper() launchwindows.cpp:126
UE4Editor!WinMain() launchwindows.cpp:202
UE4Editor!__scrt_common_main_seh() exe_common.inl:264
kernel32!<Unknown>
ntdll!<Unknown>

Have Comments or More Details?

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

0
Login to Vote

Cannot Reproduce
ComponentUE - Foundation - Core
Affects Versions4.14
Target Fix4.14
CreatedOct 20, 2016
ResolvedNov 3, 2016
UpdatedApr 27, 2018
View Jira Issue