Editor crashes: load game level to menu level/restarting the game multiple times

Hello,

I am working on the menu for my multiplayer project. When I load the level to the main menu multiple times (often two - sometimes three times), the editor get’s shut down and I get this error message:

LoginId:4c884c3949330d4b3c095398423fe078
EpicAccountId:ed71da6b57f54f12997e7e5e6cc8fa05

Unhandled Exception: EXCEPTION_ACCESS_VIOLATION writing address 0x00007ffd1fa11cf8

UE4Editor_CoreUObject!HashObject() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectHash.cpp:1272]
UE4Editor_CoreUObject!UObjectBase::AddObject() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectBase.cpp:196]
UE4Editor_CoreUObject!UObjectBase::UObjectBase() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectBase.cpp:117]
UE4Editor_CoreUObject!StaticAllocateObject() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp:2500]
UE4Editor_CoreUObject!StaticConstructObject_Internal() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp:3189]
UE4Editor_CoreUObject!FObjectInstancingGraph::GetInstancedSubobject() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\CoreNative.cpp:228]
UE4Editor_CoreUObject!FObjectInstancingGraph::InstancePropertyValue() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\CoreNative.cpp:299]
UE4Editor_CoreUObject!FObjectPropertyBase::InstanceSubobjects() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\PropertyBaseObject.cpp:52]
UE4Editor_CoreUObject!UStruct::InstanceSubobjectTemplates() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\Class.cpp:2155]
UE4Editor_CoreUObject!FObjectInitializer::InstanceSubobjects() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp:2933]
UE4Editor_CoreUObject!FObjectInitializer::PostConstructInit() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp:2850]
UE4Editor_CoreUObject!FObjectInitializer::~FObjectInitializer() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp:2704]
UE4Editor_CoreUObject!StaticConstructObject_Internal() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp:3195]
UE4Editor_CoreUObject!FObjectInstancingGraph::GetInstancedSubobject() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\CoreNative.cpp:228]
UE4Editor_CoreUObject!FObjectInstancingGraph::InstancePropertyValue() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\CoreNative.cpp:299]
UE4Editor_CoreUObject!FObjectPropertyBase::InstanceSubobjects() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\PropertyBaseObject.cpp:52]
UE4Editor_CoreUObject!FArrayProperty::InstanceSubobjects() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\PropertyArray.cpp:662]
UE4Editor_CoreUObject!UStruct::InstanceSubobjectTemplates() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\Class.cpp:2155]
UE4Editor_CoreUObject!FObjectInitializer::InstanceSubobjects() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp:2933]
UE4Editor_CoreUObject!FObjectInitializer::PostConstructInit() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp:2850]
UE4Editor_CoreUObject!FObjectInitializer::~FObjectInitializer() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp:2704]
UE4Editor_CoreUObject!StaticConstructObject_Internal() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp:3195]
UE4Editor_CoreUObject!FObjectInstancingGraph::GetInstancedSubobject() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\CoreNative.cpp:228]
UE4Editor_CoreUObject!FObjectInstancingGraph::InstancePropertyValue() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\CoreNative.cpp:299]
UE4Editor_CoreUObject!FObjectPropertyBase::InstanceSubobjects() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\PropertyBaseObject.cpp:52]
UE4Editor_CoreUObject!UStruct::InstanceSubobjectTemplates() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\Class.cpp:2155]
UE4Editor_CoreUObject!FObjectInitializer::InstanceSubobjects() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp:2933]
UE4Editor_CoreUObject!FObjectInitializer::PostConstructInit() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp:2850]
UE4Editor_CoreUObject!FObjectInitializer::~FObjectInitializer() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp:2704]
UE4Editor_CoreUObject!StaticConstructObject_Internal() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp:3195]
UE4Editor_CoreUObject!FObjectInstancingGraph::GetInstancedSubobject() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\CoreNative.cpp:228]
UE4Editor_CoreUObject!FObjectInstancingGraph::InstancePropertyValue() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\CoreNative.cpp:299]
UE4Editor_CoreUObject!FObjectPropertyBase::InstanceSubobjects() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\PropertyBaseObject.cpp:52]
UE4Editor_CoreUObject!FArrayProperty::InstanceSubobjects() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\PropertyArray.cpp:662]
UE4Editor_CoreUObject!UStruct::InstanceSubobjectTemplates() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\Class.cpp:2155]
UE4Editor_CoreUObject!FObjectInitializer::InstanceSubobjects() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp:2933]
UE4Editor_CoreUObject!FObjectInitializer::PostConstructInit() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp:2850]
UE4Editor_CoreUObject!FObjectInitializer::~FObjectInitializer() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp:2704]
UE4Editor_CoreUObject!StaticConstructObject_Internal() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp:3195]
UE4Editor_CoreUObject!FObjectInstancingGraph::GetInstancedSubobject() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\CoreNative.cpp:228]
UE4Editor_CoreUObject!FObjectInstancingGraph::InstancePropertyValue() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\CoreNative.cpp:299]
UE4Editor_CoreUObject!FObjectPropertyBase::InstanceSubobjects() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\PropertyBaseObject.cpp:52]
UE4Editor_CoreUObject!UStruct::InstanceSubobjectTemplates() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\Class.cpp:2155]
UE4Editor_CoreUObject!FObjectInitializer::InstanceSubobjects() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp:2933]
UE4Editor_CoreUObject!FObjectInitializer::PostConstructInit() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp:2850]
UE4Editor_CoreUObject!FObjectInitializer::~FObjectInitializer() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp:2704]
UE4Editor_CoreUObject!StaticConstructObject_Internal() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp:3195]
UE4Editor_CoreUObject!FObjectInstancingGraph::GetInstancedSubobject() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\CoreNative.cpp:228]
UE4Editor_CoreUObject!FObjectInstancingGraph::InstancePropertyValue() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\CoreNative.cpp:299]
UE4Editor_CoreUObject!FObjectPropertyBase::InstanceSubobjects() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\PropertyBaseObject.cpp:52]
UE4Editor_CoreUObject!FArrayProperty::InstanceSubobjects() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\PropertyArray.cpp:662]
UE4Editor_CoreUObject!UStruct::InstanceSubobjectTemplates() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\Class.cpp:2155]
UE4Editor_CoreUObject!FObjectInitializer::InstanceSubobjects() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp:2933]
UE4Editor_CoreUObject!FObjectInitializer::PostConstructInit() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp:2850]
UE4Editor_CoreUObject!FObjectInitializer::~FObjectInitializer() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp:2704]
UE4Editor_CoreUObject!StaticConstructObject_Internal() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp:3195]
UE4Editor_CoreUObject!FObjectInstancingGraph::GetInstancedSubobject() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\CoreNative.cpp:228]
UE4Editor_CoreUObject!FObjectInstancingGraph::InstancePropertyValue() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\CoreNative.cpp:299]
UE4Editor_CoreUObject!FObjectPropertyBase::InstanceSubobjects() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\PropertyBaseObject.cpp:52]
UE4Editor_CoreUObject!UStruct::InstanceSubobjectTemplates() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\Class.cpp:2155]
UE4Editor_CoreUObject!FObjectInitializer::InstanceSubobjects() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp:2933]
UE4Editor_CoreUObject!FObjectInitializer::PostConstructInit() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp:2850]
UE4Editor_CoreUObject!FObjectInitializer::~FObjectInitializer() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp:2704]
UE4Editor_CoreUObject!StaticConstructObject_Internal() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp:3195]
UE4Editor_CoreUObject!FObjectInstancingGraph::GetInstancedSubobject() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\CoreNative.cpp:228]
UE4Editor_CoreUObject!FObjectInstancingGraph::InstancePropertyValue() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\CoreNative.cpp:299]
UE4Editor_CoreUObject!FObjectPropertyBase::InstanceSubobjects() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\PropertyBaseObject.cpp:52]
UE4Editor_CoreUObject!FArrayProperty::InstanceSubobjects() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\PropertyArray.cpp:662]
UE4Editor_CoreUObject!UStruct::InstanceSubobjectTemplates() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\Class.cpp:2155]
UE4Editor_CoreUObject!FObjectInitializer::InstanceSubobjects() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp:2933]
UE4Editor_CoreUObject!FObjectInitializer::PostConstructInit() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp:2850]
UE4Editor_CoreUObject!FObjectInitializer::~FObjectInitializer() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp:2704]
UE4Editor_CoreUObject!StaticConstructObject_Internal() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp:3195]
UE4Editor_CoreUObject!FObjectInstancingGraph::GetInstancedSubobject() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\CoreNative.cpp:228]
UE4Editor_CoreUObject!FObjectInstancingGraph::InstancePropertyValue() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\CoreNative.cpp:299]
UE4Editor_CoreUObject!FObjectPropertyBase::InstanceSubobjects() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\PropertyBaseObject.cpp:52]
UE4Editor_CoreUObject!UStruct::InstanceSubobjectTemplates() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\Class.cpp:2155]
UE4Editor_CoreUObject!FObjectInitializer::InstanceSubobjects() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp:2933]
UE4Editor_CoreUObject!FObjectInitializer::PostConstructInit() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp:2850]
UE4Editor_CoreUObject!FObjectInitializer::~FObjectInitializer() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp:2704]
UE4Editor_CoreUObject!StaticConstructObject_Internal() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp:3195]
UE4Editor_UMG!UUserWidget::DuplicateAndInitializeFromWidgetTree() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\UMG\Private\UserWidget.cpp:201]
UE4Editor_UMG!UWidgetBlueprintGeneratedClass::InitializeWidgetStatic() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\UMG\Private\WidgetBlueprintGeneratedClass.cpp:211]
UE4Editor_UMG!UWidgetBlueprintGeneratedClass::InitializeWidget() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\UMG\Private\WidgetBlueprintGeneratedClass.cpp:322]
UE4Editor_UMG!UUserWidget::Initialize() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\UMG\Private\UserWidget.cpp:135]
UE4Editor_UMG!UUserWidget::CreateInstanceInternal() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\UMG\Private\UserWidget.cpp:1980]
UE4Editor_UMG!UUserWidget::CreateWidgetInstance() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\UMG\Private\UserWidget.cpp:1919]
UE4Editor_UMG!CreateWidget<UUserWidget,APlayerController>() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\UMG\Public\Blueprint\UserWidget.h:1473]
UE4Editor_UMG!UWidgetBlueprintLibrary::Create() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\UMG\Private\WidgetBlueprintLibrary.cpp:46]
UE4Editor_UMG!UWidgetBlueprintLibrary::execCreate() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Intermediate\Build\Win64\UE4Editor\Inc\UMG\WidgetBlueprintLibrary.gen.cpp:573]
UE4Editor_CoreUObject!UFunction::Invoke() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\Class.cpp:5588]
UE4Editor_CoreUObject!UObject::CallFunction() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:997]
UE4Editor_CoreUObject!UObject::ProcessContextOpcode() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:2870]
UE4Editor_CoreUObject!UObject::execLetObj() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:2691]
UE4Editor_CoreUObject!ProcessLocalScriptFunction() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:1067]
UE4Editor_CoreUObject!ProcessScriptFunction<void (__cdecl*)(UObject *,FFrame &,void *)>() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:898]
UE4Editor_CoreUObject!ProcessLocalFunction() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:1128]
UE4Editor_CoreUObject!ProcessLocalScriptFunction() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:1067]
UE4Editor_CoreUObject!UObject::ProcessInternal() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:1155]
UE4Editor_CoreUObject!UFunction::Invoke() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\Class.cpp:5588]
UE4Editor_CoreUObject!UObject::ProcessEvent() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:1992]
UE4Editor_Engine!AActor::ProcessEvent() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\Engine\Private\Actor.cpp:864]
UE4Editor_Engine!AActor::BeginPlay() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\Engine\Private\Actor.cpp:3577]
UE4Editor_Engine!APlayerController::BeginPlay() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\Engine\Private\PlayerController.cpp:1444]
UE4Editor_Engine!AActor::DispatchBeginPlay() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\Engine\Private\Actor.cpp:3517]
UE4Editor_Engine!AWorldSettings::NotifyBeginPlay() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\Engine\Private\WorldSettings.cpp:247]
UE4Editor_Engine!AGameStateBase::HandleBeginPlay() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\Engine\Private\GameStateBase.cpp:205]
UE4Editor_Engine!UWorld::BeginPlay() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\Engine\Private\World.cpp:4349]
UE4Editor_Engine!UGameInstance::StartPlayInEditorGameInstance() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\Engine\Private\GameInstance.cpp:483]
UE4Editor_UnrealEd!UEditorEngine::CreateInnerProcessPIEGameInstance() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Editor\UnrealEd\Private\PlayLevel.cpp:2941]
UE4Editor_UnrealEd!UEditorEngine::OnLoginPIEComplete_Deferred() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Editor\UnrealEd\Private\PlayLevel.cpp:1503]
UE4Editor_UnrealEd!UEditorEngine::CreateNewPlayInEditorInstance() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Editor\UnrealEd\Private\PlayLevel.cpp:1750]
UE4Editor_UnrealEd!UEditorEngine::StartPlayInEditorSession() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Editor\UnrealEd\Private\PlayLevel.cpp:2711]
UE4Editor_UnrealEd!UEditorEngine::StartQueuedPlaySessionRequestImpl() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Editor\UnrealEd\Private\PlayLevel.cpp:1116]
UE4Editor_UnrealEd!UEditorEngine::StartQueuedPlaySessionRequest() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Editor\UnrealEd\Private\PlayLevel.cpp:1019]
UE4Editor_UnrealEd!UEditorEngine::Tick() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Editor\UnrealEd\Private\EditorEngine.cpp:1623]
UE4Editor_UnrealEd!UUnrealEdEngine::Tick() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Editor\UnrealEd\Private\UnrealEdEngine.cpp:426]
UE4Editor!FEngineLoop::Tick() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:4836]
UE4Editor!GuardedMain() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\Launch\Private\Launch.cpp:169]
UE4Editor!GuardedMainWrapper() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:137]
UE4Editor!WinMain() [F:\Studium\M03Semester\UnrealEngine-release\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:268]
UE4Editor!__scrt_common_main_seh() [D:\a01\_work\26\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
kernel32
ntdll

When I try to debug the code, it sends me into the engine where it seems to try to create something in memory which it is not allowed to. I am using the Unreal source version from git hub. And tried to comment out everything from the code, so I only had this left for execution:

#include "GameInstance_ProjectTheseus.h"	
#include "GameFramework/PlayerController.h"
#include "GameFramework/GameMode.h"

#include "UObject/ConstructorHelpers.h"
#include "Blueprint/UserWidget.h"
#include "MenuSystem/UUW_Base_Menu.h"

UGameInstance_ProjectTheseus::UGameInstance_ProjectTheseus(const FObjectInitializer& ObjectInitializer)
{
 // TODO: Change from FClassFinder to something less prone to error
	ConstructorHelpers::FClassFinder<UUserWidget> MainMenuWBPClass(TEXT("/Game/MenuSystem/WBP_MainMenu"));
	ConstructorHelpers::FClassFinder<UUserWidget> InGameMenuWBPClass(TEXT("/Game/MenuSystem/WBP_InGameMenu"));
	if (!ensure(MainMenuWBPClass.Class != nullptr)) return;
	MainMenuClass = MainMenuWBPClass.Class;
	if (!ensure(InGameMenuWBPClass.Class != nullptr)) return;
	InGameMenuClass = InGameMenuWBPClass.Class;
}

void UGameInstance_ProjectTheseus::LoadMainMenu()
{
	// Create widget in viewport
	if (!ensure(MainMenuClass != nullptr)) return;
	MainMenu = CreateWidget<UUUW_Base_Menu>(this, MainMenuClass);
}

Does anyone have any suggestions?

The Exception error is thrown in ContainerAllocationPolicies.h at line 425

		ForAnyElementType()
			: Data(nullptr)

and reads as follows:

Exception thrown at 0x00007FFD2713118B (UE4Editor-CoreUObject.dll) in UE4Editor.exe: 0xC0000005: Access violation writing location 0x00007FFD1FA010C0.
1 Like

Usually, when this happens there’s a pointer somewhere that is uninitialised and causes the crash.

Unreal doesn’t give much help when this happens so you need to go though your C++ code and ensure that all your code is checking for nulls being used.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms