边缘世界 RimWorld

边缘世界 RimWorld

Story Framework - Missions & Objectives for your mod!
 此主题已被置顶,因此可能具有重要性
Maxim  [开发者] 2018 年 6 月 16 日 下午 4:49
Errors? Bugs? Post them here!
Share all the broken stuff here, let me see if I can help.
最后由 Maxim 编辑于; 2018 年 6 月 27 日 上午 2:00
< >
正在显示第 1 - 15 条,共 21 条留言
Stollie 2018 年 6 月 22 日 下午 8:34 
I completed my simple mission and on reloading the game when trying to open the missions tab I get the below error, I'm assuming its because no mission exists, if I turn Debug menu off though no error but nothing happens when I click the button, maybe make it say something like "No missions available"?: -

Object reference not set to an instance of an object
at MissionsAndObjectives.MainTabWindow_MissionObjectives.PreOpen () [0x00000] in <filename unknown>:0
at Verse.WindowStack.Add (Verse.Window window) [0x00000] in <filename unknown>:0
at RimWorld.MainTabsRoot.ToggleTab (RimWorld.MainButtonDef newTab, Boolean playSound) [0x00000] in <filename unknown>:0
at RimWorld.MainButtonWorker_ToggleTab.Activate () [0x00000] in <filename unknown>:0
at RimWorld.MainButtonWorker.InterfaceTryActivate () [0x00000] in <filename unknown>:0
at RimWorld.MainButtonWorker.DoButton (Rect rect) [0x00000] in <filename unknown>:0
at RimWorld.MainButtonsRoot.DoButtons () [0x00000] in <filename unknown>:0
at RimWorld.MainButtonsRoot.MainButtonsOnGUI () [0x00000] in <filename unknown>:0
at RimWorld.UIRoot_Play.UIRootOnGUI () [0x00000] in <filename unknown>:0
at Verse.Root.OnGUI () [0x00000] in <filename unknown>:0
10chaos1 2018 年 6 月 26 日 下午 8:33 
hey maxim got a ticking bug here that creates a large lag spike the game is almost unplayable
heres the console error whitch has ticked 8696 time so far in 31 in game days:

System.NullReferenceException: Object reference not set to an instance of an object
at Verse.GenCollection.Any[MissionDef] (System.Collections.Generic.List`1 list, System.Predicate`1 predicate) [0x00000] in <filename unknown>:0
at MissionsAndObjectives.MissionDef.get_AlreadyDone () [0x00000] in <filename unknown>:0
at MissionsAndObjectives.MissionDef.get_CanStartNow () [0x00000] in <filename unknown>:0
at MissionsAndObjectives.WorldComponent_Missions.WorldComponentTick () [0x00000] in <filename unknown>:0
at RimWorld.Planet.WorldComponentUtility.WorldComponentTick (RimWorld.Planet.World world) [0x00000] in <filename unknown>:0
Verse.Log:Error(String)
RimWorld.Planet.WorldComponentUtility:WorldComponentTick(World)
RimWorld.Planet.World:WorldTick()
Verse.TickManager:DoSingleTick()
Verse.TickManager:TickManagerUpdate()
Verse.Game:UpdatePlay()
Verse.Root_Play:Update()

this is after failing the tiberium rim timed mission to build a telescope in 14 days
Maxim  [开发者] 2018 年 6 月 26 日 下午 10:18 
Oh TiberiumRim might not be compatible with the new version of the missions framework, i will check it out though!
10chaos1 2018 年 6 月 26 日 下午 10:20 
another thing that I found is that construction of flooring is somehow slowed down by this mod here is an error that happens everytime a pawn builds a floor tile:

