Bug #26860
In the editor, parts pulled out from inventories forget to enable their partmodules
Status:
New
Severity:
Low
Assignee:
-
Category:
Editor
Target version:
-
Start date:
12/18/2020
% Done:
0%
Language:
English (US)
Mod Related:
No
Votes:
Description
Doing the following :
- In the editor, grab a part from the part list, or grab an already placed part
- Put it into a stock inventory
- Put it back in the editor
Results in KSP to forget to enable all partmodules on the part (it doesn't set MonoBehaviour.enabled = true), causing any Start()/Update()/FixedUpdate() code to not run.
Note that the KSP OnLoad/OnStart methods are called upon getting the part out of the inventory, so it seems to be an oversight in the initialization code.