RimWorld

RimWorld

PsiTech
 This topic has been pinned, so it's probably important
K  [developer] 29 Apr, 2020 @ 11:13pm
Bug Reports
Please report any bugs that you find in this thread. Follow the instructions in Fluffy's bug reporting guide.

While this mod does not require HugsLib, HugsLib logs are vastly preferable if you are running with it. If you are not running HugsLib, please upload your logs manually.

Please know that I want to solve your issue but it is very difficult to do without a log. Please post logs with all bug reports so that I can solve your issue as quickly as possible.
< >
Showing 1-15 of 147 comments
Darkstar 3 May, 2020 @ 11:22pm 
Minor thing, but I am seemingly randomly getting this error when loading a saved game:

Null key while loading dictionary of Verse.Pawn and PsiTech.Psionics.PsiTechTracker. label=Trackers Verse.Log:Error(String, Boolean) Verse.Scribe_Collections:Look(Dictionary`2&, String, LookMode, LookMode, List`1&, List`1&) PsiTech.Utility.PsiTechManager:ExposeData() Verse.CrossRefHandler:ResolveAllCrossReferences() Verse.ScribeLoader:FinalizeLoading() Verse.Game:DMD<DMD<LoadGame_Patch5>?-127725056::LoadGame_Patch5>(Game) Verse.SavedGameLoaderNow:DMD<DMD<LoadGameFromSaveFileNow_Patch1>?-1647399168::LoadGameFromSaveFileNow_Patch1>(String) Verse.<>c:<Start>b__1_1() Verse.LongEventHandler:RunEventFromAnotherThread(Action) Verse.<>c:<UpdateCurrentAsynchronousEvent>b__27_0() System.Threading.ThreadHelper:ThreadStart_Context(Object) System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean) System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object, Boolean) System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object) System.Threading.ThreadHelper:ThreadStart()

It's book-ended by some yellow warnings like this for different pawns:

Could not resolve reference to object with loadID Thing_Thrumbo333177 of type Verse.Pawn. Was it compressed away, destroyed, had no ID number, or not saved/loaded right? curParent=PsiTech.Utility.PsiTechManager curPathRelToParent=/Trackers/keys Verse.Log:Warning(String, Boolean) Verse.LoadedObjectDirectory:ObjectWithLoadID(String) Verse.CrossRefHandler:TakeResolvedRefList(String, IExposable) Verse.CrossRefHandler:TakeResolvedRefList(String) Verse.Scribe_Collections:Look(List`1&, Boolean, String, LookMode, Object[]) Verse.Scribe_Collections:Look(List`1&, String, LookMode, Object[]) Verse.Scribe_Collections:Look(Dictionary`2&, String, LookMode, LookMode, List`1&, List`1&) PsiTech.Utility.PsiTechManager:ExposeData() Verse.CrossRefHandler:ResolveAllCrossReferences() Verse.ScribeLoader:FinalizeLoading() Verse.Game:DMD<DMD<LoadGame_Patch5>?-127725056::LoadGame_Patch5>(Game) Verse.SavedGameLoaderNow:DMD<DMD<LoadGameFromSaveFileNow_Patch1>?-1647399168::LoadGameFromSaveFileNow_Patch1>(String) Verse.<>c:<Start>b__1_1() Verse.LongEventHandler:RunEventFromAnotherThread(Action) Verse.<>c:<UpdateCurrentAsynchronousEvent>b__27_0() System.Threading.ThreadHelper:ThreadStart_Context(Object) System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean) System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object, Boolean) System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object) System.Threading.ThreadHelper:ThreadStart()

Hugslib log here: https://gist.github.com/38effb2a3576168ef6c15ea908d085cc

Saving and then reloading seems to clean it up.
K  [developer] 3 May, 2020 @ 11:32pm 
@Darkstar This occurs due to a very annoying property of game components which I call "data bleed". There's several safeguards in place to try to stop any and all data bleed between saves which should prevent this sort of thing from happening.

I'm unable to reproduce the data bleed using the steps I know that previously caused it, as it's prevented by the safeguards. Is there any particular steps you took before this happened, particularly with respect to saving and loading?
Darkstar 3 May, 2020 @ 11:33pm 
Not really... I just started this colony today, and the errors started pretty much right away after I set up my starting colonists with psi powers.

It's probably due to some combination of mods that I'm using.
Last edited by Darkstar; 3 May, 2020 @ 11:34pm
K  [developer] 4 May, 2020 @ 10:27am 
@Darkstar I think I finally found the primary cause of this issue. It should be fixed completely in the newest update.
Darkstar 4 May, 2020 @ 4:35pm 
Yep! Appears to be sorted out, as I'm not getting either the red errors or the yellow warnings anymore. I did have to do a save and reload at first, but I think it's good now as I haven't had to do it again yet.

Thanks!
Last edited by Darkstar; 4 May, 2020 @ 4:35pm
Aegis 5 May, 2020 @ 1:31am 
Since the last update raids do not spawn in anymore and Psitech is making one giant appereance in the logs.

Hugslib log: https://gist.github.com/ed210f03d23a8acbefd6296aa57b4b78
LeveFUN 5 May, 2020 @ 5:28am 
Hi, I'm a representative of the Russian translation team. We are having problems translating your mod. RimTrans didn't pull all the files... We pulled them out on our own and translated them, but there are no changes in the game.
Files that do not affect translation:
  1. PsiTechAbilitiyDefs_Tier1.xml
  2. PsiTechAbilitiyDefs_Tier2.xml
  3. PsiTechAbilitiyDefs_Tier3.xml
  4. PsiTechAutocastFilterSelectorDefs.xml
  5. PsiTechAutocastConditionDefs.xml
  6. PsiTechAutocastProfileDefs
