Skip to content

Filtering the proliferator in the statistics window causes error. #15

@jinxOAO

Description

@jinxOAO

If the planet only has spray coaters that cosumes proliferator mkIII, and no other entities that produce or consume proliferators. When I click the consumption/production details button(that filters the item, the red circle in the picture) of the proliferator in the statistics window, it causes error:
441P`BWHLR$0C9X@2K)T(N8

[Error : Unity Log] KeyNotFoundException: The given key was not present in the dictionary.
Stack trace:
System.Collections.Generic.Dictionary2[TKey,TValue].get_Item (TKey key) (at <2fa7a6a452ca43df998f07fd1486c0df>:IL_001E) Bottleneck.BottleneckPlugin.UIStatisticsWindow__ValueToAstroBox_Postfix (UIStatisticsWindow __instance) (at <01bf1e2be53148fbb32dab79d6c49993>:IL_0171) UIStatisticsWindow.ValueToAstroBox () (at <c63ca23bdae94e4485ecdf93f54e107d>:IL_0005) UIStatisticsWindow.RefreshAstroBox () (at <c63ca23bdae94e4485ecdf93f54e107d>:IL_0198) Bottleneck.BottleneckPlugin.UpdatePrecursorFilter (System.Int32 itemId, System.Boolean successor) (at <01bf1e2be53148fbb32dab79d6c49993>:IL_01A6) Bottleneck.BottleneckPlugin+<>c__DisplayClass52_0.<EnhanceElement>b__0 (System.Int32 _) (at <01bf1e2be53148fbb32dab79d6c49993>:IL_0000) Bottleneck.UI.Util+<>c__DisplayClass0_0.<CopyButton>b__0 () (at <01bf1e2be53148fbb32dab79d6c49993>:IL_0000) UnityEngine.Events.InvokableCall.Invoke () (at <ba62fd13111e45818db654d4800999fe>:IL_0011) UnityEngine.Events.UnityEvent.Invoke () (at <ba62fd13111e45818db654d4800999fe>:IL_0023) UnityEngine.UI.Button.Press () (at <32bd6c8a2dd3414ca080d595da90bbab>:IL_0027) UnityEngine.UI.Button.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) (at <32bd6c8a2dd3414ca080d595da90bbab>:IL_0011) UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) (at <32bd6c8a2dd3414ca080d595da90bbab>:IL_0008) UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction1[T1] functor) (at <32bd6c8a2dd3414ca080d595da90bbab>:IL_0070)
UnityEngine.EventSystems.EventSystem:Update()

maybe you need to edit _productionLocations for Spray Coaters?

edit: I notice that I've installed moremegastructure that patches some related method, so I delete that mod, and still the same error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions