Sodium Reloaded (Unofficial)

Sodium Reloaded (Unofficial)

0 Downloads

Sodium Explosion bug 1.21.4

Screamer0367 opened this issue ยท 1 comments

commented

Bug Description

So whenever a creeper or anything explode in my Minecraft worlds creative and survival, the game immediately saves the world and crashes, then the MC launcher opens up and says this " Error: java.lang.NullPointerException: Unexpected error" I looked up this error and it said that "Error: java.lang.NullPointerException: Unexpected error" usually means the game is trying to access a part of the game world that doesn't exist, causing a crash due to a null value; this is often triggered by a creeper exploding in a specific location where the game data is corrupted or missing, leading to this error message I'm not an expert on this but I think this means that its an issue with Sodium's de-rendering, which makes the game run faster, but leads to bugs like this. This only happens in the latest version of Sodium and I don't know what's wrong

Reproduction Steps

open up a new world on the latest version of MC and Sodium and have something explode. The game will crash.

Log File

[17:00:10] [main/INFO]: Loading Minecraft 1.21.4 with Fabric Loader 0.16.9
[17:00:10] [main/INFO]: Loading 16 mods:
- fabricloader 0.16.9
-- mixinextras 0.4.1
- iris 1.8.2+mc1.21.4
|-- fabric-key-binding-api-v1 1.0.55+7feeb73382
|-- io_github_douira_glsl-transformer 2.0.1
|-- org_anarres_jcpp 1.4.14
-- org_antlr_antlr4-runtime 4.13.1
- java 21
- minecraft 1.21.4
- sodium 0.6.6+mc1.21.4
|-- fabric-api-base 0.4.54+b47eab6b04
|-- fabric-block-view-api-v2 1.0.19+7feeb73304
|-- fabric-renderer-api-v1 5.0.2+84404cdd04
|-- fabric-rendering-data-attachment-v1 0.3.57+73761d2e04
|-- fabric-rendering-fluids-v1 3.1.19+7feeb73304
-- fabric-resource-loader-v0 3.0.11+b1caf1e904
[17:00:10] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.7 Source=file:/C:/Users/chris/AppData/Roaming/.minecraft/libraries/net/fabricmc/sponge-mixin/0.15.4+mixin.0.8.7/sponge-mixin-0.15.4+mixin.0.8.7.jar Service=Knot/Fabric Env=CLIENT
[17:00:10] [main/INFO]: Compatibility level set to JAVA_21
[17:00:11] [main/WARN]: Reference map 'iris.refmap.json' for mixins.iris.json could not be read. If this is a development environment you can ignore this message
[17:00:11] [main/WARN]: Reference map 'iris-fabric.refmap.json' for mixins.iris.fabric.json could not be read. If this is a development environment you can ignore this message
[17:00:11] [main/WARN]: Reference map 'iris.refmap.json' for iris-batched-entity-rendering.mixins.json could not be read. If this is a development environment you can ignore this message
[17:00:11] [main/WARN]: Reference map 'iris.refmap.json' for mixins.iris.fantastic.json could not be read. If this is a development environment you can ignore this message
[17:00:11] [main/WARN]: Reference map 'iris.refmap.json' for mixins.iris.vertexformat.json could not be read. If this is a development environment you can ignore this message
[17:00:11] [main/WARN]: Reference map 'iris.refmap.json' for mixins.iris.bettermipmaps.json could not be read. If this is a development environment you can ignore this message
[17:00:11] [main/WARN]: Reference map 'iris.refmap.json' for mixins.iris.compat.sodium.json could not be read. If this is a development environment you can ignore this message
[17:00:11] [main/WARN]: Reference map 'iris.refmap.json' for mixins.iris.fixes.maxfpscrash.json could not be read. If this is a development environment you can ignore this message
[17:00:11] [main/INFO]: Loaded configuration file for Sodium: 43 options available, 1 override(s) found
[17:00:11] [main/WARN]: Force-disabling mixin 'features.render.world.sky.FogRendererMixin' as rule 'mixin.features.render.world.sky' (added by mods [iris]) disables it and children
[17:00:11] [main/WARN]: Force-disabling mixin 'features.render.world.sky.ClientLevelMixin' as rule 'mixin.features.render.world.sky' (added by mods [iris]) disables it and children
[17:00:11] [main/WARN]: Force-disabling mixin 'features.render.world.sky.LevelRendererMixin' as rule 'mixin.features.render.world.sky' (added by mods [iris]) disables it and children
[17:00:11] [main/INFO]: Searching for graphics cards...
[17:00:12] [main/INFO]: Found graphics adapter: AdapterInfo{vendor=AMD, description='AMD Radeon(TM) Graphics', adapterType=0x0000232B, openglIcdFilePath='C:\WINDOWS\System32\DriverStore\FileRepository\u0407052.inf_amd64_84d15514ad17ffa0\B406619\atig6pxx.dll', openglIcdVersion=31.0.21921.1000}
[17:00:12] [main/INFO]: Initializing MixinExtras via com.llamalad7.mixinextras.service.MixinExtrasServiceImpl(version=0.4.1).
[17:00:15] [Datafixer Bootstrap/INFO]: 243 Datafixer optimizations took 1189 milliseconds
[17:00:15] [main/WARN]: Invalid registry value type detected for PerfOS counters. Should be REG_DWORD. Ignoring: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PerfOS\Performance\Disable Performance Counters.
[17:00:26] [Render thread/INFO]: Environment: Environment[sessionHost=https://sessionserver.mojang.com, servicesHost=https://api.minecraftservices.com, name=PROD]
[17:00:26] [Render thread/INFO]: Setting user: Screamer0367
[17:00:26] [Render thread/ERROR]: Error parsing option value 0.5d for option Text Background Opacity: Failed to parse either. First: Not a number: "0.5d"; Second: Not a boolean: "0.5d"
[17:00:26] [Render thread/INFO]: Backend library: LWJGL version 3.3.3-snapshot
[17:00:27] [Render thread/INFO]: OpenGL Vendor: ATI Technologies Inc.
[17:00:27] [Render thread/INFO]: OpenGL Renderer: AMD Radeon(TM) Graphics
[17:00:27] [Render thread/INFO]: OpenGL Version: 3.2.0 Core Profile Context 24.9.1.240813
[17:00:27] [Render thread/INFO]: Debug functionality is disabled.
[17:00:27] [Render thread/INFO]: ARB_direct_state_access detected, enabling DSA.
[17:00:27] [Render thread/INFO]: Shaders are disabled because enableShaders is set to false in iris.properties
[17:00:28] [Render thread/WARN]: Removed resource pack ! 9Luminous 8[ 516x 8].zip from options because it doesn't seem to exist anymore
[17:00:28] [ForkJoinPool.commonPool-worker-1/WARN]: [Iris Update Check] This version doesn't have an update index, skipping.
[17:00:28] [Render thread/INFO]: Hardware information:
[17:00:28] [Render thread/INFO]: CPU: 6x AMD Ryzen 5 4500U with Radeon Graphics
[17:00:28] [Render thread/INFO]: GPU: AMD Radeon(TM) Graphics (Supports OpenGL 3.2.0 Core Profile Context 24.9.1.240813)
[17:00:28] [Render thread/INFO]: OS: Windows 11 (10.0)
[17:00:28] [Render thread/INFO]: Reloading ResourceManager: vanilla, fabric, fabric-api-base, fabric-block-view-api-v2, fabric-key-binding-api-v1, fabric-renderer-api-v1, fabric-rendering-data-attachment-v1, fabric-rendering-fluids-v1, fabric-resource-loader-v0, fabricloader, iris, sodium
[17:00:29] [Worker-Main-2/INFO]: Found unifont_all_no_pua-16.0.01.hex, loading
[17:00:29] [Worker-Main-2/INFO]: Found unifont_jp_patch-16.0.01.hex, loading
[17:00:31] [Render thread/INFO]: OpenAL initialized on device OpenAL Soft on Speakers (Realtek(R) Audio)
[17:00:31] [Render thread/INFO]: Sound engine started
[17:00:31] [Render thread/INFO]: Created: 1024x512x4 minecraft:textures/atlas/blocks.png-atlas
[17:00:31] [Render thread/INFO]: Created: 256x256x4 minecraft:textures/atlas/signs.png-atlas
[17:00:31] [Render thread/INFO]: Created: 512x512x4 minecraft:textures/atlas/shield_patterns.png-atlas
[17:00:31] [Render thread/INFO]: Created: 512x512x4 minecraft:textures/atlas/banner_patterns.png-atlas
[17:00:31] [Render thread/INFO]: Created: 2048x1024x4 minecraft:textures/atlas/armor_trims.png-atlas
[17:00:31] [Render thread/INFO]: Created: 128x64x4 minecraft:textures/atlas/decorated_pot.png-atlas
[17:00:31] [Render thread/INFO]: Created: 256x256x4 minecraft:textures/atlas/chest.png-atlas
[17:00:31] [Render thread/INFO]: Created: 512x256x4 minecraft:textures/atlas/shulker_boxes.png-atlas
[17:00:31] [Render thread/INFO]: Created: 512x256x4 minecraft:textures/atlas/beds.png-atlas
[17:00:31] [Render thread/INFO]: Created: 64x64x0 minecraft:textures/atlas/map_decorations.png-atlas
[17:00:31] [Render thread/INFO]: Created: 512x256x0 minecraft:textures/atlas/particles.png-atlas
[17:00:31] [Render thread/INFO]: Created: 512x256x0 minecraft:textures/atlas/paintings.png-atlas
[17:00:31] [Render thread/INFO]: Created: 256x128x0 minecraft:textures/atlas/mob_effects.png-atlas
[17:00:31] [Render thread/INFO]: Created: 1024x512x0 minecraft:textures/atlas/gui.png-atlas
[17:00:31] [Render thread/INFO]: Creating pipeline for dimension minecraft:overworld
[17:00:43] [Render thread/INFO]: Loaded 1370 recipes
[17:00:43] [Render thread/INFO]: Loaded 1481 advancements
[17:00:43] [Server thread/INFO]: Starting integrated minecraft server version 1.21.4
[17:00:43] [Server thread/INFO]: Generating keypair
[17:00:44] [Server thread/INFO]: Preparing start region for dimension minecraft:overworld
[17:00:46] [Render thread/INFO]: Preparing spawn area: 0%
[17:00:46] [Render thread/INFO]: Preparing spawn area: 0%
[17:00:46] [Render thread/INFO]: Preparing spawn area: 0%
[17:00:46] [Render thread/INFO]: Preparing spawn area: 0%
[17:00:46] [Render thread/INFO]: Preparing spawn area: 0%
[17:00:46] [Render thread/INFO]: Time elapsed: 2307 ms
[17:00:46] [Server thread/INFO]: Changing simulation distance to 12, from 0
[17:00:47] [Server thread/INFO]: Screamer0367[local:E:5ab80385] logged in with entity id 69 at (-161.65524669806922, 70.0, 7.5689122574454295)
[17:00:47] [Server thread/INFO]: Screamer0367 joined the game
[17:00:48] [Render thread/INFO]: Reloading pipeline on dimension change: minecraft:overworld => minecraft:overworld
[17:00:48] [Render thread/INFO]: Destroying pipeline minecraft:overworld
[17:00:48] [Render thread/INFO]: Creating pipeline for dimension minecraft:overworld
[17:00:48] [Render thread/INFO]: Started 2 worker threads
[17:00:48] [Render thread/INFO]: Loaded 343 advancements
[17:00:55] [Server thread/INFO]: Saving and pausing game...
[17:00:55] [Server thread/INFO]: Saving chunks for level 'ServerLevel[:)]'/minecraft:overworld
[17:00:55] [Server thread/INFO]: Saving chunks for level 'ServerLevel[:)]'/minecraft:the_end
[17:00:55] [Server thread/INFO]: Saving chunks for level 'ServerLevel[:)]'/minecraft:the_nether
[17:01:42] [Render thread/INFO]: Stopping worker threads
[17:01:42] [Render thread/INFO]: Started 2 worker threads
[17:01:42] [Render thread/INFO]: Stopping worker threads
[17:01:42] [Render thread/INFO]: Started 2 worker threads
[17:01:42] [Render thread/INFO]: Flushed changes to Minecraft configuration
[17:01:44] [Server thread/INFO]: Changing simulation distance to 20, from 12
[17:02:17] [Render thread/INFO]: Loaded 343 advancements
[17:02:38] [Render thread/ERROR]: Unreported exception thrown!
java.lang.NullPointerException: null
at java.base/java.util.Objects.requireNonNull(Objects.java:233) ~[?:?]
at knot/net.minecraft.class_702.method_65199(class_702.java:449) ~[client-intermediary.jar:?]
at knot/net.minecraft.class_702.method_3049(class_702.java:436) ~[client-intermediary.jar:?]
at knot/net.minecraft.class_761.handler$zge000$iris$renderOpaqueParticles(class_761.java:6598) ~[client-intermediary.jar:?]
at knot/net.minecraft.class_761.method_62214(class_761.java:638) ~[client-intermediary.jar:?]
at knot/net.minecraft.class_9909.method_61910(class_9909.java:67) ~[client-intermediary.jar:?]
at knot/net.minecraft.class_761.method_22710(class_761.java:552) ~[client-intermediary.jar:?]
at knot/net.minecraft.class_757.method_3188(class_757.java:733) ~[client-intermediary.jar:?]
at knot/net.minecraft.class_757.method_3192(class_757.java:493) ~[client-intermediary.jar:?]
at knot/net.minecraft.class_310.method_1523(class_310.java:1341) ~[client-intermediary.jar:?]
at knot/net.minecraft.class_310.method_1514(class_310.java:922) [client-intermediary.jar:?]
at knot/net.minecraft.client.main.Main.main(Main.java:267) [client-intermediary.jar:?]
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:480) [fabric-loader-0.16.9.jar:?]
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) [fabric-loader-0.16.9.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) [fabric-loader-0.16.9.jar:?]
[17:02:39] [Server thread/INFO]: Stopping server
[17:02:39] [Server thread/INFO]: Saving players
[17:02:39] [Server thread/INFO]: Saving worlds
[17:02:39] [Server thread/INFO]: Saving chunks for level 'ServerLevel[:)]'/minecraft:overworld
[17:02:40] [Server thread/INFO]: Saving chunks for level 'ServerLevel[:)]'/minecraft:the_end
[17:02:40] [Server thread/INFO]: Saving chunks for level 'ServerLevel[:)]'/minecraft:the_nether
[17:02:40] [Server thread/INFO]: ThreadedAnvilChunkStorage (_)): All chunks are saved
[17:02:40] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved
[17:02:40] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
[17:02:40] [Server thread/INFO]: ThreadedAnvilChunkStorage: All dimensions are saved
[17:02:40] [Render thread/INFO]: Stopping worker threads

