Frustrating error with minidump at program load
I have an error that is quite frustrating to diagnose.The program immediately minidumps if I include a race file with some ships in it. However if that same race file is copied from an existing stock race and then modified after the game has loaded (with watchedfiles=on) the game has no problem with any of the ships that are added and no errors or minidumps in game. The next time I start up the game with the playerRACE file in the mod directory it minidumps again. Obviously something is checking the files more stringently at load than during the game execution.
the race file is simply a copy of the PlayerPhase.entity file with the name string changed at the top (shows up correctly in game) and the other change is to change the referenced ship in the frigate/capital section. if I load without changing the ship references I can load, select and play the race fine (obviously without changes) if I start with modified ships it minidumps without error immediately before the opening splashscreen.
for reference I am using ship entity files that are copies of the stock ones, the only difference is that I am changing the model referenced in the file to a custom model. Other ships exported the same way work in a different race (in fact the ships that crash in one race file work in the other race correctly during load....) I am using mod tool and have had no problem with many of my ships and these new ships are only different because of the faction they are on and like I said they work in race A but crash when added to the build list of race B unless I change the files after the game starts up.
If I could get a Ironclad dev input on what checks are going on here it would help me a lot as I didn't find anything with the debug Exe file that was tellign me what was throwing the exception.