边缘世界 RimWorld

边缘世界 RimWorld

Power Alerts
 此主题已被置顶,因此可能具有重要性
Diddily  [开发者] 2019 年 4 月 6 日 下午 5:51
Bug Reports
Please post any bugs you encounter here, including an output log if relevant.
< >
正在显示第 1 - 5 条,共 5 条留言
star 2022 年 4 月 9 日 下午 8:13 
At saved game load:

Exception processing alert Power_Alerts.Alerts.Alert_GeneratorFuelLow: System.NullReferenceException: Object reference not set to an instance of an object
at Power_Alerts.Alerts.Alert_GeneratorFuelLow.<GetLowFuelGenerators>b__0_4 (RimWorld.CompPowerTrader pc) [0x00028] in <be3a0ec0cc2e421eb4567318efa8ad51>:0
at System.Linq.Enumerable+WhereListIterator`1[TSource].MoveNext () [0x00037] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Enumerable+SelectManySingleSelectorIterator`2[TSource,TResult].MoveNext () [0x0006f] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Enumerable+SelectEnumerableIterator`2[TSource,TResult].MoveNext () [0x00029] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Collections.Generic.List`1[T]..ctor (System.Collections.Generic.IEnumerable`1[T] collection) [0x00077] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x00018] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at Power_Alerts.Alerts.Alert_GeneratorFuelLow.GetReport () [0x00042] in <be3a0ec0cc2e421eb4567318efa8ad51>:0
at RimWorld.Alert.Recalculate () [0x00000] in <99518a644a3e4a7ea3fde566568df84a>:0
at RimWorld.AlertsReadout.CheckAddOrRemoveAlert (RimWorld.Alert alert, System.Boolean forceRemove) [0x00000] in <99518a644a3e4a7ea3fde566568df84a>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.Log:ErrorOnce (string,int)
RimWorld.AlertsReadout:CheckAddOrRemoveAlert (RimWorld.Alert,bool)
RimWorld.AlertsReadout:AlertsReadoutUpdate ()
RimWorld.UIRoot_Play:UIRootUpdate ()
(wrapper dynamic-method) Verse.Root:Verse.Root.Update_Patch1 (Verse.Root)
Verse.Root_Play:Update ()

I guess it may be related to the generator from Crash Landing, but it's just a guess.
Diddily  [开发者] 2022 年 4 月 10 日 上午 6:48 
Your intuition was correct, it's related to Crash Landing. I need to get setup again to make changes to fix the issue, but in the meantime if you claim any generators that crash landed the exception should disappear.
Diddily  [开发者] 2022 年 4 月 10 日 上午 7:28 
@star Or you can just update the mod if you are running 1.3, all instances of unclaimed power buildings throwing errors should now be fixed. Thanks for reporting the issue and let me know if you see anything else!
VitaKaninen 8 月 20 日 下午 5:07 
Getting an error when I take off in the gravship.

Exception processing alert Power_Alerts.Alerts.Alert_ObstructedGenerator: System.NullReferenceException: Object reference not set to an instance of an object
[Ref DF7551EE]
at Power_Alerts.Alerts.Alert_ObstructedGenerator.GetObstructedGenerators () [0x00029] in <81053e797b4a48ae8a98eeaaad8a0aa2>:0
at Power_Alerts.Alerts.Alert_ObstructedGenerator.GetReport () [0x0002b] in <81053e797b4a48ae8a98eeaaad8a0aa2>:0
at RimWorld.Alert.Recalculate () [0x00000] in <cb53cd4422904947932d33f561ad8d15>:0
at RimWorld.AlertsReadout.CheckAddOrRemoveAlert (RimWorld.Alert alert, System.Boolean forceRemove) [0x00000] in <cb53cd4422904947932d33f561ad8d15>:0
[Harmony, 0Harmony.dll] MonoMod.Utils.DynamicMethodDefinition.UnityEngine.StackTraceUtility.ExtractStackTrace_Patch1()
[Harmony, 0Harmony.dll] MonoMod.Utils.DynamicMethodDefinition.Verse.Log.Error_Patch6(System.String)
[Core, Assembly-CSharp.dll] Verse.Log.ErrorOnce(System.String text, System.Int32 key)
[Core, Assembly-CSharp.dll] RimWorld.AlertsReadout.CheckAddOrRemoveAlert(RimWorld.Alert alert, System.Boolean forceRemove)
[Core, Assembly-CSharp.dll] RimWorld.AlertsReadout.AlertsReadoutUpdate()
[Core, Assembly-CSharp.dll] RimWorld.UIRoot_Play.UIRootUpdate()
[Harmony, 0Harmony.dll] MonoMod.Utils.DynamicMethodDefinition.Verse.Root.Update_Patch2(Verse.Root)
[Core, Assembly-CSharp.dll] Verse.Root_Play.Update()
Diddily  [开发者] 8 月 23 日 上午 8:34 
@VitaKaninen I just updated it with a null check in that function. I do not have Odyssey to test it myself so please let me know if it is resolved. Thanks for the report!
< >
正在显示第 1 - 5 条,共 5 条留言
每页显示数: 1530 50