Crash Report

---- Minecraft Crash Report ----
// Hi. I'm Minecraft, and I'm a crashaholic.

Time: 2025-01-13 17:02:40
Description: Unexpected error

java.lang.NullPointerException: Unexpected error
at java.base/java.util.Objects.requireNonNull(Objects.java:233)
at knot//net.minecraft.class_702.method_65199(class_702.java:449)
at knot//net.minecraft.class_702.method_3049(class_702.java:436)
at knot//net.minecraft.class_761.handler$zge000$iris$renderOpaqueParticles(class_761.java:6598)
at knot//net.minecraft.class_761.method_62214(class_761.java:638)
at knot//net.minecraft.class_9909.method_61910(class_9909.java:67)
at knot//net.minecraft.class_761.method_22710(class_761.java:552)
at knot//net.minecraft.class_757.method_3188(class_757.java:733)
at knot//net.minecraft.class_757.method_3192(class_757.java:493)
at knot//net.minecraft.class_310.method_1523(class_310.java:1341)
at knot//net.minecraft.class_310.method_1514(class_310.java:922)
at knot//net.minecraft.client.main.Main.main(Main.java:267)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:480)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)

A detailed walkthrough of the error, its code path and all known details is as follows:

-- Head --
Thread: Render thread
Stacktrace:
at java.base/java.util.Objects.requireNonNull(Objects.java:233)
at knot//net.minecraft.class_702.method_65199(class_702.java:449)
at knot//net.minecraft.class_702.method_3049(class_702.java:436)
at knot//net.minecraft.class_761.handler$zge000$iris$renderOpaqueParticles(class_761.java:6598)
at knot//net.minecraft.class_761.method_62214(class_761.java:638)
at knot//net.minecraft.class_9909.method_61910(class_9909.java:67)
at knot//net.minecraft.class_761.method_22710(class_761.java:552)
at knot//net.minecraft.class_757.method_3188(class_757.java:733)

