Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
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()
Here is the error log: https://drive.google.com/file/d/0B21NGWrBPDNrZU4xN01qUk9GNXM/view?usp=sharing
my current mod list: https://www.dropbox.com/s/piumvol8bpsr765/Screenshot%202017-07-18%2016.51.16.png?dl=0
i believe it is due to a conflict with the prepare carefully mod.
thanks -top
The error with MAI appears in this single line of my code:
AIPawn pawnAI = (AIPawn)ThingMaker.MakeThing(request.KindDef.race, null);
For your info:
AIPawn is only a derivate of Pawn -> public class AIPawn : Pawn
Can you tell me what you do that the ThingMaker result is no longer compatible to AIPawn?
-> Cannot cast from source type to destination type.
Psychology is not compatible with mods that add their own Pawn types, particularly if those pawns are of Humanlike intelligence. I can try and patch it so Psychology ignores them, I guess.