X Tutup
Skip to content

fmt::arg("unit", counter.unit) causes crash, hard code counter.unit#6256

Merged
fluffyfreak merged 1 commit intopioneerspacesim:masterfrom
fluffyfreak:fix-perfinfo-crash
Nov 29, 2025
Merged

fmt::arg("unit", counter.unit) causes crash, hard code counter.unit#6256
fluffyfreak merged 1 commit intopioneerspacesim:masterfrom
fluffyfreak:fix-perfinfo-crash

Conversation

@fluffyfreak
Copy link
Contributor

Unfortunately the upgrade to libfmt v12.1.0 seems to break the PerfInfo screen.
Specifically the use of fmt::arg("unit", counter.unit) causes it to crash now.
To see this happen just open the Debug Tools with ctrl+i and then click the second tab for performance info.

This is something of a rubbish fix, but haven't been able to work out a better one.

Suggestions for how to really fix the problem are welcome.

@fluffyfreak fluffyfreak merged commit 3ce5da7 into pioneerspacesim:master Nov 29, 2025
4 checks passed
@fluffyfreak fluffyfreak deleted the fix-perfinfo-crash branch November 29, 2025 14:42
@fluffyfreak
Copy link
Contributor Author

Merged this for now, it can be fixed / tweaked easily enough as it's just one line

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

X Tutup