Wealth bug
I've been running a (relatively) longer campaign and found a ruin and began exploiting it. However I noticed that the wealth didn't seem to reflect the gains from the ruins. It also made me remember that the wealth recovered from scrapped ships and components were strange as well, and that my reported annual wealth gains didn't seem to be fully reflected on my wealth balance. I don't remember ever reading a bug report about it (though I might have missed it). So I started a new game in an unmodded DB to check for it. Mostly default settings (no NPR), added a ruin to Earth, SM-built a Xeno brigade and a number of Construction brigades.
I waited for the ruins to be IDed and then began tracking the total wealth and added wealth per turn, and got this:
2026-01-26 26659 (+828)
2026-01-31 26797 (+137)
2026-03-02 27624 (+828)
2026-04-01 28453 (+828)
2026-05-01 29284 (+832)
2026-05-31 30098 (+814)
2026-06-30 30915 (+817)
2026-07-30 31735 (+820)
2026-08-29 37960 (+6224) 5400 from ruins
2026-09-28 43365 (+5405) 6600 from ruins
2026-10-28 37013 (-6352)
I can make no sense from these numbers after the weird second wealth from ruins event. It's interesting though. I haven't tested scrapping ships/components but I believe there's something similar happening with them (the wealth added in one increment disappears soon after). I have no idea whether this bug affects anything else, but something is off with the annual wealth calculations and the effective wealth evolution (it seems much less than it should).
I've annexed the DB file after the wealth disappeared, and some screenshots.
The function number - N/A
The complete error text - N/A
The window affected - N/A
What you were doing at the time - exploring ruins
Conventional or TN start - TN
Random or Real Stars - Real
Is your decimal separator a comma? - No
Is the bug is easy to reproduce, intermittent or a one-off? - Easy
If this is a long campaign - say 75 years or longer - let me know the length of the campaign as well - No