MCreator freezes when I run Client

Published by pigface111 on Sun, 08/25/2019 - 22:21
Upvotes: 3
Issue description

Whenever I run the client to test out my mod, mcreator will freeze and it won't let me close it. It happens no matter what mod I am working on, even with no mod elements.

Issue comments

Well, I have the same problem ;-; it happens randomly when running the client gradle, and I have to force stop MCreator

The problem isn't my computer as the gradle never crashes when I'm working on Eclipse

It's not my mod either as it can crash with any of my mods

I noticed this for the first time when i was still working on MCreator 1.8.9 and it still happens with 2019.5.

but Also maybe yes,
 in my console something weird is happening

as you said, theres so many same broken message in console at same time 16:56:21
(this maybe isnt accurate, because its with some elements, (i was lazy to do with no elements haha)
maybe the broken messages are because of my japanese language,
but this is weird i think

If MCreator Freezed While running clients
im just gonna kill MCreator task and reboot MCreator (because file is saved when runclient)
its faster than waiting to unfreeze (but so dengerous haha)

It seems you use print block in a tick procedure. Avoid printing from procedures too much.

The workspace works fine for me so unfortunately I don't have a solution at the moment, but will let you know if I get any ideas.

Hmm maybe at least not Device's fault
i have 32RAMS and 2 GBs allocated to MCreator is it enough?
PC specs
CPU: AMD Ryzen 7 2700x Eight core processor
GPU: GTX 1080

also it happened on past some year (maybe, if i remenber correctly) (when there was no procedure at all)

My suggestion is add a option to Not to Compile WorkSpace on Every single time when save changes
simply it lets user to Compile WorkSpace with clicking no automation
if this is possible i highly suggest it

Could you give the full log. Although I am running out of ideas as I can not reproduce this.

I think I might be able to fix freezing in the next update.

This part is problematic probably too:

com.esotericsoftware.kryo.KryoException: java.io.IOException:     at com.esotericsoftware.kryo.io.Input.fill(Input.java:141

Seems like something is blocking MCreator from full internet access.



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.