Auga icon indicating copy to clipboard operation
Auga copied to clipboard

[Bug] Compendium NRE in new caves update

Open sbtoonz opened this issue 2 years ago • 1 comments

[Error  : Unity Log] ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
Stack trace:
System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) (at <eae584ce26bc40229c1b1aa476bfa589>:0)
System.ThrowHelper.ThrowArgumentOutOfRangeException () (at <eae584ce26bc40229c1b1aa476bfa589>:0)
System.Collections.Generic.List`1[T].get_Item (System.Int32 index) (at <eae584ce26bc40229c1b1aa476bfa589>:0)
AugaUnity.AugaCompendiumController.OnBestiaryItemClicked (System.Int32 index) (at <31e940e0a5444a2b93140b0d7214d7f8>:0)
AugaUnity.AugaCompendiumController.SetupBestiary () (at <31e940e0a5444a2b93140b0d7214d7f8>:0)
AugaUnity.AugaCompendiumController.ShowCompendium () (at <31e940e0a5444a2b93140b0d7214d7f8>:0)
UnityEngine.Events.InvokableCall.Invoke () (at <7ed9544a6e86489c87771c638baaad47>:0)
UnityEngine.Events.UnityEvent.Invoke () (at <7ed9544a6e86489c87771c638baaad47>:0)
UnityEngine.UI.Button.Press () (at <5abdc278a459476dabe36f8ad65ea091>:0)
UnityEngine.UI.Button.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) (at <5abdc278a459476dabe36f8ad65ea091>:0)
UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) (at <5abdc278a459476dabe36f8ad65ea091>:0)
UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) (at <5abdc278a459476dabe36f8ad65ea091>:0)
UnityEngine.EventSystems.EventSystem:Update()

[Error  :UnityExplorer] [Unity] ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index

How to recreate Login to game press escape press compendium terminal NRE text and no compendium

sbtoonz avatar Mar 03 '22 21:03 sbtoonz

I have been working out why this happens during the public test release of the caves edition and it's been kind of a stumper because the mono script for the controller fails and i cant get the debugger to chain that deep

sbtoonz avatar Mar 03 '22 21:03 sbtoonz