Game crashes when running "close all guis"

Started by BlackDiamond on

Topic category: Help with MCreator software

Joined Sep 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Game crashes when running "close all guis"

I created a custum gui that has custom image in it, im trying to do something like a jumpscare, and when i get hit, a gui opens. My code looks like this: (I didnt do any checks for entities just yet)

https://ibb.co/ZYqZH1g

 

The gui closes, and then my game crashes. 

 

My crash report looks like this:

https://pastebin.com/TXKjeBsJ

 

Do you have any ideas?