Scatterer icon indicating copy to clipboard operation
Scatterer copied to clipboard

planet scaledspace texture unloads sometimes when using kopernicus OnDemand loading

Open WhirligigGirl opened this issue 3 years ago • 1 comments

This is an issue i've seen in several planet packs in several situations, and only ever when scatterer is installed and there is a scatterer atmosphere on that planet. sometimes when a texture is loading on demand (i.e., tabbing to a planet, going from surface to the map view), there will be a brief stutter (there usually is when dealing with ondemand loading) and the planet textures disappear.

I'm wondering if it could have something to do with adjustScaledTexture, because I believe it only applies to planets with that set to True. It doesn't seem to be reliably replicated. I thought it was a permanent problem that required a game restart, and maybe sometimes it is (i'm recalling instances of this bug from months ago as well as what i'm seeing now), but a scene change (going to the tracking station) seems to have fixed it just now.

Before the bug: image

After the bug: image

zip file containing KSP.log copy of KSP_log.zip

WhirligigGirl avatar Sep 25 '22 19:09 WhirligigGirl

Yep it's totally due to adjustScaledTexture, I'm well aware of it. Recent changes on the dev branch may have fixed it although I haven't tested with Kopernicus for a while. You can try this dll and see if it makes any change: https://www80.zippyshare.com/v/WfABq3zD/file.html

LGhassen avatar Sep 25 '22 20:09 LGhassen

This should be fixed now on the latest version, don't hesistate to reopen if it still happens.

LGhassen avatar Jul 07 '24 15:07 LGhassen