Skip to content
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

Game crashes when parts exploding #2359

Open
SK1Y101 opened this issue May 9, 2024 · 2 comments
Open

Game crashes when parts exploding #2359

SK1Y101 opened this issue May 9, 2024 · 2 comments

Comments

@SK1Y101
Copy link

SK1Y101 commented May 9, 2024

Running a decently large pack, please advise me on the information needed to diagnose the root cause:
Running Linux Bazzite (Latest), KSP 1.12.5, RP1 3.6.0

Game has been running fine up until most recent launch. When the booster stage hit the ground, the game froze.
The previous launch, the game had a large lag spike just after explosion.

Repeated testing has shown the freeze/crash occurs between Tiny Tim solid motors hitting the ground and exploding, and a sepatron hitting the ground to explode.
Same behaviour also occurs just before a fairing hits the ground to explode.

Nothing happens to the game if the parts are not destroyed.

@Nazfib
Copy link
Contributor

Nazfib commented May 11, 2024

Oh dear.

Apparently, something in Kopernicus triggers a bug in the Unity Engine, where it uses the external zlib library incorrectly. The original zlib library handled this, mostly by accident, correctly anyway. However, Fedora 40 (on which Bazzite Linux is based) has replaced zlib by zlib-ng, which crashes when it is mis-used in this way.

A fix is in the works, but it will take a while before that is released, then makes its way into Fedora, and then Bazzite.

Known workarounds include:

There's nothing the RP-1 team can do about this, I'm afraid.

References:

@tuliom
Copy link

tuliom commented May 27, 2024

FTR: the mono fix is also available here: mono/mono#21759
Review is still pending.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants