Replay Mod (Fabric & Forge)

Replay Mod (Fabric & Forge)

1M Downloads

Replay files keep failing to save, might have something to do with an error when closing Minecraft but I'm not sure

ch1mken opened this issue · 21 comments

commented

---- Minecraft Crash Report ----
// You should try our sister game, Minceraft!

Time: 1/26/22, 11:37 PM
Description: Saving replay file

java.io.FileNotFoundException: C:\Users\kes90\AppData\Local\Temp\replaystudio4019882335291337994replayfile (The process cannot access the file because it is being used by another process)
at java.base/java.io.FileOutputStream.open0(Native Method)
at java.base/java.io.FileOutputStream.open(FileOutputStream.java:293)
at java.base/java.io.FileOutputStream.(FileOutputStream.java:235)
at java.base/java.io.FileOutputStream.(FileOutputStream.java:184)
at com.replaymod.replaystudio.replay.ZipReplayFile.saveTo(ZipReplayFile.java:334)
at com.replaymod.replaystudio.replay.ZipReplayFile.save(ZipReplayFile.java:318)
at com.replaymod.core.files.DelegatingReplayFile.save(DelegatingReplayFile.java:70)
at com.replaymod.recording.packet.PacketListener.lambda$channelInactive$6(PacketListener.java:297)
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.1
Minecraft Version ID: 1.18.1
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: 2321457384 bytes (2213 MiB) / 4294967296 bytes (4096 MiB) up to 4294967296 bytes (4096 MiB)
CPUs: 8
Processor Vendor: GenuineIntel
Processor Name: Intel(R) Core(TM) i7-1065G7 CPU @ 1.30GHz
Identifier: Intel64 Family 6 Model 126 Stepping 5
Microarchitecture: Ice Lake (Client)
Frequency (GHz): 1.50
Number of physical packages: 1
Number of physical CPUs: 4
Number of logical CPUs: 8
Graphics card #0 name: Intel(R) Iris(R) Plus Graphics
Graphics card #0 vendor: Intel Corporation (0x8086)
Graphics card #0 VRAM (MB): 1024.00
Graphics card #0 deviceId: 0x8a52
Graphics card #0 versionInfo: DriverVersion=26.20.100.8141
Memory slot #0 capacity (MB): 4096.00
Memory slot #0 clockSpeed (GHz): 4.27
Memory slot #0 type: LPDDR4
Memory slot #1 capacity (MB): 4096.00
Memory slot #1 clockSpeed (GHz): 4.27
Memory slot #1 type: LPDDR4
Virtual memory max (MB): 18621.74
Virtual memory used (MB): 16025.84
Swap memory total (MB): 10752.00
Swap memory used (MB): 2516.48
JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx4G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
Fabric Mods:
fabric: Fabric API 0.46.0+1.18
fabric-api-base: Fabric API Base 0.4.1+b4f4f6cd65
fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.5.0+17be577f65
fabric-biome-api-v1: Fabric Biome API (v1) 6.0.1+ded849a965
fabric-blockrenderlayer-v1: Fabric BlockRenderLayer Registration (v1) 1.1.9+3ac43d9565
fabric-command-api-v1: Fabric Command API (v1) 1.1.6+3ac43d9565
fabric-commands-v0: Fabric Commands (v0) 0.2.5+b4f4f6cd65
fabric-containers-v0: Fabric Containers (v0) 0.1.18+d154e2c665
fabric-content-registries-v0: Fabric Content Registries (v0) 0.4.5+6f53a73d65
fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.1.8+3ac43d9565
fabric-dimensions-v1: Fabric Dimensions API (v1) 2.1.9+a1d9bbf565
fabric-entity-events-v1: Fabric Entity Events (v1) 1.4.5+6b21378a65
fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.4.16+bfa23f1765
fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.6+b4f4f6cd65
fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.10+3ac43d9565
fabric-item-api-v1: Fabric Item API (v1) 1.3.0+691a79b565
fabric-item-groups-v0: Fabric Item Groups (v0) 0.3.3+3ac43d9565
fabric-key-binding-api-v1: Fabric Key Binding API (v1) 1.0.8+c8aba2f365
fabric-keybindings-v0: Fabric Key Bindings (v0) 0.2.6+b4f4f6cd65
fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 1.4.10+c15ca33565
fabric-loot-tables-v1: Fabric Loot Tables (v1) 1.0.8+3ac43d9565
fabric-mining-level-api-v1: Fabric Mining Level API (v1) 1.0.3+3ac43d9565
fabric-mining-levels-v0: Fabric Mining Levels (v0) 0.1.8+b4f4f6cd65
fabric-models-v0: Fabric Models (v0) 0.3.3+3ac43d9565
fabric-networking-api-v1: Fabric Networking API (v1) 1.0.18+3ac43d9565
fabric-networking-v0: Fabric Networking (v0) 0.3.5+b4f4f6cd65
fabric-object-builder-api-v1: Fabric Object Builder API (v1) 1.11.1+3b82842e65
fabric-object-builders-v0: Fabric Object Builders (v0) 0.7.9+3ac43d9565
fabric-particles-v1: Fabric Particles (v1) 0.2.9+526dc1ac65
fabric-permissions-api-v0: fabric-permissions-api 0.1-SNAPSHOT
fabric-registry-sync-v0: Fabric Registry Sync (v0) 0.9.0+befed49e65
fabric-renderer-api-v1: Fabric Renderer API (v1) 0.4.10+b0b66fc365
fabric-renderer-indigo: Fabric Renderer - Indigo 0.4.13+b0b66fc365
fabric-renderer-registries-v1: Fabric Renderer Registries (v1) 3.2.7+b4f4f6cd65
fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.3.4+7242e9d765
fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 0.1.18+3ac43d9565
fabric-rendering-v0: Fabric Rendering (v0) 1.1.9+b4f4f6cd65
fabric-rendering-v1: Fabric Rendering (v1) 1.10.3+6b21378a65
fabric-resource-conditions-api-v1: Fabric Resource Conditions API (v1) 1.0.0+1254045365
fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.4.11+3ac43d9565
fabric-screen-api-v1: Fabric Screen API (v1) 1.0.7+3ac43d9565
fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.1.11+3ac43d9565
fabric-structure-api-v1: Fabric Structure API (v1) 2.1.0+0a73a6c265
fabric-tag-extensions-v0: Fabric Tag Extensions (v0) 1.2.5+3ac43d9565
fabric-textures-v0: Fabric Textures (v0) 1.0.9+3ac43d9565
fabric-tool-attribute-api-v1: Fabric Tool Attribute API (v1) 1.3.5+fb3b57b465
fabric-transfer-api-v1: Fabric Transfer API (v1) 1.5.6+b4f4f6cd65
fabricloader: Fabric Loader 0.12.12
java: OpenJDK 64-Bit Server VM 17
minecraft: Minecraft 1.18.1
mm: Manningham Mills 2.3
optifabric: OptiFabric 1.12.10
replaymod: Replay Mod 1.18.1-2.6.3
spark: spark 1.7.2
OptiFine Version: OptiFine_1.18.1_HD_U_H4
OptiFine Build: 20211212-175054
Render Distance Chunks: 19
Mipmaps: 4
Anisotropic Filtering: 16
Antialiasing: 0
Multitexture: true
Shaders: (internal)
OpenGlVersion: 3.2.0 - Build 26.20.100.8141
OpenGlRenderer: Intel(R) Iris(R) Plus Graphics
OpenGlVendor: Intel
CpuCount: 8

