Project

General

Profile

Bug #26925

Camera becomes unresponsive and cannot use IVA after klaw-docking in IVA mode

Added by JonnyOThan about 1 month ago.

Status:
New
Severity:
Low
Assignee:
-
Category:
IVA
Target version:
-
Start date:
12/24/2020
% Done:

0%

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

Description

Probably related to Bug #25917

This only seems to happen when docking an older ship to a newer one, not the other way around.

Repro steps:
1. create a ship with a mk1 lander can, klaw, and 4 rcs thrusters
2. use the cheat menu to put it into orbit
3. launch another ship and use the cheat menu to place it near the first one
4. take control of the first ship with the klaw
5. position yourself to grab the second ship using the klaw
6. before grabbing, press C to enter IVA mode

Result:
The internal camera becomes unresponsive. Pressing C will return to normal flight mode, however pressing C again has no effect and will cause the camera to become completely uncontrollable. Each time C is pressed, this exception is thrown:

5515 [EXC 09:55:08.917] NullReferenceException: Object reference not set to an instance of an object
5516 CameraManager.SetCameraIVA (Kerbal kerbal, System.Boolean resetCamera) (at <f8bc9e2b903e48a5b248ab0083c07c62>:0)
5517 CameraManager.SetCameraIVA () (at <f8bc9e2b903e48a5b248ab0083c07c62>:0)
5518 CameraManager.NextCameraMode () (at <f8bc9e2b903e48a5b248ab0083c07c62>:0)
5519 CameraManager.Update () (at <f8bc9e2b903e48a5b248ab0083c07c62>:0)

KSP.log (462 KB) KSP.log JonnyOThan, 12/24/2020 05:57 PM
klaw krash stock.sfs (95.1 KB) klaw krash stock.sfs a ready-made sfs file to reproduce the crash JonnyOThan, 12/24/2020 05:57 PM

Also available in: Atom PDF