-
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge Craft is getting its surface attachments screwed on 1.9.x and newer #80
Comments
Holy crap!!! The problem is on
|
Using the exact configuration:
KSP 1.8.1 does not borks up! Oukey, this is bad. Moving this to KSP-Recall |
This is the Log from loading the "Untitled Space Craft" and then merging it with itself (look for the two "Untitled Space Craft loaded!" message in sequence. There should be a
|
Nope, I was wrong. I misconfigured the log, I'm pushing this too much. :(
The I found the problem. The
Is generating this log:
For comparison, this is the respective logs for the mk1pod on the same vessel:
Where the sequence of 0..3 are markers to detect in which point an exception would happen. The absence of the
At least I know why this is happening. I will come back to this after some sleep. |
I dreamed a dream, a dream in which I fixed the bug. Worst. I dreamed it right. 🤣 I really fixed the bug while dreaming about it. What's happening is simple: Before KSP 1.9.x, the Interesting enough,
Tracking the code and simulating it on head, I finally understood! When you load a craft for merge on KSP >= 1.9, the Apparently this is not happening before 1.9.0 - and I think this older behaviour is the right one. Why calling Update while the part is being merged and not attached to the host subassembly yet? It really makes no sense, the damned thing is not "alive" yet. Curiously, fetching a subassembly from the SubAssemblies from Part Manager doesn't triggers this problem. DAMN. And I was thinking this was a TweakScale bug all this time!!!! 🤦 |
Notes for my future self: it's the |
Unsurprisingly, to tell you the true.
Clone and Merging are different use cases.
The text was updated successfully, but these errors were encountered: