ModernUI icon indicating copy to clipboard operation
ModernUI copied to clipboard

[Bug] Crash caused by ModernUI (?)

Open VaporeonScripts opened this issue 3 months ago • 9 comments

Describe the bug crash

To Reproduce Steps to reproduce the behavior: use the mod ig, and join the world Expected behavior no crashes Screenshots https://mclo.gs/y9Cr0P2

Image

Environment

  • Mod Version: 3.12.0.2
  • NeoForge Version: .209
  • Operating System: CachyOS (Arch Distro)
  • Graphics Card: rx 6750xt XFX
  • Other Mods: many lol

VaporeonScripts avatar Sep 18 '25 11:09 VaporeonScripts

Image

VaporeonScripts avatar Sep 18 '25 11:09 VaporeonScripts

An array index out of bounds seems impossible here. But I found another issue: some mods perform text layout that contains emoji on a background thread, and there’s a bit of a thread safety problem with that. You can try disabling Color Emoji to see if it helps.

BloCamLimb avatar Sep 18 '25 12:09 BloCamLimb

Where do I find that "Color Emoji"?

VaporeonScripts avatar Sep 18 '25 12:09 VaporeonScripts

config/ModernUI/client.tomluseColorEmoji to false

Where do I find that "Color Emoji"?

Additionally, run the game with assertions enabled, by adding JVM argument -ea

BloCamLimb avatar Sep 18 '25 12:09 BloCamLimb

What are assertions ?

VaporeonScripts avatar Sep 18 '25 12:09 VaporeonScripts

What are assertions? https://docs.oracle.com/javase/8/docs/technotes/guides/language/assert.html

They capture assertion errors.

BloCamLimb avatar Sep 18 '25 13:09 BloCamLimb

alright

VaporeonScripts avatar Sep 18 '25 13:09 VaporeonScripts

Any news? Do you encounter the crash after disabling Color Emoji? Do you encounter assertions errors?

BloCamLimb avatar Sep 19 '25 16:09 BloCamLimb

for now, it didnt crash, but it might be a rare crash, so i'll test further, about the assertions errors, idk, didn't test yet, i'm focused on working on the modpack 😅

VaporeonScripts avatar Sep 19 '25 16:09 VaporeonScripts