-- OptiFabric --
Details:
OptiFine jar designed for: 1.18.1
OptiFine jar version: OptiFine_1.18.1_HD_U_H4
OptiFine jar status: Valid OptiFine installer
OptiFine remapped jar: C:/Users/kes90/AppData/Roaming/.minecraft/.optifine/OptiFine_1.18.1_HD_U_H4/Optifine-mapped.jar
OptiFabric error:

commented

i did like you said and it let me make a recording once then after that the issues persists even with exclusions i get the same message

---- Minecraft Crash Report ----
// I bet Cylons wouldn't have this problem.

Time: 2022-02-28, 7:28 p.m.
Description: Saving replay file

java.nio.file.FileSystemException: C:\Users\Tyler\AppData\Roaming.minecraft.\replay_recordings\recording\2022_02_28_19_28_06.mcpr -> C:\Users\Tyler\AppData\Roaming.minecraft.\replay_recordings\raw\2022_02_28_19_28_06.mcpr: The process cannot access the file because it is being used by another process
at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:92)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
at java.base/sun.nio.fs.WindowsFileCopy.move(WindowsFileCopy.java:403)
at java.base/sun.nio.fs.WindowsFileSystemProvider.move(WindowsFileSystemProvider.java:293)
at java.base/java.nio.file.Files.move(Files.java:1432)
at com.replaymod.editor.gui.MarkerProcessor.apply(MarkerProcessor.java:137)
at com.replaymod.recording.packet.PacketListener.lambda$channelInactive$6(PacketListener.java:301)
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.1
Minecraft Version ID: 1.18.1
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: 1141920168 bytes (1089 MiB) / 2147483648 bytes (2048 MiB) up to 2147483648 bytes (2048 MiB)
CPUs: 12
Processor Vendor: GenuineIntel
Processor Name: Intel(R) Core(TM) i5-10400F CPU @ 2.90GHz
Identifier: Intel64 Family 6 Model 165 Stepping 5
Microarchitecture: unknown
Frequency (GHz): 2.90
Number of physical packages: 1
Number of physical CPUs: 6
Number of logical CPUs: 12
Graphics card #0 name: NVIDIA GeForce GTX 1070
Graphics card #0 vendor: NVIDIA (0x10de)
Graphics card #0 VRAM (MB): 4095.00
Graphics card #0 deviceId: 0x1b81
Graphics card #0 versionInfo: DriverVersion=30.0.14.9729
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): 23541.50
Virtual memory used (MB): 19949.45
Swap memory total (MB): 7219.49
Swap memory used (MB): 229.48
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
Fabric Mods:
fabric: Fabric API 0.45.0+1.18
fabric-api-base: Fabric API Base 0.4.1+b4f4f6cd65
fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.5.0+17be577f65
fabric-biome-api-v1: Fabric Biome API (v1) 6.0.1+ded849a965
fabric-blockrenderlayer-v1: Fabric BlockRenderLayer Registration (v1) 1.1.9+3ac43d9565
fabric-command-api-v1: Fabric Command API (v1) 1.1.6+3ac43d9565
fabric-commands-v0: Fabric Commands (v0) 0.2.5+b4f4f6cd65
fabric-containers-v0: Fabric Containers (v0) 0.1.18+d154e2c665
fabric-content-registries-v0: Fabric Content Registries (v0) 0.4.5+6f53a73d65
fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.1.8+3ac43d9565
fabric-dimensions-v1: Fabric Dimensions API (v1) 2.1.7+43d2957165
fabric-entity-events-v1: Fabric Entity Events (v1) 1.4.5+6b21378a65
fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.4.16+bfa23f1765
fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.6+b4f4f6cd65
fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.10+3ac43d9565
fabric-item-api-v1: Fabric Item API (v1) 1.3.0+691a79b565
fabric-item-groups-v0: Fabric Item Groups (v0) 0.3.3+3ac43d9565
fabric-key-binding-api-v1: Fabric Key Binding API (v1) 1.0.8+c8aba2f365
fabric-keybindings-v0: Fabric Key Bindings (v0) 0.2.6+b4f4f6cd65
fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 1.4.10+c15ca33565
fabric-loot-tables-v1: Fabric Loot Tables (v1) 1.0.8+3ac43d9565
fabric-mining-level-api-v1: Fabric Mining Level API (v1) 1.0.3+3ac43d9565
fabric-mining-levels-v0: Fabric Mining Levels (v0) 0.1.7+b4f4f6cd65
fabric-models-v0: Fabric Models (v0) 0.3.3+3ac43d9565
fabric-networking-api-v1: Fabric Networking API (v1) 1.0.18+3ac43d9565
fabric-networking-v0: Fabric Networking (v0) 0.3.5+b4f4f6cd65
fabric-object-builder-api-v1: Fabric Object Builder API (v1) 1.11.0+3b82842e65
fabric-object-builders-v0: Fabric Object Builders (v0) 0.7.8+3ac43d9565
fabric-particles-v1: Fabric Particles (v1) 0.2.9+526dc1ac65
fabric-registry-sync-v0: Fabric Registry Sync (v0) 0.8.6+533be9ba65
fabric-renderer-api-v1: Fabric Renderer API (v1) 0.4.9+3ac43d9565
fabric-renderer-indigo: Fabric Renderer - Indigo 0.4.12+3ac43d9565
fabric-renderer-registries-v1: Fabric Renderer Registries (v1) 3.2.7+b4f4f6cd65
fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.3.4+7242e9d765
fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 0.1.18+3ac43d9565
fabric-rendering-v0: Fabric Rendering (v0) 1.1.9+b4f4f6cd65
fabric-rendering-v1: Fabric Rendering (v1) 1.10.3+6b21378a65
fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.4.11+3ac43d9565
fabric-screen-api-v1: Fabric Screen API (v1) 1.0.7+3ac43d9565
fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.1.11+3ac43d9565
fabric-structure-api-v1: Fabric Structure API (v1) 2.0.8+295197a765
fabric-tag-extensions-v0: Fabric Tag Extensions (v0) 1.2.5+3ac43d9565
fabric-textures-v0: Fabric Textures (v0) 1.0.9+3ac43d9565
fabric-tool-attribute-api-v1: Fabric Tool Attribute API (v1) 1.3.4+7de09f5565
fabric-transfer-api-v1: Fabric Transfer API (v1) 1.5.6+b4f4f6cd65
fabricloader: Fabric Loader 0.12.12
java: OpenJDK 64-Bit Server VM 17
minecraft: Minecraft 1.18.1
mm: Manningham Mills 2.3
optifabric: OptiFabric 1.12.10
replaymod: Replay Mod 1.18.1-2.6.3
OptiFine Version: OptiFine_1.18.1_HD_U_H4
OptiFine Build: 20211212-175054
Render Distance Chunks: 12
Mipmaps: 4
Anisotropic Filtering: 1
Antialiasing: 0
Multitexture: false
Shaders: null
OpenGlVersion: 3.2.0 NVIDIA 497.29
OpenGlRenderer: NVIDIA GeForce GTX 1070/PCIe/SSE2
OpenGlVendor: NVIDIA Corporation
CpuCount: 12