Exception in Tick (pawn=Huygens, job=FinishFrame (Job_210264) A=Thing_FAFWoodTile_Frame65929, CurToil=1): System.ArgumentNullException: Argument cannot be null.
Parameter name: key
at System.Collections.Generic.Dictionary`2<Verse.ThingDef, int>.ContainsKey (Verse.ThingDef) <0x00101>
at MissionsAndObjectives.ThingTracker.Make (Verse.ThingDef,Verse.IntVec3,Verse.Map) <0x0001c>
at MissionsAndObjectives.MissionPatches/BuildPatch/<>c__DisplayClass0_0.<Postfix>b__2 (MissionsAndObjectives.Objective) <0x00092>
at System.Collections.Generic.List`1<MissionsAndObjectives.Objective>.ForEach (System.Action`1<MissionsAndObjectives.Objective>) <0x0002f>
at MissionsAndObjectives.MissionPatches/BuildPatch/<>c__DisplayClass0_0.<Postfix>b__0 (MissionsAndObjectives.Mission) <0x000dd>
at System.Collections.Generic.List`1<MissionsAndObjectives.Mission>.ForEach (System.Action`1<MissionsAndObjectives.Mission>) <0x0002f>
at MissionsAndObjectives.MissionPatches/BuildPatch.Postfix (RimWorld.Frame) <0x00077>
at (wrapper dynamic-method) RimWorld.Frame.CompleteConstruction_Patch2 (object,Verse.Pawn) <0x00a3e>
at RimWorld.JobDriver_ConstructFinishFrame/<MakeNewToils>c__Iterator0/<MakeNewToils>c__AnonStorey1.<>m__1 () <0x001ef>
at (wrapper dynamic-method) Verse.AI.JobDriver.DriverTick_Patch1 (object) <0x00309>
lastJobGiver=RimWorld.JobGiver_Work, curJob.def=FinishFrame, curDriver=RimWorld.JobDriver_ConstructFinishFrame
Verse.Log:Error(String)
Verse.AI.Pawn_JobTracker:StartErrorRecoverJob(String)
Verse.AI.JobDriver:DriverTick_Patch1(Object)
Verse.AI.Pawn_JobTracker:JobTrackerTick()
Verse.Pawn:Tick()
Verse.TickList:Tick()
Verse.TickManager:DoSingleTick()
Verse.TickManager:TickManagerUpdate()
Verse.Game:UpdatePlay()
Verse.Root_Play:Update()
Maxim  [开发者] 2018 年 6 月 27 日 上午 2:02 
That's because floors don't count as a thing and thus can't really be counted in the system, i will add an exception to that, thanks for pointing it out!
10chaos1 2018 年 6 月 27 日 上午 7:08 
引用自 Maxim
That's because floors don't count as a thing and thus can't really be counted in the system, i will add an exception to that, thanks for pointing it out!

just found out a liitle more about this bug it only seems to slow flooring jobs while theres a mission in progress
Maxim  [开发者] 2018 年 6 月 27 日 上午 7:16 
I will have to look into that a bit more then, it won't be a problem in the next update!
Maxim  [开发者] 2018 年 10 月 27 日 上午 3:09 
Did you load the framework directly after Core or Mod Manager? If not, do so.
Charlotte 2018 年 10 月 27 日 上午 3:26 
That log is from under HugsLib, JectTools, AlienRaces and EditableBackstories. I'll re test...
Maxim  [开发者] 2018 年 10 月 27 日 上午 4:56 
Does it work now?
Charlotte 2018 年 10 月 27 日 下午 3:50 
Okay... with the framework loaded second, a lot of things break and many mods don't load.

This is from a modlist with no errors on run. Just adding the framework breaks it. There is no further errors here but a lot of messages just don't come. A lot of mods haven't loaded.

https://gist.github.com/HugsLibRecordKeeper/6c13b6cfbe4121dd45b9809027c3096b

That "null texture passed to GUI.DrawTexture" happens after trying to export the log (it bugs out) so it's not very relevant.

Wild guess... you are using an outdated harmony (1.1.0.0), while everyone else is using the updated harmony.
Maxim  [开发者] 2018 年 10 月 27 日 下午 4:02 
I think I found the issue, currently fixing it.
Charlotte 2018 年 10 月 27 日 下午 4:03 
For comparison, this is the modpack without the framework loaded.
https://gist.github.com/HugsLibRecordKeeper/f0ad2a7dcb814f17d42904b727923e3d

Notice no critical errors.

--edit: sorry, didn't see your post.
最后由 Charlotte 编辑于; 2018 年 10 月 27 日 下午 4:04
firethestars 2018 年 11 月 7 日 下午 5:36 
I am getting the below errors from steam which seems to be because the 2 icons are missing from the steam download of the mod (I can see in the mod folder that the files are missing, but the git repo suggests they have been there awhile). I have removed the game entirely in order to force the latest copy of the mod to come down and it still is missing. This is against version RimWorld 1.0.2059 rev1005.


Could not load UnityEngine.Texture2D at UI/Icons/info in any active mod or in base resources.
Verse.Log:Error(String, Boolean)
Verse.ContentFinder`1:Get(String, Boolean)
StoryFramework.StoryMats:.cctor()
System.Runtime.CompilerServices.RuntimeHelpers:RunClassConstructor(IntPtr)
System.Runtime.CompilerServices.RuntimeHelpers:RunClassConstructor(RuntimeTypeHandle)
Verse.StaticConstructorOnStartupUtility:CallAll()
Verse.PlayDataLoader:<DoPlayLoad>m__2()
Verse.LongEventHandler:ExecuteToExecuteWhenFinished()
Verse.LongEventHandler:UpdateCurrentAsynchronousEvent()
Verse.LongEventHandler:LongEventsUpdate(Boolean&)
Verse.Root:Update_Patch1(Object)
Verse.Root_Entry:Update()


Could not load UnityEngine.Texture2D at UI/Icons/Close in any active mod or in base resources.
Verse.Log:Error(String, Boolean)
Verse.ContentFinder`1:Get(String, Boolean)
StoryFramework.StoryMats:.cctor()
System.Runtime.CompilerServices.RuntimeHelpers:RunClassConstructor(IntPtr)
System.Runtime.CompilerServices.RuntimeHelpers:RunClassConstructor(RuntimeTypeHandle)
Verse.StaticConstructorOnStartupUtility:CallAll()
Verse.PlayDataLoader:<DoPlayLoad>m__2()
Verse.LongEventHandler:ExecuteToExecuteWhenFinished()
Verse.LongEventHandler:UpdateCurrentAsynchronousEvent()
Verse.LongEventHandler:LongEventsUpdate(Boolean&)
Verse.Root:Update_Patch1(Object)
Verse.Root_Entry:Update()
< >
正在显示第 1 - 15 条,共 21 条留言
每页显示数: 1530 50