Universal Cables broken in 9.10.3
twistedkento opened this issue ยท 3 comments
Please use the search functionality before reporting an issue. Also take a look at the closed issues!
Issue description:
Had some severe memory leaks in 9.10.2 from leaking lambdas, TNP Limitless 2 pack, so updated to test if the leak is still present in 9.10.3 but now I'm having problems with Universal Cables not transferring power to machines from other mods. Attaching energy cubes directly to the machines works and the universal cables works with Mekanism machines but no other machines that I've currently tested with.
Also the flux plugs visually attaches to the Cables if placed down next to them but if instead a cable is placed down next to the flux plug there is no visual update that the flux plug attaches to the cable.
Steps to reproduce:
- Create new flat world
- Place down Creative energy cube
- Place down machine (tried Refined storage controller, Silent mechanics machines and Flux network plugs and points)
- Connect with Universal Cable (any tier)
Version (make sure you are on the latest version before reporting):
Forge: 31.1.74
Mekanism: 9.10.3
Minecraft: 1.15.2
I will try to look into this at some point (rather busy currently with the final week of the semester), but in terms of the "leaking lambdas", I have no idea what you mean. If you have evidence of a memory leak coming from Mekanism feel free to open another issue for it including any profiling results that led you to the conclusion it was Mekanism.
Turns out the main issue with the memory leak was on our end a83686c I wouldn't be surprised if them using a new lazy optional each time still causes a memory leak, but it should be a lot less severe now (especially when interacting with mods that do properly cache their lazy optionals). I plan to make another release with this fix later tonight.