-
Notifications
You must be signed in to change notification settings - Fork 20
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
DragCubeGeneration patch interaction with B9PS causes vessel to not show in map view #154
Comments
Update: TU not needed. I included CRP only because of the resources used by the capsule, it's not otherwise germane. |
Disabling by default until @gotmachine has a change to look at this, since per forum reports it also breaks stockproc fairing drag cubes. |
Gave a quick look at this, and I'm able to reproduce. The issue reported on the forum with stock fairings is likely separate, see #162 This seems indeed to involve a misconfigured B9PS mesh switcher somehow, specifically for the KSP is yelling about the situation (which isn't uncommon, there plenty of such misconfiguration in various mods), but I have no idea how the end result can be what we are seeing when the KSPCF drag cube generation patch is added to the mix. The behavior doesn't seem to be entirely deterministic, I've had cases where this doesn't happen, and cases where the map view doesn't load at all. But from a few tests, fixing the drag cube misconfiguration seems to fix the whole thing. Will try to find some time to investigate further, in the meantime, the patch is better left disabled. |
Thank you! <3 |
Managed to isolate this to the following conditions :
It sounds like the issue stems from copying the part, which in the case of the root part incurs copying a lot of additional components : EDIT : ok... found it... sigh partObject.name += " Drag Rendering Clone"; And guess what... Here is a piece of code from if (base.gameObject.name.Contains("Drag Rendering Clone"))
{
DestroyVesselComponents();
return;
} |
… with the "Drag Rendering Clone" substring in order to have proper cleanup done by the Vessel.OnDestroy() method.
Should be fixed as of 1.31.0 |
The Mercury capsule from ROCapsules (v2.0 and before, I'm releasing a hotfix to disable KSPCF drag cube patching in 2.1) will not show in map view. Not merely is no icon shown, but the entire vessel is simply not created AFAICT, with no orbital track and the planetarium camera focused on Kerbin.
Reproduction:
Download ROCapsules from Github. Install Textures Unlimited (probably not necessary, but it shouldn't matter), B9PS, and CRP. And KSPCF and Harmony, of course. Go to editor, place Mercury Capsule, load to flight, go to map view.
If I disable the patch, or I remove B9PS, the issue goes away.
KSP.log
The text was updated successfully, but these errors were encountered: