Bug #26925
Camera becomes unresponsive and cannot use IVA after klaw-docking in IVA mode
0%


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)