We looked at the Chinese translation and saw a similar problem. Are you aware of this problem? Will you fix it? Or are we doing something wrong?
Thanks for your attention.
Last edited by LeveFUN; 5 May, 2020 @ 5:30am
K  [developer] 5 May, 2020 @ 7:52am 
@Aegis The null key errors should clear up when you save and reload. As for the faction not spawning, I'll check it out.

Edit: I can't seem to isolate the raid spawning bug. It seems to be some kind of conflict. Could you try to spawn a raid and post a log of trying to do that?

@LeveFUN Those are the custom defs so it's possible the game isn't loading translations for them correctly. I'll take a look and see what I can do.
Last edited by K; 5 May, 2020 @ 10:03am
SailingPlane 6 May, 2020 @ 9:02am 
I'm not sure what I need to do in order to get the logs you need so please let me know.

I've actually gotten the raid bug where it is specifically not spawning the "Psi Faction" for a quest to complete. It was a quest to challenge them and then they would send 3 "waves". They were supposed to arrive in 5 days and start but after the 5 days were up it started sending this error:

System.NullReferenceException: Object reference not set to an instance of an object
at (wrapper dynamic-method) RimWorld.IncidentParmsUtility.DMD<DMD<GetDefaultPawnGroupMakerParms_Patch1>?-695360512::GetDefaultPawnGroupMakerParms_Patch1>(RimWorld.PawnGroupKindDef,RimWorld.IncidentParms,bool)
at RimWorld.IncidentWorker_Raid.TryExecuteWorker (RimWorld.IncidentParms parms) [0x00086] in <4489f1367c1c4d76b2ae1272c8ed691d>:0
at (wrapper dynamic-method) RimWorld.IncidentWorker_RaidEnemy.DMD<DMD<TryExecuteWorker_Patch1>?721873408::TryExecuteWorker_Patch1>(RimWorld.IncidentWorker_RaidEnemy,RimWorld.IncidentParms)
at RimWorld.IncidentWorker.TryExecute (RimWorld.IncidentParms parms) [0x0002b] in <4489f1367c1c4d76b2ae1272c8ed691d>:0
at RimWorld.Storyteller.TryFire (RimWorld.FiringIncident fi) [0x00024] in <4489f1367c1c4d76b2ae1272c8ed691d>:0
at RimWorld.IncidentQueue.IncidentQueueTick () [0x00048] in <4489f1367c1c4d76b2ae1272c8ed691d>:0
at (wrapper dynamic-method) RimWorld.Storyteller.DMD<DMD<StorytellerTick_Patch1>?-377620352::StorytellerTick_Patch1>(RimWorld.Storyteller)
at (wrapper dynamic-method) Verse.TickManager.DMD<DMD<DoSingleTick_Patch1>?1257694720::DoSingleTick_Patch1>(Verse.TickManager)
Verse.Log:Error(String, Boolean)
Verse.TickManager:DMD<DMD<DoSingleTick_Patch1>?1257694720::DoSingleTick_Patch1>(TickManager)
Verse.TickManager:TickManagerUpdate()
Verse.Game:UpdatePlay()
Verse.Root_Play:Update()

I am actually now 9.2 days after I accepted the quest.

So far it is the only message/error I am actually able to get because it sends it 999 times until the debug log stops logging, then once I clear the log it does it again. I thought saving and reloading would fix something but it most certainly didn't.

It spawns other faction raids ok from what I can tell, I have the insult mod that forces them to raid me and it works, and it even spawns the psi faction when I manually use the commands to spawn with point amounts. But they don't count for completing the quest.

Come to think of it I believe back right before the raid was supposed to fire it said something about raid points not being assigned in the log, but honestly that was so many logs ago I don't think I can get the log for it since I'm playing on perma-death.
K  [developer] 6 May, 2020 @ 9:07am 
@SailingPlane To generate a log hit Ctrl+F12, if you're running HugsLib. If you're not, there's additional instructions linked in the original post of this thread.

The error you posted should help me determine the issue. At least I know where to look now. However, since this many be an incompatibility, it would be very helpful to have your log even if it doesn't contain the error.
Last edited by K; 6 May, 2020 @ 9:09am
SailingPlane 6 May, 2020 @ 9:43am 
https://gist.github.com/fd1e8975fdee6cd5554aaaf16ec30bb1 <Is HugsLib log. Hope it can help a little at least!

K  [developer] 6 May, 2020 @ 10:07am 
@SailingPlane Hopefully the most recent update should fix this issue. I can't reproduce it but based on the logs I believe I've found the cause.
Aegis 6 May, 2020 @ 11:58pm 
My apologies Vlad, it looks like it wasn't psitech that was causing problems. It was a conflict between two other mods and this mod simply was in the middle of those two fighting it out.
Kazzerk 8 May, 2020 @ 1:49pm 
hey K, i'm getting some errors when loading the game. I didn't start yet with anyhthing from the mod, so i don't know what is happening.

https://gist.github.com/a69f48dff9d9e1fc678b112d7dd9eb90

"Null key while loading dictionary of Verse.Pawn and PsiTech.Psionics.PsiTechTracker. label=Trackers
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)"

and

"Null key while loading dictionary of Verse.Thing and PsiTech.Misc.PsiTechEquipmentTracker. label=Equipment
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)"

these two are red.
Last edited by Kazzerk; 8 May, 2020 @ 1:49pm
K  [developer] 8 May, 2020 @ 2:26pm 
@Kazzerk This should be fixed in the most recent update.
< >
Showing 1-15 of 147 comments
Per page: 1530 50