Fatal error when running packaged game- runs fine in standalone

The game runs fine when not packaged. I also am able to package it and run the game before changing “game mode override” to target a a game mode utilizing a core plugin for the game I’m working on.

I’m getting a fatal error running

Here is the stacktrace it prints out. It looks to me like it’s trying to access the plugin files that I’ve recompiled to a different directory using this command.

./RunUAT.bat BuildPlugin -plugin=“c:\fakedirectoryname” -package=“D:\tempFolder”

It compiles the dlls but in the stack trace message I’m receiving - “Win64-DebugGame.exe!AExtendedCameraBase::AExtendedCameraBase() [D:\tempFolder\HostProject\Plugins\RTSUnitTemplate\Source\RTSUnitTemplate\Private\Characters\Camera\ExtendedCameraBase.cpp:46]”

Which is where i compiled the dll but not where the plugin is located within the epic games plugin manager/file system (its located in “unrealdirecotry/engine/plugins/marketplace/”). So i assume it’s trying to access the file and failing since it’s outside of its path?

I’m not really sure of the next stpes here. I’m going to take the plugins files and tie them directly to the project as my next step. I was just wondering if anyone had any wisdom advice or had run into this before.

Let me know if you need more information or the logs that crash it.

[2024.05.06-19.09.56:683][ 0]Message dialog closed, result: Ok, title: The UE-CastleFight Game has crashed and will close, text: Fatal error!

[2024.05.06-19.09.56:683][ 0]LogThreadingWindows: Error: Runnable thread FAsyncLoadingThread crashed.
[2024.05.06-19.09.56:684][ 0]LogWindows: Error: === Critical error: ===
[2024.05.06-19.09.56:684][ 0]LogWindows: Error:
[2024.05.06-19.09.56:684][ 0]LogWindows: Error: Fatal error!
[2024.05.06-19.09.56:684][ 0]LogWindows: Error:
[2024.05.06-19.09.56:684][ 0]LogWindows: Error: Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000000000b0
[2024.05.06-19.09.56:684][ 0]LogWindows: Error:
[2024.05.06-19.09.56:684][ 0]LogWindows: Error: [Callstack] 0x00007ff6c11c51f4 CastleFight-Win64-DebugGame.exe!USceneComponent::SetupAttachment()
[2024.05.06-19.09.56:684][ 0]LogWindows: Error: [Callstack] 0x00007ff6c11799ea CastleFight-Win64-DebugGame.exe!USceneComponent::AttachToComponent()
[2024.05.06-19.09.56:684][ 0]LogWindows: Error: [Callstack] 0x00007ff6c39f5d58 CastleFight-Win64-DebugGame.exe!AExtendedCameraBase::AExtendedCameraBase() [D:\tempFolder\HostProject\Plugins\RTSUnitTemplate\Source\RTSUnitTemplate\Private\Characters\Camera\ExtendedCameraBase.cpp:46]
[2024.05.06-19.09.56:684][ 0]LogWindows: Error: [Callstack] 0x00007ff6bbfa984a CastleFight-Win64-DebugGame.exe!UClass::CreateDefaultObject()
[2024.05.06-19.09.56:684][ 0]LogWindows: Error: [Callstack] 0x00007ff6bbfd22ca CastleFight-Win64-DebugGame.exe!UClass::Serialize()
[2024.05.06-19.09.56:684][ 0]LogWindows: Error: [Callstack] 0x00007ff6c0f1a739 CastleFight-Win64-DebugGame.exe!UBlueprintGeneratedClass::Serialize()
[2024.05.06-19.09.56:684][ 0]LogWindows: Error: [Callstack] 0x00007ff6bbf6499f CastleFight-Win64-DebugGame.exe!FAsyncPackage2::EventDrivenSerializeExport()
[2024.05.06-19.09.56:684][ 0]LogWindows: Error: [Callstack] 0x00007ff6bbf67672 CastleFight-Win64-DebugGame.exe!FAsyncPackage2::Event_ProcessExportBundle()
[2024.05.06-19.09.56:684][ 0]LogWindows: Error: [Callstack] 0x00007ff6bbf6834d CastleFight-Win64-DebugGame.exe!FEventLoadNode2::Execute()
[2024.05.06-19.09.56:684][ 0]LogWindows: Error: [Callstack] 0x00007ff6bbf6894b CastleFight-Win64-DebugGame.exe!FAsyncLoadEventQueue2::ExecuteSyncLoadEvents()
[2024.05.06-19.09.56:684][ 0]LogWindows: Error: [Callstack] 0x00007ff6bbf82826 CastleFight-Win64-DebugGame.exe!FAsyncLoadingThread2::Run()
[2024.05.06-19.09.56:684][ 0]LogWindows: Error: [Callstack] 0x00007ff6bbbfff72 CastleFight-Win64-DebugGame.exe!FRunnableThreadWin::Run()
[2024.05.06-19.09.56:684][ 0]LogWindows: Error: [Callstack] 0x00007ff6bbbf39c7 CastleFight-Win64-DebugGame.exe!FRunnableThreadWin::GuardedRun()
[2024.05.06-19.09.56:684][ 0]LogWindows: Error: [Callstack] 0x00007ffc4fc9257d KERNEL32.DLL!UnknownFunction
[2024.05.06-19.09.56:684][ 0]LogWindows: Error:
[2024.05.06-19.09.56:684][ 0]LogWindows: Error: Crash in runnable thread FAsyncLoadingThread
[2024.05.06-19.09.56:687][ 0]LogExit: Executing StaticShutdownAfterError
[2024.05.06-19.09.56:688][ 0]LogWindows: FPlatformMisc::RequestExit(1, FRunnableThreadWin::GuardedRun.ExceptionHandler)
[2024.05.06-19.09.56:688][ 0]LogWindows: FPlatformMisc::RequestExitWithStatus(1, 3, FRunnableThreadWin::GuardedRun.ExceptionHandler)
[2024.05.06-19.09.56:688][ 0]LogCore: Engine exit requested (reason: Win RequestExit)