RimWorld

RimWorld

LightsOut
Denne tråd er blevet låst
Avila 22. okt. 2022 kl. 16:21
debug spam
I'm sorry for vague title, I'm not entirely sure what mod is causing this conflict, but my debug log gets spammed with this one error. This is on 1.4

Could not instantiate or initialize a ThingComp: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.MissingMethodException: UnityEngine.Texture2D Verse.Widgets.GetIconFor(Verse.ThingDef,Verse.ThingDef,Verse.ThingStyleDef)
at LightsOut.ThingComps.KeepOnComp..ctor () [0x00006] in <3c09a7f8315e4ecdad83fd7a39b6b891>:0
at (wrapper managed-to-native) System.Reflection.MonoCMethod.InternalInvoke(System.Reflection.MonoCMethod,object,object[],System.Exception&)
at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00002] in <eae584ce26bc40229c1b1aa476bfa589>:0
--- End of inner exception stack trace ---
at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00014] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.RuntimeType.CreateInstanceMono (System.Boolean nonPublic) [0x000a8] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.RuntimeType.CreateInstanceSlow (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00009] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.RuntimeType.CreateInstanceDefaultCtor (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00027] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Activator.CreateInstance (System.Type type, System.Boolean nonPublic) [0x00020] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Activator.CreateInstance (System.Type type) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
at Verse.ThingWithComps.InitializeComps () [0x00037] in <a00f98f6defb48d0a26adc267eeace6e>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch1 (string)
Verse.ThingWithComps:InitializeComps ()
Verse.ThingWithComps:PostMake ()
(wrapper dynamic-method) Verse.ThingMaker:Verse.ThingMaker.MakeThing_Patch1 (Verse.ThingDef,Verse.ThingDef)
(wrapper dynamic-method) RimWorld.Frame:RimWorld.Frame.CompleteConstruction_Patch2 (RimWorld.Frame,Verse.Pawn)
RimWorld.JobDriver_ConstructFinishFrame/<>c__DisplayClass4_0:<MakeNewToils>b__1 ()
(wrapper dynamic-method) Verse.AI.JobDriver:Verse.AI.JobDriver.DriverTick_Patch0 (Verse.AI.JobDriver)
(wrapper dynamic-method) Verse.AI.Pawn_JobTracker:Verse.AI.Pawn_JobTracker.JobTrackerTick_Patch0 (Verse.AI.Pawn_JobTracker)
(wrapper dynamic-method) Verse.Pawn:Verse.Pawn.Tick_Patch3 (Verse.Pawn)
Verse.TickList:Tick ()
(wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch3 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch1 (Verse.Game)
Verse.Root_Play:Update ()
< >
Viser 1-4 af 4 kommentarer
juanlopez2008  [udvikler] 22. okt. 2022 kl. 16:38 
Double check that you’re on the latest version (look at the change notes, compare it to the version my mod states when the game starts).

That’s an issue that comes from me compiling against the 1.3 version of the game instead of the 1.4 version, which happened on one version earlier today, but not the latest version.
juanlopez2008  [udvikler] 22. okt. 2022 kl. 16:44 
It should say “Initializing LightsOut 2022.10.22.7“ when you first load the game. If you have an earlier version number then you need to update.
Sidst redigeret af juanlopez2008; 22. okt. 2022 kl. 16:44
Avila 22. okt. 2022 kl. 16:55 
Oprindeligt skrevet af juanlopez2008:
It should say “Initializing LightsOut 2022.10.22.7“ when you first load the game. If you have an earlier version number then you need to update.

Yep, that was it :) I have 2022.10.22.2, how would I get the mod to update? I figure it would auto update
juanlopez2008  [udvikler] 22. okt. 2022 kl. 17:24 
It does that from time to time (especially if I push multiple updates pretty close to one another).

Unsubscribe from the mod, wait a sec, resubscribe, then you should be good.
< >
Viser 1-4 af 4 kommentarer
Per side: 1530 50