-- Uptime --
Details:
JVM uptime: 151.262s
Wall uptime: 133.278s
High-res time: 132.219s
Client ticks: 2488 ticks / 124.400s
Stacktrace:
at knot//net.minecraft.class_310.method_1587(class_310.java:2371)
at knot//net.minecraft.class_310.method_54580(class_310.java:991)
at knot//net.minecraft.class_310.method_1514(class_310.java:946)
at knot//net.minecraft.client.main.Main.main(Main.java:267)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:480)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)

-- Affected level --
Details:
All players: 1 total; [class_746['Screamer0367'/69, l='ClientLevel', x=-199.24, y=73.58, z=-67.56]]
Chunk stats: 729, 460
Level dimension: minecraft:overworld
Level spawn location: World: (-192,70,-32), Section: (at 0,6,0 in -12,4,-2; chunk contains blocks -192,-64,-32 to -177,319,-17), Region: (-1,-1; contains chunks -32,-32 to -1,-1, blocks -512,-64,-512 to -1,319,-1)
Level time: 253935 game time, 423093 day time
Server brand: fabric
Server type: Integrated singleplayer server
Tracked entity count: 155

-- Last reload --
Details:
Reload number: 1
Reload reason: initial
Finished: Yes
Packs: vanilla, fabric, fabric-api-base, fabric-block-view-api-v2, fabric-key-binding-api-v1, fabric-renderer-api-v1, fabric-rendering-data-attachment-v1, fabric-rendering-fluids-v1, fabric-resource-loader-v0, fabricloader, iris, sodium

