[1.16.5] Crash with FancyMenu and the new Curios API beta
FoxMcloud5655 opened this issue ยท 0 comments
Versions:
- Curios: 1.16.5-4.0.6.4
- Forge/Fabric: 36.2.16
- FancyMenu: 2.4.2_MC_1.16.2-1.16.5
- Konkrete: 1.3.0_MC_1.16.2-1.16.5
Observed Behavior: The game crashes upon loading a custom menu containing a player model.
Steps to Reproduce:
- Install FancyMenu and Konkrete (it's dependency).
- Load Minecraft and if you don't already have a menu with a player model on it, create one by going into the menu.
2a. If you don't have a menu with a player model on it, you can add a player model to one by clicking the "Current Menu" button in the top-left corner of the screen, then selecting "Customization: Off". Go back to the same menu and select "Layouts -> New", then "Element -> New -> Player Entity".
2b. If you already have a menu with a player entity on it, then load up the menu. - The game will crash.
Crash Log:
java.lang.NullPointerException: Rendering overlay
at top.theillusivec4.curios.common.capability.CurioInventoryCapability$CurioInventoryWrapper.reset(CurioInventoryCapability.java:120) ~[?:property(class java.lang.String, provider(?))] {re:classloading}
at top.theillusivec4.curios.common.capability.CurioInventoryCapability$CurioInventoryWrapper.<init>(CurioInventoryCapability.java:109) ~[?:property(class java.lang.String, provider(?))] {re:classloading}
at top.theillusivec4.curios.common.capability.CurioInventoryCapability$Provider.<init>(CurioInventoryCapability.java:579) ~[?:property(class java.lang.String, provider(?))] {re:classloading}
at top.theillusivec4.curios.common.capability.CurioInventoryCapability.createProvider(CurioInventoryCapability.java:90) ~[?:property(class java.lang.String, provider(?))] {re:classloading}
at top.theillusivec4.curios.common.event.CuriosEventHandler.attachEntitiesCapabilities(CuriosEventHandler.java:188) ~[?:property(class java.lang.String, provider(?))] {re:classloading}
at net.minecraftforge.eventbus.ASMEventHandler_70_CuriosEventHandler_attachEntitiesCapabilities_AttachCapabilitiesEvent.invoke(.dynamic) ~[?:?] {}
at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85) ~[eventbus-4.0.0.jar:?] {}
at net.minecraftforge.eventbus.EventBus$$Lambda$3201/458982238.invoke(Unknown Source) ~[?:?] {}
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) ~[eventbus-4.0.0.jar:?] {}
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) ~[eventbus-4.0.0.jar:?] {}
at net.minecraftforge.event.ForgeEventFactory.gatherCapabilities(ForgeEventFactory.java:597) ~[?:?] {re:classloading}
at net.minecraftforge.event.ForgeEventFactory.gatherCapabilities(ForgeEventFactory.java:591) ~[?:?] {re:classloading}
at net.minecraftforge.common.capabilities.CapabilityProvider.doGatherCapabilities(CapabilityProvider.java:83) ~[?:?] {re:classloading}
at net.minecraftforge.common.capabilities.CapabilityProvider.gatherCapabilities(CapabilityProvider.java:78) ~[?:?] {re:classloading}
at net.minecraftforge.common.capabilities.CapabilityProvider.gatherCapabilities(CapabilityProvider.java:62) ~[?:?] {re:classloading}
at net.minecraft.entity.Entity.<init>(Entity.java:221) ~[?:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.entity.LivingEntity.<init>(LivingEntity.java:205) ~[?:?] {re:classloading}
at net.minecraft.entity.player.PlayerEntity.<init>(PlayerEntity.java:159) ~[?:?] {re:classloading,pl:accesstransformer:B}
at de.keksuccino.fancymenu.menu.fancy.item.playerentity.PlayerEntityCustomizationItem$MenuPlayerEntity.<init>(PlayerEntityCustomizationItem.java:576) ~[?:1.0.0] {re:classloading}
at de.keksuccino.fancymenu.menu.fancy.item.playerentity.PlayerEntityCustomizationItem.<init>(PlayerEntityCustomizationItem.java:85) ~[?:1.0.0] {re:classloading}
at de.keksuccino.fancymenu.menu.fancy.menuhandler.MenuHandlerBase.applyLayout(MenuHandlerBase.java:944) ~[?:1.0.0] {re:classloading}
at de.keksuccino.fancymenu.menu.fancy.menuhandler.MenuHandlerBase.onButtonsCached(MenuHandlerBase.java:486) ~[?:1.0.0] {re:classloading}
at de.keksuccino.fancymenu.menu.fancy.menuhandler.custom.MainMenuHandler.onButtonsCached(MainMenuHandler.java:90) ~[?:1.0.0] {re:classloading}
at net.minecraftforge.eventbus.ASMEventHandler_47_MenuHandlerBase_onButtonsCached_ButtonCachedEvent.invoke(.dynamic) ~[?:?] {}
at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85) ~[eventbus-4.0.0.jar:?] {}
at net.minecraftforge.eventbus.EventBus$$Lambda$3201/458982238.invoke(Unknown Source) ~[?:?] {}
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) ~[eventbus-4.0.0.jar:?] {}
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) ~[eventbus-4.0.0.jar:?] {}
at de.keksuccino.fancymenu.menu.button.ButtonCache.cache(ButtonCache.java:95) ~[?:1.0.0] {re:classloading}
at de.keksuccino.fancymenu.menu.button.ButtonCache.onInitCompleted(ButtonCache.java:46) ~[?:1.0.0] {re:classloading}
Additional Notes
If the version of Curios is reverted to 4.0.5.3 (the latest release version at the time of this crash report), the game loads normally.