Skip to content

[SS2 Beta] void shard doesn't work at trade tele #999

@LordVGames

Description

@LordVGames

specifically the void shard afaik, gold shard works fine

[Error  : Unity Log] ItemDef 'ShardPoison' has an item index of 'None'.  Attempting to fix...
[Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
SS2.TradeController.BeginTrading (System.Int32 intPickupIndex) (at C:/Users/natep/Documents/GitHub/Starstorm2/SS2-Project/Assets/Starstorm2/Components/TradeController.cs:106)
UnityEngine.Events.InvokableCall`1[T1].Invoke (T1 args0) (at <a20b3695b7ce4017b7981f9d06962bd1>:IL_0010)
UnityEngine.Events.UnityEvent`1[T0].Invoke (T0 arg0) (at <a20b3695b7ce4017b7981f9d06962bd1>:IL_0025)
RoR2.PickupPickerController.HandlePickupSelected (System.Int32 choiceIndex) (at <cba2c3feea8a4935a67769bf3df8c3d3>:IL_0043)
RoR2.PickupPickerController.SubmitChoice (System.Int32 choiceIndex) (at <cba2c3feea8a4935a67769bf3df8c3d3>:IL_002E)
RoR2.UI.PickupPickerPanel+<>c__DisplayClass24_0.<OnCreateButton>b__0 () (at <cba2c3feea8a4935a67769bf3df8c3d3>:IL_000B)
UnityEngine.Events.InvokableCall.Invoke () (at <a20b3695b7ce4017b7981f9d06962bd1>:IL_0010)
UnityEngine.Events.UnityEvent.Invoke () (at <a20b3695b7ce4017b7981f9d06962bd1>:IL_0022)
UnityEngine.UI.Button.Press () (at <cea58a82f60b452280181ceda264881c>:IL_001C)
UnityEngine.UI.Button.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) (at <cea58a82f60b452280181ceda264881c>:IL_0009)
RoR2.UI.MPButton.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) (at <cba2c3feea8a4935a67769bf3df8c3d3>:IL_0017)
UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) (at <cea58a82f60b452280181ceda264881c>:IL_0007)
UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) (at <cea58a82f60b452280181ceda264881c>:IL_0067)
UnityEngine.EventSystems.ExecuteEvents:Execute(GameObject, BaseEventData, EventFunction`1)
Rewired.Integration.UnityUI.RewiredStandaloneInputModule:ProcessMousePress(MouseButtonEventData)
Rewired.Integration.UnityUI.RewiredStandaloneInputModule:ProcessMouseEvent(Int32, Int32)
Rewired.Integration.UnityUI.RewiredStandaloneInputModule:ProcessMouseEvents()
Rewired.Integration.UnityUI.RewiredStandaloneInputModule:Process()
UnityEngine.EventSystems.EventSystem:Update()
RoR2.UI.MPEventSystem:Update()

the line mentioning ShardPoison is mentioned every time the trade is attempted which is when the error appears so the reason may be related to that

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions