Project

General

Profile

Bug #28266

Argument Out of Range Exception (AOORE) is happening when a pod (root part also) is set to heaviest part and a docking port is set to heaviest part and is moved to the pod with EVA construction..and visualize autostruts is enabled.

Added by Anth12 about 3 years ago.

Status:
New
Severity:
Low
Assignee:
-
Category:
Autostruts
Target version:
-
Start date:
07/13/2021
% Done:

0%

Version:
Platform:
Windows
Expansion:
Core Game
Language:
English (US)
Mod Related:
No
Votes:
Arrow u r green
Arrow d r red

Description

KSP 1.12.1 + BG + MH

Do the following:
  1. Have a pod that is root part
  2. Set Pod to heaviest part
  3. Attach part below (like a tank)
  4. Attach 1 docking port to the part below
  5. Set docking port to heaviest part
  6. Launch with engineer
  7. Turn on visualize autostruts
  8. EVA engineer
  9. Turn on EVA construction
  10. Grab docking port and place on pod

Screenshot shows result

AOORE DockingPortPodVisualizeAStrutBugSave.sfs for testing

Doesn't happen if the visualize autostruts is turned off.

Error in log is as follows and keeps spamming until the docking port is moved off the pod:

[EXC 12:21:09.297] ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) (at <9577ac7a62ef43179789031239ba8798>:0)
System.ThrowHelper.ThrowArgumentOutOfRangeException () (at <9577ac7a62ef43179789031239ba8798>:0)
Part.DrawAutoStrutLine () (at <a5c262f7fe724eb9918d4487db8b635e>:0)
Part.LateUpdate () (at <a5c262f7fe724eb9918d4487db8b635e>:0)

Also available in: Atom PDF