-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Game freezes when trying to link certain storages #47
Comments
I get the same issue with the vanilla shelves Seems like you can toggle all patches off when you link containers as a temporary workaround? Not sure which patch it is that's causing the issue. |
Judging by some other reports it looks like it's the "TryFindBestBetterStoreCellForWorker" patch doing it |
I actually tried turning that off by itself and still froze. I don't think that's the one causing it when linking storages. |
I had to turn off all patches in that section to stop the crashes, but I think the one TryFindBestBetterStoreCellForWorker patch can be disabled by itself for vanilla. Mods that mess with storage seem to require turning off all the other prepatches in that section of optimizations. |
You have to disable "TryFindBestBetterStoreCellForWorker" patch, and all others patches that relies on it. Patches to disable:
Restart your game to make the changes apply. Also, duplicate of #44 20240616: Foxtr0t1337 posted a PR #53 fixing this issue. You can either follow his instructions to try to fix it, or wait for the official release and disable the patches above for now. |
I did that, and not only it fixed crashes, but also serious lag spikes I had. |
I can confirm that this happens to my game aswell. Game will freeze if i try to link 7 or more shelves at the same time. 6 works fine. This was all vanilla shelves. |
+1 |
Getting this myself, also tried the listed patches to turn off, still froze. |
@VaelophisNyx I also encountered this bug just now, but for me sunxyw's solution worked fine. Did you restart the game after disabling the patches? I guess it might also help to clear the cache (which you can do at the bottom of the mod's settings). Otherwise, your bug might be different from the one others are encountering. |
a reload after the settings changed fixed the issue. |
Can confirm this happens when linking 7+ storages. |
Found the problem in the source code. And no, in my case it is not because of TryFindBestBetterStoreCellForWorker but TryFindBestBetterStoreCellFor. |
PR is made, please feel free to try the fix out. To apply the fix you will need to pull the commit to your local mod folder and compile it. |
Hi Foxtr0t1337, I just downloaded the dll you compiled to try it out and it did fix the problem caused when linking storage shelves, thank you very much! |
Can also confirm, after replacing my 1.5 folder with the one from your repo, no further crashes. |
The fix is merged in now |
When linking together some things like hoppers (but not the vanilla or VE shelves, or Adaptive Storage Framework buildings) the game will completely freeze
Seems to be connected to Performance Fish
http://0x0.st/XX7c.log
The text was updated successfully, but these errors were encountered: