Large modpack rendering issue (re-investigated!)
vgrynch opened this issue ยท 6 comments
Describe the Bug
Shortly:
No optifine, no rubidium, no rendering mods, no packet fixers/filters/modfiers.
This simple machine:
For large modpack, it fails to render like this:
Detailed investigate:
I have spent 2 days trying to find out which mod exactly causes this. It appears none: this is Create mod behavior only. I have tried different approaches:
- add a set of ~20 mods at a time and see when it starts to fail. It started to fail with completely different mod sets.
- remove a set of ~20 mods at a time and see when it starts to work correctly. It appears it starts working with completely different mods removed.
Also tried different versions of Create mod (1.19.2 only).
When using hand crank in the machine above, I observe exceptions in the log:
[22:42:19] [Render thread/ERROR]: Error executing task on Client
java.lang.NullPointerException: Cannot invoke "net.minecraft.world.level.block.state.BlockState.m_60734_()" because "p_46606_" is null
at net.minecraft.world.level.Level.m_6933_(Level.java:198) ~[client-1.19.2-20220805.130853-srg.jar%23607!/:?]
at net.minecraft.client.multiplayer.ClientLevel.m_233653_(ClientLevel.java:134) ~[client-1.19.2-20220805.130853-srg.jar%23607!/:?]
at net.minecraft.client.multiplayer.ClientPacketListener.m_205522_(ClientPacketListener.java:635) ~[client-1.19.2-20220805.130853-srg.jar%23607!/:?]
at net.minecraft.network.protocol.game.ClientboundSectionBlocksUpdatePacket.m_132992_(ClientboundSectionBlocksUpdatePacket.java:72) ~[client-1.19.2-20220805.130853-srg.jar%23607!/:?]
(The full log with network packets included is attached)
This is OLD issue. It is reported here or there in many places and a common recommendation is find what mod causes it or remove/disable optifine or rubidium. In the majority of cases, none helps (unless remove a significant amount of mods from the modpack.) Here are good examples:
A similar investigation made ~year ago:
(https://forums.minecraftforge.net/topic/113399-need-help-tracking-down-an-elusive-npe/)
An example report for a large modpack:
FTBTeam/FTB-Modpack-Issues#3624
Reproduction Steps
- Install a server and client with a large Forge modpack (~170-200 mods, sometimes need more)
- Create a simple machine like in the description. Create a train contraption and assemble it.
- Observe rendering issues when trying to use the machine or disassemble the train. Sometimes it works, sometimes not, depending on the number of modpacks.
Expected Result
No rendering issues appear and no rendering exceptions in the logs.
Screenshots and Videos
No response
Crash Report or Log
https://www.dropbox.com/scl/fi/o6hf9kchkjfacogqeabh8/latest.log?dl=0&rlkey=zd3ynk17d7btpjyyilvfvbm1h
Operating System
Windows 11
Mod Version
0.5.1c
Minecraft Version
1.19.2
Forge Version
43.2.21
Other Mods
Large modpacks
Additional Context
No response
This becomes even worse: I discovered that the larger the contraption is, the fewer mods should be in the modpack to make it work without this glitch. I clearly reach the point when the contraption in the images in this ticket work well, while doors from the integrated stronghold mod do not work and break:
Before:
The same exceptions are in the client-side logs.
Also, I have noticed that increased load more likely causes it. For example, if add "Chisel and Bits" blocks to the contraption (or some other blocks with large NBT data), it also starts to get some blocks to disappear.
Actually, the Block Limit Fix seems involved, because exception logs were changed after adding it. It seems one more fix is required - created issue for that - TropheusJ/block_limit_fix#3
This may be related to https://bugs.mojang.com/browse/MC-258163, I will test it and let you know.
No, the block limit fix (https://www.curseforge.com/minecraft/mc-mods/block-limit-fix/files) did not help. Contraption still ends with empty blocks after auto-disassembling.
Completely confirmed this is related to https://bugs.mojang.com/browse/MC-258163. I was able to fix this by re-building block limit fix mod to 1.19.2 version only. The issue can be closed as not Create's issue.