Mods with many GUIs or key bindings crash

Published by mensreamc on Tue, 01/28/2020 - 14:18
Upvotes: 1
Issue description

Getting this error trying to add a new procedure to a mod that I made in the last snapshot. It works with all the stuff I added in the snapshot but anything new I try to add gives me that error.

I'm getting this error while trying to create a new world or load an existing one. The error shows up in the games log file.

Attachment Size
workspace.zip1.81 MB 1.81 MB

Issue comments

Please attach your exported workspace in ZIP and tell me how to reproduce this crash in the game.

I can reproduce this. The problem is that there is a limit to the number of network packages one can register per bus. Each GUI registers two packets and each key binding registers one. This means one can hit the limit of 256 packets per bus.

Currently, there is no way around this in 2020.1, I will check what can be done to overcome this in the future updates.

A solution that would be worth considering is to use single package type for all GUIs and single type for all key bindings, I will consider doing this in the future.

Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.