Tuesday, December 4, 2012

EitB Dev Journal - Nox Noctis Crash Fix

I finally found some time to take a look at the Nox Noctis crash, and I think I've fixed it.  You should be able to replace your CVGameCore.dll in your /Mods/Erebus in the Balance/Assets folder with the one linked in this post below.

New CVGameCore.dll

The cause and fix itself are somewhat embarrassing   I was treating the unit array of a player as always having valid units in it.  This is not true, and so building/capture Noctis would result in the game trying to pull the attributes of a unit that did not exist, causing a crash.  The fix then, was to check and skip each Null section of the array.