Mysterious crash when opening mod files

A few days ago the editor started to crash everytime I tried to open modded files. The day before I worked on it and I had no problems. The Dev Kit wasn’t updated meanwhile.

This crash only seems to occur with files of my Play as Dino mod, from other mods and vanilla game I can open files. I replace the files with a backup from before the updated and I could open it! But after I restarted the pc, it started crashing again.

Also not all file seem to cause crashes, I did some testing and found out that these (types of) files causes crashes:
-PrimalGameData
-PlayerController
-UI/widgets
-Dino_character_bp’s
-Actors
-Items
-Structs

However i could open:
-Textures
-Meshes
-Certain bp’s (with no code in it)

I really don’t understand what is causing the crashes, but hopefully you know. Thanks in advance!

Have a look at the error for the crash and it may be an inventory file that is linked to all those files that crash, quite often the first file to corrupt from a crash is generally an inventory file.

I’ve had a few inventories corrupt, after that everything linked to them will trigger the crash. No matter whether it opens the corrupted file or not, just anything that is connected within 1,2 or 3 depth levels.

example -> PrimalGameData -> “Additional Structures to Place” -> Structure -> Inventory. Crash

If you can’t find the file or class take a screenshot of the ADK error report and post it and someone should be able to spot the file that is crashing your ADK.

I found the problem. This code was causing the crashes:
Get Shootercharacter -> Get IsServerAdmin (inside the PlayerController)

I think this is a bug.

Well almost everything is connected to players sooner or later, the player can damage or interact with everything in the game except the landscape.

If you aren’t making a TC/Map mod I’d suggest a verify, as that problem won’t really resolve itself unless they released a bad update, but that would cause everyone the same fault or at least a lot of people.

I wouldn’t be so quick to assume that.

Unless I’m mistaken, or unless you’ve omitted part of your chain, Get ShooterCharacter requires a ShooterPC(SPC) reference, those nodes that default to Self generally require an explicit match and while PlayerController(PC) is a child of SPC… it is not what that node is looking for.

I would think a cast from Self to ShooterPlayerController and then connecting that to the offending node should rectify the issue. That or Get Controlled Pawn > Cast to ShooterCharacter.

-WM

You are right. It now seems (and i am pretty sure about it now) that I had some class arrays of a modded dino character in the chain. Filling this array in the default section, would cause the file to crash when loaded.