Replay Mod (Fabric & Forge)

Replay Mod (Fabric & Forge)

787k Downloads

Crash during the saving replay file

XlAlbertlX opened this issue ยท 2 comments

commented

I periodically encounter crashes when I record videos on the server. Moreover, after the first crash, the error disappears. What could be the problem?

---- Minecraft Crash Report ----
// Shall we play a game?

Time: 1/28/24, 1:21 PM
Description: Saving replay file

java.io.IOException: Expected 0 sky light sections but got 18
	at com.replaymod.replaystudio.protocol.packets.PacketUpdateLight.readData(PacketUpdateLight.java:115)
	at com.replaymod.replaystudio.protocol.packets.PacketChunkData.readLoad(PacketChunkData.java:344)
	at com.replaymod.replaystudio.protocol.packets.PacketChunkData.read(PacketChunkData.java:59)
	at com.replaymod.replaystudio.filter.SquashFilter.onPacket(SquashFilter.java:393)
	at com.replaymod.editor.gui.MarkerProcessor.apply(MarkerProcessor.java:217)
	at com.replaymod.recording.packet.PacketListener.lambda$channelInactive$6(PacketListener.java:310)
	at java.base/java.lang.Thread.run(Thread.java:833)


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

-- System Details --
Details:
	Minecraft Version: 1.18.2
	Minecraft Version ID: 1.18.2
	Operating System: Windows 10 (amd64) version 10.0
	Java Version: 17.0.1, Microsoft
	Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft
	Memory: 1928452312 bytes (1839 MiB) / 4026531840 bytes (3840 MiB) up to 10468982784 bytes (9984 MiB)
	CPUs: 6
	Processor Vendor: GenuineIntel
	Processor Name: Intel(R) Core(TM) i5-8400 CPU @ 2.80GHz
	Identifier: Intel64 Family 6 Model 158 Stepping 10
	Microarchitecture: Coffee Lake
	Frequency (GHz): 2.81
	Number of physical packages: 1
	Number of physical CPUs: 6
	Number of logical CPUs: 6
	Graphics card #0 name: NVIDIA GeForce RTX 2060
	Graphics card #0 vendor: NVIDIA (0x10de)
	Graphics card #0 VRAM (MB): 4095.00
	Graphics card #0 deviceId: 0x1f08
	Graphics card #0 versionInfo: DriverVersion=31.0.15.3742
	Memory slot #0 capacity (MB): 8192.00
	Memory slot #0 clockSpeed (GHz): 2.67
	Memory slot #0 type: DDR4
	Memory slot #1 capacity (MB): 8192.00
	Memory slot #1 clockSpeed (GHz): 2.67
	Memory slot #1 type: DDR4
	Virtual memory max (MB): 25018.40
	Virtual memory used (MB): 20375.02
	Swap memory total (MB): 8718.26
	Swap memory used (MB): 945.70
	JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx9983M -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
	OptiFine Version: OptiFine_1.18.2_HD_U_H9
	OptiFine Build: 20230626-134040
	Render Distance Chunks: 32
	Mipmaps: 4
	Anisotropic Filtering: 1
	Antialiasing: 0
	Multitexture: false
	Shaders: null
	OpenGlVersion: 3.2.0 NVIDIA 537.42
	OpenGlRenderer: NVIDIA GeForce RTX 2060/PCIe/SSE2
	OpenGlVendor: NVIDIA Corporation
	CpuCount: 6

-- OptiFabric --
Details:
	OptiFine jar designed for: 1.18.2
	OptiFine jar version: OptiFine_1.18.2_HD_U_H9
	OptiFine jar status: Valid OptiFine installer
	OptiFine remapped jar: C:/Users/holde/AppData/Roaming/.minecraft/.optifine/OptiFine_1.18.2_HD_U_H9/Optifine-mapped.jar
	OptiFabric error: <None>
commented

If you're still having trouble with this, please find the corresponding "raw" replay in .mincraft/replay_recordings/raw/ and attach it to this issue so I can try to debug it.