Looks like I got this error in my latest game. I researched all the requisite techs and when doing the bill order for the MAI, and it completes, the message that an enhanced MAI is posted, but it still remains dormant, and I do not get the MAI in my colonist list. Here is the error:
Error while creating AIPawnE.
Cannot cast from source type to destination type.
STACK:
at AIPawn.AIPawnGenerator.GeneratePawn (Verse.PawnGenerationRequest& request, Verse.Map map, Int32 tries) [0x00000] in <filename unknown>:0
at AIPawn.AIPawnGenerator.GeneratePawn (System.String kindDefName, RimWorld.Faction faction, Verse.Map map, Gender gender) [0x00000] in <filename unknown>:0
at AIPawn.Building_AIPawnCreator.CreateAIPawn (System.String pawnDefName, IntVec3 position, Verse.Map map, RimWorld.Faction faction, Gender gender) [0x00000] in <filename unknown>:0
at AIPawn.Building_AIPawnCreator.CreateAIPawn (System.String pawnDefName, IntVec3 position, Verse.Map map, Gender gender) [0x00000] in <filename unknown>:0
at AIPawn.Building_AIPawnCreator.Create () [0x00000] in <filename unknown>:0
at AIPawn.Building_AIPawnCreatorEnhanced.Create () [0x00000] in <filename unknown>:0
at AIPawn.Building_AIPawnCreator.Tick () [0x00000] in <filename unknown>:0
Verse.Log:Error(String)
AIPawn.Building_AIPawnCreator:Tick()
AIPawn.Building_AIPawnCreatorEnhanced:Tick()
Verse.TickList:Tick()
Verse.TickManager:DoSingleTick()
Verse.TickManager:TickManagerUpdate()
Verse.Game:UpdatePlay()
Verse.Root_Play:Update()
I have tested this error with the Psychology mod on and off (had to start a new game, otherwise it will give me a continuous error dialog when I inactivate it on a current game. On a new game, without psychology on, the MAI work like a charm. When psychology is activated, it will not allow the MAI to activate.
Cheers,
Error while creating AIPawnE.
Cannot cast from source type to destination type.
STACK:
at AIPawn.AIPawnGenerator.GeneratePawn (Verse.PawnGenerationRequest& request, Verse.Map map, Int32 tries) [0x00000] in <filename unknown>:0
at AIPawn.AIPawnGenerator.GeneratePawn (System.String kindDefName, RimWorld.Faction faction, Verse.Map map, Gender gender) [0x00000] in <filename unknown>:0
at AIPawn.Building_AIPawnCreator.CreateAIPawn (System.String pawnDefName, IntVec3 position, Verse.Map map, RimWorld.Faction faction, Gender gender) [0x00000] in <filename unknown>:0
at AIPawn.Building_AIPawnCreator.CreateAIPawn (System.String pawnDefName, IntVec3 position, Verse.Map map, Gender gender) [0x00000] in <filename unknown>:0
at AIPawn.Building_AIPawnCreator.Create () [0x00000] in <filename unknown>:0
at AIPawn.Building_AIPawnCreatorEnhanced.Create () [0x00000] in <filename unknown>:0
at AIPawn.Building_AIPawnCreator.Tick () [0x00000] in <filename unknown>:0
Verse.Log:Error(String)
AIPawn.Building_AIPawnCreator:Tick()
AIPawn.Building_AIPawnCreatorEnhanced:Tick()
Verse.TickList:Tick()
Verse.TickManager:DoSingleTick()
Verse.TickManager:TickManagerUpdate()
Verse.Game:UpdatePlay()
Verse.Root_Play:Update()
I have tested this error with the Psychology mod on and off (had to start a new game, otherwise it will give me a continuous error dialog when I inactivate it on a current game. On a new game, without psychology on, the MAI work like a charm. When psychology is activated, it will not allow the MAI to activate.
Cheers,
.
.