Project

General

Profile

Bug #5384

Building fairing disables part selection and craft editing in both VAB and SPH

Added by preincarnated over 8 years ago. Updated almost 8 years ago.

Status:
Needs Clarification
Severity:
Normal
Assignee:
-
Category:
Gameplay
Target version:
-
Start date:
09/07/2015
% Done:

0%

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

Description

I was building a simple unmanned craft and was trying out the large fairing, however immediately after I built the fairing I could not select, move, add, or delete parts. I could still interact with existing parts through the right-click menu, but anything involving left click in the menu was disabled in both the VAB and SPH. The editor seems to be the only thing affected, and exiting and continuing the save did not fix it. Functionality was restored after restarting the game client, but as soon as I tried to build the fairing left click was again disabled. I could not reproduce the bug by re-building the craft from scratch, but opening the craft file (in any of my saves or new games) broke the editor. I have included the KSP.log that logged an InvalidOperationException as well as the craft file.

KSP.log (163 KB) KSP.log logged exception preincarnated, 09/07/2015 06:42 AM
Problem_File.craft (61.6 KB) Problem_File.craft broken craft file preincarnated, 09/07/2015 06:42 AM
KSP (stack overflow).log (384 KB) KSP (stack overflow).log New log with InvalidOperation and StackOverflow preincarnated, 09/07/2015 08:13 PM
editor_bug.zip (29.5 KB) editor_bug.zip [email protected] preincarnated, 09/08/2015 02:20 PM

History

#1 Updated by Squelch over 8 years ago

  • Status changed from New to Need More Info
  • Platform Win32 added
  • Platform deleted (Windows)

Thanks for your report. InvalidOperation is indeed unwanted, and this particular error has been known to block editor functions in my experience. However, a game restart should clear this and allow trouble free operation. The exact cause and a good reproduction of the problem has yet to be found.

I can confirm that the craft can be opened, edited, and the fairing rebuilt multiple times without errors on my system which would indicate that it is something local to your system.

From your report, it appears that restarting the game does not fix it:
Is the same error thrown every time you attempt to load the craft and edit it?
Is this true even for a fresh start of the game, and creating a brand new save after copying the craft to the Ships\VAB folder?
Could you please run a file integrity check for KSP in the Steam client and let us know if anything is downloaded, and if so, if it fixes the problem?

#2 Updated by preincarnated over 8 years ago

Same error is thrown every time I encounter the problem, and I also encountered a stack overflow. I have been able to half-consistently reproduce it multiple times today (each time in a new session) with the problem save file, a new rocket that I was building, and also from scratch just using 2 parts, one object on top of fairing, even in a brand new sandbox save. I've been trying to find a pattern leading up to the bug, but sometimes I am able to rebuild the fairing twenty or thirty times without any problem. Then I will start over and it happens immediately. It seems to only affect the middle sized fairing.
Also earlier I said that nothing else was affected, but if a launch is attempted while the object is in that state, it hangs on the loading screen until client is forced to close.
Verified file integrity, 7 files were downloaded, no change.

#3 Updated by preincarnated over 8 years ago

Also tried fresh installation, new save, first rebuild of fairing triggered error. Also could not save the broken craft; the log said that it could not find a part of the path.

#4 Updated by Squelch over 8 years ago

  • Status changed from Need More Info to Confirmed
  • % Done changed from 0 to 10

Thanks for confirming the file integrity, and for making a fresh install. It certainly helps to rule out other variables.

I have managed to reproduce your initial problem once while randomly editing the fairing. We have a theory as to what maybe causing it, and why it is so random.

Possible Workaround

This may allow you to continue using the editor once it locks you out. However, please use with caution as it does not clear the initial error (read bad things may happen)

From the editor.
  1. Open Debug menu (Alt+F12)
  2. Select the "Cheats" tab
  3. Select the "Show Input Lock Stack"
  4. select "Clear Input Lock Stack"

Please report back if you have any other findings. As I have now reproduced the problem albeit as a random occurrence, this can be forwarded for further investigation.

#5 Updated by Squelch over 8 years ago

As you are able to reproduce this problem reliably, could you please perform the following:

  1. Create the error as you have been doing so in a new game session and save.
  2. Exit the editor back to the Space Centre
  3. Return to the editor.
  4. Attach the log from the session here.

This will enable us to forensically analyse the log. If you are able to save the game, please also attach the .sfs for the same session. Thanks for your cooperation on this. We'll get to the bottom of it.

#6 Updated by preincarnated over 8 years ago

No problem, I'm happy to help. I replicated the issue in a new save in a new session like you asked, here is the log and sfs files (I included a quicksave and persistent save, not sure if they are both relevant).

#8 Updated by Summoners_Rift over 8 years ago

  • Severity changed from Low to Normal

#10 Updated by TriggerAu almost 8 years ago

  • Status changed from Confirmed to Needs Clarification
  • % Done changed from 10 to 0

Also available in: Atom PDF