I need help with these errors that i've been getting

Michael L
Sat, 27 Nov 2021 13:07:05 +0000
C++

Hello i’ve been working on a project and i’ve been getting the below errors

Error 1
Fatal error: [File:D:/Build/++UE4/Sync/Engine/Source/Runtime/Core/Private/Windows/WindowsPlatformMisc.cpp] [Line: 475] Pure virtual function being called

How it happened
This error occurred when I saved my project, The project was new(Note: I do not get this error all the time)

Error 2
Fatal error: [File:D:/Build/++UE4/Sync/Engine/Source/Runtime/CoreUObject/Private/UObject/Obj.cpp] [Line: 107] We are currently retrieving VTable ptr. Please use FVTableHelper constructor instead.

UE4Editor_CoreUObject
UE4Editor_CoreUObject
UE4Editor_CoreUObject
UE4Editor_CoreUObject
UE4Editor_CoreUObject
UE4Editor_CoreUObject
UE4Editor_CoreUObject
UE4Editor_Project_4684!FDataTable_Struct::FDataTable_Struct() [E:\UE4 games\Project\Source\Project\FDataTable_Struct.cpp:10]
UE4Editor_pr_4684!UGameInstance::UGameInstance() [E:\UE4 games\Project\Intermediate\Build\Win64\UE4Editor\Inc\Project\GameInstance.gen.cpp:108]
UE4Editor_CoreUObject
UE4Editor_CoreUObject
UE4Editor_UnrealCOC_4684!UGameInstance::GetPrivateStaticClass() [E:\UE4 games\Project\Intermediate\Build\Win64\UE4Editor\Inc\Project\GameInstance.gen.cpp:102]
UE4Editor_Project_4684!TClassCompiledInDefer::Register() [C:\Program Files\Epic Games\UE_4.27\Engine\Source\Runtime\CoreUObject\Public\UObject\UObjectBase.h:301]
UE4Editor_CoreUObject
UE4Editor_CoreUObject
UE4Editor_CoreUObject
UE4Editor_Core
UE4Editor_Core
UE4Editor_Core
UE4Editor_HotReload
UE4Editor_HotReload
UE4Editor_HotReload
UE4Editor_HotReload
UE4Editor_Core
UE4Editor
UE4Editor
UE4Editor
UE4Editor
UE4Editor
UE4Editor
kernel32
ntdll

How it happened
I’m not sure exactly why this is happening but since it’s showing FDataTable_Struct which is a struct meant to get references to data tables (Note: these Data tables were imported CSV files), this is done by using loadobject<>() can i not use loadobject<>() to get references to data tables(Note: i use loadobject<>() many times to get references to many data table ) this is done in the struct’s constructor, is this cause by trying to load to many objects?

Example of how i use loadobject
in .h
class UDataTable* DT;

in .cpp
FDataTable_Struct(){

DT = LoadObject<UDataTable>(NULL, TEXT("/Game/Path/EX_DATATABLE"), NULL, LOAD_None, NULL);

}

I would appreciate any help you could offer

1 post - 1 participant