Mod Crashes ARK on Start

Ok, I have been fighting with this for Hours and an getting frustrated. I Hope someone out there with some more experience with these things can point me in the right direction. I have a MOD I have been working on, It has a few Storage Items and some structures. Everything works fine in the editor, everything works like it should. I have double and triple checked all the references and files and everything seems to be as it should be. I double checked all the Parent classes and all those are where they should be. Everytime I try and run ark with my mod installed I get this…

Any one have any ideas where to start? I see this Primal InventoryComponent.CPP which makes me think it may be one of my storage items but is there any way to narrow down which one… why doesn’t the editor crash when testing…shouldn’t it give some sort of indication about the issue in the editor?

Any Help would be appreciated.

Fatal error!

VERSION: 245.986
ShooterGame.exe!UPrimalInventoryComponent::InitializeInventory() (0x00007ff7c12c9189) + 121 bytes [g:\svn_ark\projects\shootergame\source\shootergame\private\primalinventorycomponent.cpp:952]
ShooterGame.exe!APrimalStructureItemContainer::BeginPlay() (0x00007ff7c13748f8) + 0 bytes [g:\svn_ark\projects\shootergame\source\shootergame\private\primalstructureitemcontainer.cpp:238]
ShooterGame.exe!ULevel::RouteActorInitialize() (0x00007ff7c2261a82) + 0 bytes [g:\svn_ark\engine\source\runtime\engine\private\level.cpp:1720]
ShooterGame.exe!UWorld::AddToWorld() (0x00007ff7c2464ecc) + 0 bytes [g:\svn_ark\engine\source\runtime\engine\private\world.cpp:1850]
ShooterGame.exe!UWorld::UpdateLevelStreamingInner() (0x00007ff7c2467f51) + 0 bytes [g:\svn_ark\engine\source\runtime\engine\private\world.cpp:2490]
ShooterGame.exe!UWorld::UpdateLevelStreaming() (0x00007ff7c2468269) + 0 bytes [g:\svn_ark\engine\source\runtime\engine\private\world.cpp:2573]
ShooterGame.exe!UGameViewportClient::Draw() (0x00007ff7c21c26b5) + 0 bytes [g:\svn_ark\engine\source\runtime\engine\private\gameviewportclient.cpp:879]
ShooterGame.exe!FViewport::Draw() (0x00007ff7c2425e76) + 0 bytes [g:\svn_ark\engine\source\runtime\engine\private\unrealclient.cpp:1082]
ShooterGame.exe!UGameEngine::RedrawViewports() (0x00007ff7c2199c21) + 0 bytes [g:\svn_ark\engine\source\runtime\engine\private\gameengine.cpp:466]
ShooterGame.exe!UEngine::LoadMap() (0x00007ff7c243ed2d) + 0 bytes [g:\svn_ark\engine\source\runtime\engine\private\unrealengine.cpp:9587]
ShooterGame.exe!UEngine::Browse() (0x00007ff7c24397d2) + 38 bytes [g:\svn_ark\engine\source\runtime\engine\private\unrealengine.cpp:8287]
ShooterGame.exe!UEngine::TickWorldTravel() (0x00007ff7c243a490) + 68 bytes [g:\svn_ark\engine\source\runtime\engine\private\unrealengine.cpp:8459]
ShooterGame.exe!UGameEngine::Tick() (0x00007ff7c219b9af) + 0 bytes [g:\svn_ark\engine\source\runtime\engine\private\gameengine.cpp:993]
ShooterGame.exe!FEngineLoop::Tick() (0x00007ff7c118bcb9) + 0 bytes [g:\svn_ark\engine\source\runtime\launch\private\launchengineloop.cpp:2353]
ShooterGame.exe!GuardedMain() (0x00007ff7c11862dc) + 0 bytes [g:\svn_ark\engine\source\runtime\launch\private\launch.cpp:140]
ShooterGame.exe!GuardedMainWrapper() (0x00007ff7c118d19a) + 5 bytes [g:\svn_ark\engine\source\runtime\launch\private\windows\launchwindows.cpp:125]
ShooterGame.exe!WinMain() (0x00007ff7c118d2c8) + 8 bytes [g:\svn_ark\engine\source\runtime\launch\private\windows\launchwindows.cpp:209]
ShooterGame.exe!__tmainCRTStartup() (0x00007ff7c3325a51) + 21 bytes [f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c:618]
KERNEL32.DLL!UnknownFunction (0x00007ffc83558102) + 0 bytes [UnknownFile:0]
ntdll.dll!UnknownFunction (0x00007ffc84bac5b4) + 0 bytes [UnknownFile:0]
ntdll.dll!UnknownFunction (0x00007ffc84bac5b4) + 0 bytes [UnknownFile:0]

Here’s a small checklist for the things that usually cause a crash on startup from my experience:

  • wrong PrimalGameData parent: Parent should be “PrimalGameData_BP”.
  • wrong GameMode parent: Parent should be TestGameMode, if you don’t explicitly need the GameMode for your mod you can just set the Default GameMode in your PrimalGameData to “TestGameMode”.
  • PrimalItem that has a crafting resource set to “None”: Check the “Base Crafting Resource Requirements” array in your custom PrimalItems if there is an entry set to “None”.

Let me know if any of that helped.

Also check out the discord channel if you need more direct help from other modders: Join the Discord Modding Chat - ARK: Survival Evolved - Unreal Engine Forums

Excellent checklist and very helpful. I believe it was one of the Base Crafting Requirements that was the issue… Thank you for you assistance!