-- System Details --
Details:
Minecraft Version: 1.21.4
Minecraft Version ID: 1.21.4
Operating System: Windows 11 (amd64) version 10.0
Java Version: 21.0.3, Microsoft
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft
Memory: 328832800 bytes (313 MiB) / 838860800 bytes (800 MiB) up to 2147483648 bytes (2048 MiB)
CPUs: 6
Processor Vendor: AuthenticAMD
Processor Name: AMD Ryzen 5 4500U with Radeon Graphics
Identifier: AuthenticAMD Family 23 Model 96 Stepping 1
Microarchitecture: unknown
Frequency (GHz): 2.37
Number of physical packages: 1
Number of physical CPUs: 6
Number of logical CPUs: 6
Graphics card #0 name: AMD Radeon(TM) Graphics
Graphics card #0 vendor: Advanced Micro Devices, Inc.
Graphics card #0 VRAM (MiB): 512.00
Graphics card #0 deviceId: VideoController1
Graphics card #0 versionInfo: 31.0.21921.1000
Memory slot #0 capacity (MiB): 8192.00
Memory slot #0 clockSpeed (GHz): 3.20
Memory slot #0 type: DDR4
Memory slot #1 capacity (MiB): 8192.00
Memory slot #1 clockSpeed (GHz): 3.20
Memory slot #1 type: DDR4
Virtual memory max (MiB): 18171.94
Virtual memory used (MiB): 14463.00
Swap memory total (MiB): 2432.00
Swap memory used (MiB): 63.52
Space in storage for jna.tmpdir (MiB): available: 25334.73, total: 242921.00
Space in storage for org.lwjgl.system.SharedLibraryExtractPath (MiB): available: 25334.73, total: 242921.00
Space in storage for io.netty.native.workdir (MiB): available: 25334.73, total: 242921.00
Space in storage for java.io.tmpdir (MiB): available: 25334.73, total: 242921.00
Space in storage for workdir (MiB): available: 25334.73, total: 242921.00
JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
Loaded Shaderpack: (off)
Launched Version: fabric-loader-0.16.9-1.21.4
Launcher name: minecraft-launcher
Backend library: LWJGL version 3.3.3-snapshot
Backend API: AMD Radeon(TM) Graphics GL version 3.2.0 Core Profile Context 24.9.1.240813, ATI Technologies Inc.
Window size: 1920x1080
GFLW Platform: win32
GL Caps: Using framebuffer using OpenGL 3.2
GL debug messages:
Is Modded: Definitely; Client brand changed to 'fabric'; Server brand changed to 'fabric'
Universe: 400921fb54442d18
Type: Integrated Server (map_client.txt)
Graphics mode: fast
Render Distance: 10/10 chunks
Resource Packs: vanilla, fabric, fabric-api-base, fabric-block-view-api-v2, fabric-key-binding-api-v1, fabric-renderer-api-v1, fabric-rendering-data-attachment-v1, fabric-rendering-fluids-v1, fabric-resource-loader-v0, fabricloader, iris, sodium
Current Language: en_us
Locale: en_US
System encoding: Cp1252
File encoding: UTF-8
CPU: 6x AMD Ryzen 5 4500U with Radeon Graphics
Server Running: true
Player Count: 1 / 8; [class_3222['Screamer0367'/69, l='ServerLevel[:)]', x=-199.24, y=73.58, z=-67.56]]
Active Data Packs: vanilla, fabric
Available Data Packs: fabric, minecart_improvements, redstone_experiments, trade_rebalance, vanilla
Enabled Feature Flags: minecraft:vanilla
World Generation: Stable
World Seed: -1309682824
Suppressed Exceptions: NONE

commented

I can reproduce the bug with Iris 1.8.2. I can also confirm it's fixed when I update to Iris 1.8.5. Please make sure to update all your mods to the latest available version before reporting an issue. Thanks