FirstPersonKSP / FreeIva

Work in progress mod for Kerbal Space Program which allows getting out of your seat and moving around the vessel while on IVA.
GNU General Public License v2.0
22 stars 7 forks source link

interior/airlock bug or gitch #371

Closed KassIsLegend closed 8 months ago

KassIsLegend commented 8 months ago

interior overlay is turned off, this station was sent up in 2 seperate parts and all is fine and lagg free until i either stage or undock with a docking port then this happens sometimes the craft just spawns on the launchpad like this. Either or, it causes my framerate to tank everytime, in the pictures below im pulling about 15-20 fps and its been as low as 10-13 on the moon as i have this same station around the moon. This seems to happen with any part it thinks is an airlock, see attatched photos. In the attatched video the overlay glitch goes away when i undock and switch to starship but the moment i dock back to the station, the overlay glitches as seen and my framerate tanks to the floor.

Video showing bug: https://www.youtube.com/watch?v=y3tNOi3e9SQ

Specs:

CPU: Ryzen 5 3600X @ 4.20Ghz

RAM: 16GB DDR4 @2400 MHZ

GPU: Zotac 1080TI 11GB

Kerbal Space Program Screenshot 2023 11 28 - 09 16 30 75 Kerbal Space Program Screenshot 2023 11 28 - 10 56 00 39 Kerbal Space Program Screenshot 2023 11 28 - 11 06 38 59

Kerbal Space Program Screenshot 2023 11 28 - 09 04 45 07

JonnyOThan commented 8 months ago

Please provide your ksp.log file with all bug reports or requests for support. If you can send craft files that reproduce the issue, even better.

If you have JSI Transparent Pods installed, that will cause the overlays of centrifuge parts to render when they shouldn't. But I don't think it would have much effect on performance. Rather I suspect that at some times, the internals of the station are not created but doing certain actions is causing them to spawn, which is considerably rough on performance. Still, if I had the craft file I could hook it up to the profiler and see if there's any low hanging fruit for optimization.

Is the performance issue any different from if you had control of the station and enter IVA view?

KassIsLegend commented 8 months ago

removing JSI Transparant pods fixed the issue, thank you!

JonnyOThan commented 8 months ago

Ok, dupe of #228 then