Project

General

Profile

Bug #13135

OrbitTarget.ReferencePatchSelect throwing exceptions

Added by MOARdV over 7 years ago.

Status:
New
Severity:
Normal
Assignee:
-
Category:
Physics
Target version:
-
Start date:
10/28/2016
% Done:

0%

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

Description

I have not been able to nail down the specific conditions for this failure due to a lack of reference data. I've been testing the mods I'm developing in 1.2, and I am seeing log spam of an exception when transferring from Kerbin orbit to the Mun. I believe it's occurring after MechJeb has generated a coarse correction maneuver node, but before that node is executed.

[EXC 08:39:42.682] ArgumentOutOfRangeException: Argument is out of range.
Parameter name: index
    System.Collections.Generic.List`1[PatchRendering].get_Item (Int32 index)
    OrbitTargeter.ReferencePatchSelect ()
    OrbitTargeter.LateUpdate ()

Other than creating a maneuver node, there aren't any mods directly involved in the issue, as far as I can tell - once MJ adds the maneuver node, I don't touch the orbit data, except to read parameters.

Also available in: Atom PDF