Indexing Heat Sinks cause an infinite loop
Closed this issue ยท 1 comments
1.20.1 Commit 27478d5
If there are any invalid in the fission reactor multiblock, the indexing function gets stuck in an infinite loop, even after the problem gets fixed. The infinite loop only breaks after a complete game restart. If Line 267 of FissionReactorMultiblock gets changed to while (!delayedValidation.isEmpty() && hsReTryCounter < 4) {, the problem no longer occurs, but there are still issues regarding cyclic dependencies.

In the example above, I made the water heat sink depend on both the fuel cell and the quartz heat sink, and the quartz heat sink depend on the moderator and the water heat sink via the config. This setup creates a cyclic dependency and the indexing gets stuck trying to resolve this. There seems to be an attempt on solving this issue by shuffling the order in which the coolers get checked but it doesn't fix the issue that no matter what order you check it in, the other one isn't currently valid.
I don't know whether you already know about this issue since it is not an official release, so if you are already solving the issue, you may ignore the bug report.