-- OptiFabric --
Details:
OptiFine jar designed for: 1.18.1
OptiFine jar version: OptiFine_1.18.1_HD_U_H4
OptiFine jar status: Valid OptiFine installer
OptiFine remapped jar: C:/Users/Tyler/AppData/Roaming/.minecraft/.optifine/OptiFine_1.18.1_HD_U_H4/Optifine-mapped.jar
OptiFabric error:

commented

Do you have cloud sync of OneDrive enabled?

commented

would you mind explaining how to disable the scanning of the directory i have narrowed it down i understand that it is indeed the windows defender as i disable real time protection replay mod works fine but ive excluded a ton of things and i havent figured it out what do i do? i need to be walked through like a baby lol

commented

Instead of selecting a process, choose the folder option and select:

  • your temp folder, which you can find similar to AppData with %TEMP% (in above log it's C:\Users\kes90\AppData\Local\Temp\)
  • .minecraft/replay_recordings/
  • .minecraft/replay_videos/
commented

i went through all those guides and stuff and im just having issues finding the process and excluding it idk what the process is thats being blocked so i cant exclude it

commented

im having the same issue have you found a fix?

commented
commented

this worked long enough for me to make a hour recording and then it went back to messing up ive deleted and reinstalled everything idk what to do anymore lol

commented

i made the hour recording and it worked then i deleted the second installation i reckon if i left the other one installed it would be fine but dumb ol' me deleted it thinking i didnt need it

commented
commented

We (support team) see this issue every now and then. As far as we can tell, it's not caused by ReplayMod, but by another programme working on the file. From what we know it seems to be caused by some anti-virus scanners, that use blocking-read instead of non-blocking-read while checking the file.
Please try disabling scanning of that directory or the ReplayMod files there and see if that helps.

commented
commented

i turned off cloud sync with other devices and to be double sure i uninstalled Microsoft one drive from my computer tried it and got this

---- Minecraft Crash Report ----
// Surprise! Haha. Well, this is awkward.

Time: 2022-03-03, 2:23 a.m.
Description: Saving replay file

java.nio.file.FileSystemException: C:\Users\Tyler\AppData\Roaming.minecraft.\replay_recordings\recording\2022_03_03_02_23_04.mcpr -> C:\Users\Tyler\AppData\Roaming.minecraft.\replay_recordings\raw\2022_03_03_02_23_04.mcpr: The process cannot access the file because it is being used by another process
at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:92)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
at java.base/sun.nio.fs.WindowsFileCopy.move(WindowsFileCopy.java:403)
at java.base/sun.nio.fs.WindowsFileSystemProvider.move(WindowsFileSystemProvider.java:293)
at java.base/java.nio.file.Files.move(Files.java:1432)
at com.replaymod.editor.gui.MarkerProcessor.apply(MarkerProcessor.java:137)
at com.replaymod.recording.packet.PacketListener.lambda$channelInactive$6(PacketListener.java:301)
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.1
Minecraft Version ID: 1.18.1
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: 810456504 bytes (772 MiB) / 2147483648 bytes (2048 MiB) up to 2147483648 bytes (2048 MiB)
CPUs: 12
Processor Vendor: GenuineIntel
Processor Name: Intel(R) Core(TM) i5-10400F CPU @ 2.90GHz
Identifier: Intel64 Family 6 Model 165 Stepping 5
Microarchitecture: unknown
Frequency (GHz): 2.90
Number of physical packages: 1
Number of physical CPUs: 6
Number of logical CPUs: 12
Graphics card #0 name: NVIDIA GeForce GTX 1070
Graphics card #0 vendor: NVIDIA (0x10de)
Graphics card #0 VRAM (MB): 4095.00
Graphics card #0 deviceId: 0x1b81
Graphics card #0 versionInfo: DriverVersion=30.0.14.9729
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): 20290.01
Virtual memory used (MB): 14997.23
Swap memory total (MB): 3968.00
Swap memory used (MB): 183.34
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
Fabric Mods:
fabric: Fabric API 0.45.0+1.18
fabric-api-base: Fabric API Base 0.4.1+b4f4f6cd65
fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.5.0+17be577f65
fabric-biome-api-v1: Fabric Biome API (v1) 6.0.1+ded849a965
fabric-blockrenderlayer-v1: Fabric BlockRenderLayer Registration (v1) 1.1.9+3ac43d9565
fabric-command-api-v1: Fabric Command API (v1) 1.1.6+3ac43d9565
fabric-commands-v0: Fabric Commands (v0) 0.2.5+b4f4f6cd65
fabric-containers-v0: Fabric Containers (v0) 0.1.18+d154e2c665
fabric-content-registries-v0: Fabric Content Registries (v0) 0.4.5+6f53a73d65
fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.1.8+3ac43d9565
fabric-dimensions-v1: Fabric Dimensions API (v1) 2.1.7+43d2957165
fabric-entity-events-v1: Fabric Entity Events (v1) 1.4.5+6b21378a65
fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.4.16+bfa23f1765
fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.6+b4f4f6cd65
fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.10+3ac43d9565
fabric-item-api-v1: Fabric Item API (v1) 1.3.0+691a79b565
fabric-item-groups-v0: Fabric Item Groups (v0) 0.3.3+3ac43d9565
fabric-key-binding-api-v1: Fabric Key Binding API (v1) 1.0.8+c8aba2f365
fabric-keybindings-v0: Fabric Key Bindings (v0) 0.2.6+b4f4f6cd65
fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 1.4.10+c15ca33565
fabric-loot-tables-v1: Fabric Loot Tables (v1) 1.0.8+3ac43d9565
fabric-mining-level-api-v1: Fabric Mining Level API (v1) 1.0.3+3ac43d9565
fabric-mining-levels-v0: Fabric Mining Levels (v0) 0.1.7+b4f4f6cd65
fabric-models-v0: Fabric Models (v0) 0.3.3+3ac43d9565
fabric-networking-api-v1: Fabric Networking API (v1) 1.0.18+3ac43d9565
fabric-networking-v0: Fabric Networking (v0) 0.3.5+b4f4f6cd65
fabric-object-builder-api-v1: Fabric Object Builder API (v1) 1.11.0+3b82842e65
fabric-object-builders-v0: Fabric Object Builders (v0) 0.7.8+3ac43d9565
fabric-particles-v1: Fabric Particles (v1) 0.2.9+526dc1ac65
fabric-registry-sync-v0: Fabric Registry Sync (v0) 0.8.6+533be9ba65
fabric-renderer-api-v1: Fabric Renderer API (v1) 0.4.9+3ac43d9565
fabric-renderer-indigo: Fabric Renderer - Indigo 0.4.12+3ac43d9565
fabric-renderer-registries-v1: Fabric Renderer Registries (v1) 3.2.7+b4f4f6cd65
fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.3.4+7242e9d765
fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 0.1.18+3ac43d9565
fabric-rendering-v0: Fabric Rendering (v0) 1.1.9+b4f4f6cd65
fabric-rendering-v1: Fabric Rendering (v1) 1.10.3+6b21378a65
fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.4.11+3ac43d9565
fabric-screen-api-v1: Fabric Screen API (v1) 1.0.7+3ac43d9565
fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.1.11+3ac43d9565
fabric-structure-api-v1: Fabric Structure API (v1) 2.0.8+295197a765
fabric-tag-extensions-v0: Fabric Tag Extensions (v0) 1.2.5+3ac43d9565
fabric-textures-v0: Fabric Textures (v0) 1.0.9+3ac43d9565
fabric-tool-attribute-api-v1: Fabric Tool Attribute API (v1) 1.3.4+7de09f5565
fabric-transfer-api-v1: Fabric Transfer API (v1) 1.5.6+b4f4f6cd65
fabricloader: Fabric Loader 0.12.12
java: OpenJDK 64-Bit Server VM 17
minecraft: Minecraft 1.18.1
mm: Manningham Mills 2.3
optifabric: OptiFabric 1.12.10
replaymod: Replay Mod 1.18.1-2.6.3
OptiFine Version: OptiFine_1.18.1_HD_U_H4
OptiFine Build: 20211212-175054
Render Distance Chunks: 12
Mipmaps: 4
Anisotropic Filtering: 1
Antialiasing: 0
Multitexture: false
Shaders: null
OpenGlVersion: 3.2.0 NVIDIA 497.29
OpenGlRenderer: NVIDIA GeForce GTX 1070/PCIe/SSE2
OpenGlVendor: NVIDIA Corporation
CpuCount: 12

