assert i am trying to track down...

I'm getting an assert upon loading a game I can't localize nor have I seen it anywhere else

 

Assert @ D:\projects\SINS\SinsRebellion\main\CodeSource\GS/AI/BuildPlanetModulesAI.cpp(1452)
 
player != NULL
 
 
Any ideas?
9,362 views 2 replies
Reply #1 Top

Haha, i just had the same issue myself, and the problem (at least for me), was that i tried to setup a module to be built in a uncolonizable gravity well using the templates in the galaxy scenario definition file. What i did was try to give the pirates a trade center in the gravity wells they appeared in (not just their home planet), but the game refuses (hardcoded) to allow that to happen, so it results in a crash. Hope that helps.

Reply #2 Top

player != NULL is your key.  That assert is saying what's wrong, and it's in BuildPlanetModulesAI, which implies that it has to do with building planet modules.

 

To place a structure into a neutral well, you need to place a unit with an ability that turns it into the structure instead.