RimWorld

RimWorld

Mini Save Our Ship 2
flak autocan error.
flak autocan error.It cannot display any information it should have, such as power consumption or which mod it comes from.
error log:
GetInspectString exception on ShipTurret_AutocannonII16147:
System.NullReferenceException: Object reference not set to an instance of an object
[Ref 2FE8B94B]
at RimWorld.CompRefuelable.CompInspectStringExtra () [0x0015f] in <630e2863bc9a4a3493f2eff01e3a9556>:0
at Verse.ThingWithComps.InspectStringPartsFromComps () [0x00020] in <630e2863bc9a4a3493f2eff01e3a9556>:0
at Verse.ThingWithComps.GetInspectString () [0x00013] in <630e2863bc9a4a3493f2eff01e3a9556>:0
at SaveOurShip2.Building_ShipTurret.GetInspectString () [0x00007] in <0ac025b09b37486d82eecc56888c58b0>:0
at RimWorld.InspectPaneFiller.DrawInspectStringFor (Verse.ISelectable sel, UnityEngine.Rect rect) [0x00000] in <630e2863bc9a4a3493f2eff01e3a9556>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
RimWorld.InspectPaneFiller:DrawInspectStringFor (Verse.ISelectable,UnityEngine.Rect)
RimWorld.InspectPaneFiller:DoPaneContentsFor (Verse.ISelectable,UnityEngine.Rect)
RimWorld.MainTabWindow_Inspect:DoPaneContents (UnityEngine.Rect)
RimWorld.InspectPaneUtility:InspectPaneOnGUI (UnityEngine.Rect,RimWorld.IInspectPane)
RimWorld.MainTabWindow_Inspect:DoWindowContents (UnityEngine.Rect)
Verse.Window:InnerWindowOnGUI (int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)
[Ref 2FE8B94B]
at RimWorld.CompRefuelable.CompInspectStringExtra () [0x0015f] in <630e2863bc9a4a3493f2eff01e3a9556>:0
at Verse.ThingWithComps.InspectStringPartsFromComps () [0x00020] in <630e2863bc9a4a3493f2eff01e3a9556>:0
at Verse.ThingWithComps.GetInspectString () [0x00013] in <630e2863bc9a4a3493f2eff01e3a9556>:0
at SaveOurShip2.Building_ShipTurret.GetInspectString () [0x00007] in <0ac025b09b37486d82eecc56888c58b0>:0
at RimWorld.InspectPaneFiller.DrawInspectStringFor (Verse.ISelectable sel, UnityEngine.Rect rect) [0x00000] in <630e2863bc9a4a3493f2eff01e3a9556>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
RimWorld.InspectPaneFiller:DrawInspectStringFor (Verse.ISelectable,UnityEngine.Rect)
RimWorld.InspectPaneFiller:DoPaneContentsFor (Verse.ISelectable,UnityEngine.Rect)
RimWorld.MainTabWindow_Inspect:DoPaneContents (UnityEngine.Rect)
RimWorld.InspectPaneUtility:InspectPaneOnGUI (UnityEngine.Rect,RimWorld.IInspectPane)
RimWorld.MainTabWindow_Inspect:DoWindowContents (UnityEngine.Rect)
Verse.Window:InnerWindowOnGUI (int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)
< >
Showing 1-2 of 2 comments
wowwoka 22 May @ 5:32am 
I tested it with only sos2 and this mod and the error still exists.
Additionally, due to a capitalization issue, it also could not be reloaded properly.
<thingDefs>
<li>uranium</li>
</thingDefs>
in Buildings_Mini_Torpedo.xml
uranium should be Uranium, with a capital U.
wowwoka 22 May @ 6:02am 
It seems that the problem is caused entirely by this lowercase U.
< >
Showing 1-2 of 2 comments
Per page: 1530 50