-- OptiFabric --
Details:
OptiFine jar designed for: 1.18.1
OptiFine jar version: OptiFine_1.18.1_HD_U_H4
OptiFine jar status: Valid OptiFine installer
OptiFine remapped jar: C:/Users/Tyler/AppData/Roaming/.minecraft/.optifine/OptiFine_1.18.1_HD_U_H4/Optifine-mapped.jar
OptiFabric error:

commented

I just realised the first report is different from the other two:

  • The first one has an access error in %TEMP%, which is (as far as we know) caused by anti-virus scanners, faulty cloud sync, etc.
  • But the other two reports show moving the replay file to the raw folder before attempting to cut it.

@Johni0702 could there be a race condition, that the file-writer isn't closed yet, when the cutting code tries to move the file?

commented

@Johni0702 could there be a race condition, that the file-writer isn't closed yet, when the cutting code tries to move the file?

I don't see how, the code for it is extremely straight forward:

replayFile.save();
replayFile.close();
if (core.getSettingsRegistry().get(Setting.AUTO_POST_PROCESS) && !ReplayMod.isMinimalMode()) {
outputPaths = MarkerProcessor.apply(outputPath, guiSavingReplay.getProgressBar()::setProgress);

And the close method:
https://github.com/ReplayMod/ReplayStudio/blob/c9de2f5d4fe3085d2ea3e836ef6b41cc9cf732fa/src/main/java/com/replaymod/replaystudio/replay/ZipReplayFile.java#L353-L356

And the two moves are also fairly close, the first one happens as one of the last things in save (it first writes to a temporary file, and only if that's fully done, then it moves it into the replay_recordings folder), while the other two happen as one of the first things in MarkerProcessor.apply.

I have no idea.

commented

so you guys have no idea what is causing this lolll ofc i get the problem lmao you guys got this!

commented

I can't think of any other thing that might cause it:

  • anti virus with blocking read
  • cloud sync blocking files
  • race condition and RM blocking itself

None seem to apply here...

commented

do you think a full uninstall kinda reset of the mod and minecraft would help?

commented

cuz idk like i wanna use it but looks like we just hit a bump where i just wont be able to

commented

do you know how to fix maybe that method works and replay developers arent the right people to ask for this specific thing