MOARdV / DistantObject

Distant Object Enhancement bis plugin for Kerbal Space Program
51 stars 14 forks source link

Strange Blue Dot #45

Closed FractalCyclone closed 1 year ago

FractalCyclone commented 4 years ago

Blue Dot from Sigma Binary / Distant Object Enhancement conflict.

Spawns from craft, single-sided texture invisible when viewed from any other direction. Not collidable, static once spawned.

The issue only presents itself when there is a binary system loaded and Distant Object Enhancement is installed.

Already posted this to the Sigma Binary Github issue tracker as well

screenshot2 screenshot0

KSP 1.7.3 Kopernicus - 1.7.3.2 ModularFlightIntegrator - 1.2.6.0 Sigma Binary - 1.7.2 Distant Object Enhancement - 1.9.1.1 SigmaDunaIke

KSP.log

MOARdV commented 4 years ago

Sigma88 contacted me about this. As I noted with him (although more succinctly), the dot is an impostor used to represent a planetary body. Bodies are supposed to be draw about 740km to 750km from the camera, so I really don't understand how that one is forming in front of the runway.

Although, in the log, there's an NRE when the body flare generator is starting up. I am guessing Sigma Binary rearranges something in FlightGlobals in a way that DOE doesn't expect, so the NRE interrupts the flare generation code, leaving debris.

Note that I'm no longer supporting this mod, since I don't have time for KSP modding, so I don't know when or if I'll be in a position to fix this bug.

MOARdV commented 4 years ago

For anyone who stops by this repo looking for this bug's solution, there is a fix here: https://github.com/Sigma88/DistantObject/releases

Note that Sigma88 did not take over the mod - this was a fix to address a bug in DOE that affects Sigma Binary players (and, possibly, other mods that create barycenters).