Jump to content

Grappler part spams AoR errors on release


nli2work

Recommended Posts

I noticed my grappler parts are unable to reattach after release for some reason. checked model and config setup against stock grappler unit; all checks out. far as I can tell they should behave identically in game...

I've removed all other Mods; all part functionalities except ModuleGrappleNode and ModuleAnimateGeneric. set to same exact index order as stock grappler unit. in game everything is normal until releasing the grapple unit. first click on Release generates the following error

 

NullReferenceException: Object reference not set to an instance of an object
  at ModuleGrappleNode.Release () [0x00000] in <filename unknown>:0
  at BaseEvent.Invoke () [0x00000] in <filename unknown>:0
  at UIPartActionButton.OnClick () [0x00000] in <filename unknown>:0
  at UnityEngine.Events.InvokableCall.Invoke (System.Object[] args) [0x00000] in <filename unknown>:0
  at UnityEngine.Events.InvokableCallList.Invoke (System.Object[] parameters) [0x00000] in <filename unknown>:0
  at UnityEngine.Events.UnityEventBase.Invoke (System.Object[] parameters) [0x00000] in <filename unknown>:0
  at UnityEngine.Events.UnityEvent.Invoke () [0x00000] in <filename unknown>:0
  at UnityEngine.UI.Button.Press () [0x00000] in <filename unknown>:0
  at UnityEngine.UI.Button.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) [0x00000] in <filename unknown>:0
  at UnityEngine.EventSystems.ExecuteEvents.Execute (IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) [0x00000] in <filename unknown>:0
  at UnityEngine.EventSystems.ExecuteEvents.Execute[IPointerClickHandler] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.EventFunction`1 functor) [0x00000] in <filename unknown>:0 
UnityEngine.Debug:Internal_LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
UnityEngine.EventSystems.ExecuteEvents:Execute(GameObject, BaseEventData, EventFunction`1)
UnityEngine.EventSystems.StandaloneInputModule:ProcessMousePress(MouseButtonEventData)
UnityEngine.EventSystems.StandaloneInputModule:ProcessMouseEvent(Int32)
UnityEngine.EventSystems.StandaloneInputModule:ProcessMouseEvent()
UnityEngine.EventSystems.StandaloneInputModule:Process()
UnityEngine.EventSystems.EventSystem:Update()

"Release" button remains active, clicking Release once or twice more will generate same error as above, after that game spams
 

ArgumentOutOfRangeException: Argument is out of range.

Parameter name: index
  at System.Collections.Generic.List`1[PartThermalData].get_Item (Int32 index) [0x00000] in <filename unknown>:0 
  at FlightIntegrator.UpdateOcclusionSolar () [0x00000] in <filename unknown>:0 
  at FlightIntegrator.UpdateOcclusion (Boolean all) [0x00000] in <filename unknown>:0 
  at FlightIntegrator.FixedUpdate () [0x00000] in <filename unknown>:0 

 

Any ideas?

Edited by nli2work
Link to comment
Share on other sites

9 hours ago, nli2work said:

Any ideas?

It looks like the line of code in ModuleGrappleNode.Release that adds a force to the node being grappled is using the parent part rather than the part the grapple is attached to.

It should be a simple fix for Squad to make...

Edit: I have added this bug to an internal Squad bug tracker...

Edited by Padishar
Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...