Incompatibility with "ukulib"
Capysussa opened this issue ยท 4 comments
When having customized the options menu (pretty sure it doesn't matter how), and then upon opening said menu, the game abruptly crashes.
- Customize options menu
- Opening the menu, after re-opening the game, or in game
- Game Crashes
The Game does not crash.
OS: Windows 10 Home
FancyMenu Version: 3.0.6
Fabric Version: 0.15.3
MC Version: 1.20.4
Active Mods: (All Mods in this Folder are active)
https://www.mediafire.com/file/4gliap1jq0475md/Mods.zip/file
Some notes:
- Seems like it's not related to ModernFix (could be ukulib, but not 100% sure, maybe it's a combination of a performance mod and ukulib)
class_429
=OptionsScreen
class_1043
=DynamicTexture
Cannot invoke "NativeImage#getWidth()" because "DynamicTexture#pixels" is null
- ukulib places a Mixin in
OptionsScreen
(class_429.md8c356a$ukulib$lambda$registerHeadTex$2$1
) that registers some texture, but that fails because of a NullPointer
[16:26:57] [Render thread/INFO]: [FANCYMENU] ScreenCustomizationLayer registered: options_screen
[16:26:58] [Render thread/ERROR]: Attempted to upload null texture! This is not allowed, closed here
java.lang.Exception: null
at net.minecraft.class_1043.handler$eae000$modernfix$storeCloseTrace(class_1043.java:1030) ~[client-intermediary.jar:?]
at net.minecraft.class_1043.close(class_1043.java) ~[client-intermediary.jar:?]
at net.minecraft.class_1060.method_30299(class_1060.java:86) ~[client-intermediary.jar:?]
at net.minecraft.class_1060.method_4616(class_1060.java:73) ~[client-intermediary.jar:?]
at net.minecraft.class_429.md8c356a$ukulib$lambda$registerHeadTex$2$1(class_429.java:2095) ~[client-intermediary.jar:?]
at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:718) ~[?:?]
at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510) ~[?:?]
at java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:614) ~[?:?]
at java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:844) ~[?:?]
at java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:483) ~[?:?]
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) ~[?:?]
at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) ~[?:?]
at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) ~[?:?]
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) ~[?:?]
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) ~[?:?]
[16:26:58] [Render thread/ERROR]: Unreported exception thrown!
java.lang.NullPointerException: Cannot invoke "net.minecraft.class_1011.method_4307()" because "this.field_5200" is null
at net.minecraft.class_1043.method_22793(class_1043.java:24) ~[client-intermediary.jar:?]
at com.mojang.blaze3d.systems.RenderSystem.replayQueue(RenderSystem.java:227) ~[client-intermediary.jar:?]
at com.mojang.blaze3d.systems.RenderSystem.flipFrame(RenderSystem.java:214) ~[client-intermediary.jar:?]
at net.minecraft.class_1041.method_15998(class_1041.java:287) ~[client-intermediary.jar:?]
at net.minecraft.class_310.method_1523(class_310.java:1349) ~[client-intermediary.jar:?]
at net.minecraft.class_310.method_1514(class_310.java:888) ~[client-intermediary.jar:?]
at net.minecraft.client.main.Main.main(Main.java:265) ~[minecraft-1.20.4-client.jar:?]
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470) ~[fabric-loader-0.15.3.jar:?]
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) ~[fabric-loader-0.15.3.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) ~[fabric-loader-0.15.3.jar:?]
at org.prismlauncher.launcher.impl.StandardLauncher.launch(StandardLauncher.java:88) ~[NewLaunch.jar:?]
at org.prismlauncher.EntryPoint.listen(EntryPoint.java:126) ~[NewLaunch.jar:?]
at org.prismlauncher.EntryPoint.main(EntryPoint.java:71) ~[NewLaunch.jar:?]
[16:27:00] [Render thread/WARN]: COM exception: Invalid Query: SELECT PERCENTUSAGE FROM Win32_PerfRawData_PerfOS_PagingFile
[16:27:00] [Render thread/INFO]: [EMI] Disconnecting from server, EMI data cleared
[16:27:00] [Thread-58/INFO]: [EMI] Clearing data
[16:27:00] [Render thread/ERROR]: Attempted to upload null texture! This is not allowed, closed here
java.lang.Exception: null
at net.minecraft.class_1043.handler$eae000$modernfix$storeCloseTrace(class_1043.java:1030) ~[client-intermediary.jar:?]
at net.minecraft.class_1043.close(class_1043.java) ~[client-intermediary.jar:?]
at net.minecraft.class_1060.method_30299(class_1060.java:86) ~[client-intermediary.jar:?]
at net.minecraft.class_1060.method_4616(class_1060.java:73) ~[client-intermediary.jar:?]
at net.minecraft.class_429.md8c356a$ukulib$lambda$registerHeadTex$2$1(class_429.java:2095) ~[client-intermediary.jar:?]
at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:718) ~[?:?]
at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510) ~[?:?]
at java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:614) ~[?:?]
at java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:844) ~[?:?]
at java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:483) ~[?:?]
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) ~[?:?]
at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) ~[?:?]
at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) ~[?:?]
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) ~[?:?]
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) ~[?:?]
[16:27:01] [CraftPresence/INFO]: Shutting down CraftPresence...
at net.minecraft.class_1043.handler$eae000$modernfix$storeCloseTrace(class_1043.java:1030) ~[client-intermediary.jar:?]
Try to remove "modernfix" and/or "ukulib".
If that doesn't fix the issue, please start the game with only FancyMenu + dependencies installed.