Greetings, i created a small world:
https://www.dropbox.com/s/u31mz9os2a2ym59/Wear%20and%20Tear%20Test.rar?dl=0
I use the version 1.0.10 and modified only the config to reduced the required time from 60 to 2 minutes for degrading and deactivated the weartear.explosive_endings.
Every time I place efficiency or speed modules in the chem plant or refinery, they get lost once the building degrades.
I hope it happens for you in this world. Otherwise this bug would be very strange. What additional information do you have in mind? Should I uncomment all print statements and search for some kind of error message?
Then I have a small suggestion, could you add a way to restrict buildings from aging to the config file. For example the virtual miners used in the mining vehicles from erandel's aai mods crash the game as soon as they are replaced by the aging_xxx version. Or the dynamic-assembler mod stops working, when the building gets changed to the aging version.
Keep up the good work :)