Does anyone know how to fix this?
Fatal error: [File:/Users/build/Build/++UE4+Licensee/Sync/Engine/Source/Runtime/CoreUObject/Private/UObject/Obj.cpp] [Line: 108] No object initializer found during construction.
FGenericPlatformMisc::RaiseException(unsigned int) Address = 0x101d8c797 (filename not found) [in UE4Editor-Core.dylib]
FMacErrorOutputDevice::Serialize(char16_t const*, ELogVerbosity::Type, FName const&) Address = 0x101f23a33 (filename not found) [in UE4Editor-Core.dylib]
FOutputDevice::LogfImpl(char16_t const*, …) Address = 0x1020085e9 (filename not found) [in UE4Editor-Core.dylib]
auto UObject::CreateDefaultSubobject(FName, UClass*, UClass*, bool, bool)::$_18::operator()<FLogCategoryLogObj, char16_t [49]>(FLogCategoryLogObj const&, char16_t const (&) [49]) const Address = 0x10326459d (filename not found) [in UE4Editor-CoreUObject.dylib]
UObject::CreateDefaultSubobject(FName, UClass*, UClass*, bool, bool) Address = 0x103264402 (filename not found) [in UE4Editor-CoreUObject.dylib]
ATheShooter::BeginPlay() Address = 0x152759fce [/Users/zacharylyon/Documents/Unreal Projects/Coding portfolio/ShooterBackUp2/Source/ShooterAssetPack/TheShooter.cpp, line 38] [in UE4Editor-ShooterAssetPack-9559.dylib]
AActor::DispatchBeginPlay(bool) Address = 0x104193c11 (filename not found) [in UE4Editor-Engine.dylib]
AWorldSettings::NotifyBeginPlay() Address = 0x1057c0fd9 (filename not found) [in UE4Editor-Engine.dylib]
AGameStateBase::HandleBeginPlay() Address = 0x104983001 (filename not found) [in UE4Editor-Engine.dylib]
UWorld::BeginPlay() Address = 0x105781ece (filename not found) [in UE4Editor-Engine.dylib]
UGameInstance::StartPlayInEditorGameInstance(ULocalPlayer*, FGameInstancePIEParameters const&) Address = 0x104959b83 (filename not found) [in UE4Editor-Engine.dylib]
UEditorEngine::CreateInnerProcessPIEGameInstance(FRequestPlaySessionParams&, FGameInstancePIEParameters const&, int) Address = 0x10cfb2c1c (filename not found) [in UE4Editor-UnrealEd.dylib]
UEditorEngine::OnLoginPIEComplete_Deferred(int, bool, FString, FPieLoginStruct) Address = 0x10cfa87ca (filename not found) [in UE4Editor-UnrealEd.dylib]
UEditorEngine::CreateNewPlayInEditorInstance(FRequestPlaySessionParams&, bool, EPlayNetMode) Address = 0x10cfaa8ea (filename not found) [in UE4Editor-UnrealEd.dylib]
UEditorEngine::StartPlayInEditorSession(FRequestPlaySessionParams&) Address = 0x10cfaef19 (filename not found) [in UE4Editor-UnrealEd.dylib]
UEditorEngine::StartQueuedPlaySessionRequestImpl() Address = 0x10cfa5520 (filename not found) [in UE4Editor-UnrealEd.dylib]
UEditorEngine::StartQueuedPlaySessionRequest() Address = 0x10cfa4eeb (filename not found) [in UE4Editor-UnrealEd.dylib]
UEditorEngine::Tick(float, bool) Address = 0x10c88e821 (filename not found) [in UE4Editor-UnrealEd.dylib]
UUnrealEdEngine::Tick(float, bool) Address = 0x10d3ee468 (filename not found) [in UE4Editor-UnrealEd.dylib]
FEngineLoop::Tick() Address = 0x101987847 (filename not found) [in UE4Editor]
GuardedMain(char16_t const*) Address = 0x1019926ff (filename not found) [in UE4Editor]
-[UE4AppDelegate runGameThread:] Address = 0x1019aefcf (filename not found) [in UE4Editor]
-[FCocoaGameThread main] Address = 0x101ef6331 (filename not found) [in UE4Editor-Core.dylib]
Unknown() Address = 0x7fff348f77a2 (filename not found) [in Foundation]
_pthread_start Address = 0x7fff6c4d5109 (filename not found) [in libsystem_pthread.dylib]
thread_start Address = 0x7fff6c4d0b8b (filename not found) [in libsystem_pthread.dylib]
Code:
I know that it is being caused by this line of code : // Inventory = CreateDefaultSubobject (“Inventory”);