I downloaded and installed Vivecraft 1.17.1 v2 (VR) on a plain Minecraft 1.17.1.
After several seconds the game crashed. The window didn't show up.
I'm using JDK 17.0.1, Windows 10, and a Oculus Quest 2.
Vivecraft 1.12.2 run perfectly under the same condition. I haven't tried 1.16.X.
Here is the full crash report.
---- Minecraft Crash Report ----
// My bad.
Time: 2021/12/30 下午3:35
Description: Initializing game
java.lang.NoSuchFieldError: ForgeHooksClient_invalidateLog4jThreadCache
at dvp.(Minecraft.java:520)
at net.minecraft.client.main.Main.main(Main.java:194)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:159)
at net.minecraft.launchwrapper.Launch.main(Launch.java:30)
A detailed walkthrough of the error, its code path and all known details is as follows:
-- Head --
Thread: Render thread
Stacktrace:
at dvp.(Minecraft.java:520)
-- Initialization --
Details:
Stacktrace:
at net.minecraft.client.main.Main.main(Main.java:194)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:159)
at net.minecraft.launchwrapper.Launch.main(Launch.java:30)
-- System Details --
Details:
Minecraft Version: 1.17.1
Minecraft Version ID: 1.17.1
Operating System: Windows 10 (amd64) version 10.0
Java Version: 17.0.1, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode, sharing), Oracle Corporation
Memory: 3628303960 bytes (3460 MiB) / 3858759680 bytes (3680 MiB) up to 4160749568 bytes (3968 MiB)
CPUs: 16
Processor Vendor: AuthenticAMD
Processor Name: AMD Ryzen 7 4800H with Radeon Graphics
Identifier: AuthenticAMD Family 23 Model 96 Stepping 1
Microarchitecture: unknown
Frequency (GHz): 2.89
Number of physical packages: 1
Number of physical CPUs: 8
Number of logical CPUs: 16
Graphics card #0 name: NVIDIA GeForce GTX 1650 Ti
Graphics card #0 vendor: NVIDIA (0x10de)
Graphics card #0 VRAM (MB): 4095.00
Graphics card #0 deviceId: 0x1f95
Graphics card #0 versionInfo: DriverVersion=27.21.14.5749
Memory slot #0 capacity (MB): 8192.00
Memory slot #0 clockSpeed (GHz): 3.20
Memory slot #0 type: DDR4
Memory slot #1 capacity (MB): 8192.00
Memory slot #1 clockSpeed (GHz): 3.20
Memory slot #1 type: DDR4
Virtual memory max (MB): 29064.60
Virtual memory used (MB): 25333.57
Swap memory total (MB): 13323.29
Swap memory used (MB): 380.16
JVM Flags: 11 total; -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=16M -XX:-UseAdaptiveSizePolicy -XX:-OmitStackTraceInFastThrow -Xmn128m -Xmx3968m -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump
Launched Version: HMCL 3.3.188
Backend library: LWJGL version 3.2.2 build 10
Backend API: NO CONTEXT
Window size:
GL Caps: Using framebuffer using OpenGL 3.2
GL debug messages:
Using VBOs: Yes
Is Modded: Definitely; Client brand changed to 'vivecraft'
Type: Client (map_client.txt)
CPU:
OptiFine Version: OptiFine_1.17.1_HD_U_H2_pre1
OptiFine Build: 20211104-233441
Shaders: null
OpenGlVersion: null
OpenGlRenderer: null
OpenGlVendor: null
CpuCount: 0
I viewed the code and found the exception is probably caused here:
I downloaded and installed Vivecraft 1.17.1 v2 (VR) on a plain Minecraft 1.17.1. After several seconds the game crashed. The window didn't show up. I'm using JDK 17.0.1, Windows 10, and a Oculus Quest 2. Vivecraft 1.12.2 run perfectly under the same condition. I haven't tried 1.16.X.
Here is the full crash report.
---- Minecraft Crash Report ---- // My bad.
Time: 2021/12/30 下午3:35 Description: Initializing game
java.lang.NoSuchFieldError: ForgeHooksClient_invalidateLog4jThreadCache at dvp.(Minecraft.java:520)
at net.minecraft.client.main.Main.main(Main.java:194)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:159)
at net.minecraft.launchwrapper.Launch.main(Launch.java:30)
A detailed walkthrough of the error, its code path and all known details is as follows:
-- Head -- Thread: Render thread Stacktrace: at dvp.(Minecraft.java:520)
-- Initialization -- Details: Stacktrace: at net.minecraft.client.main.Main.main(Main.java:194) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at net.minecraft.launchwrapper.Launch.launch(Launch.java:159) at net.minecraft.launchwrapper.Launch.main(Launch.java:30)
-- System Details -- Details: Minecraft Version: 1.17.1 Minecraft Version ID: 1.17.1 Operating System: Windows 10 (amd64) version 10.0 Java Version: 17.0.1, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode, sharing), Oracle Corporation Memory: 3628303960 bytes (3460 MiB) / 3858759680 bytes (3680 MiB) up to 4160749568 bytes (3968 MiB) CPUs: 16 Processor Vendor: AuthenticAMD Processor Name: AMD Ryzen 7 4800H with Radeon Graphics
GL Caps: Using framebuffer using OpenGL 3.2
GL debug messages:
Using VBOs: Yes
Is Modded: Definitely; Client brand changed to 'vivecraft'
Type: Client (map_client.txt)
CPU:
OptiFine Version: OptiFine_1.17.1_HD_U_H2_pre1
OptiFine Build: 20211104-233441
Shaders: null
OpenGlVersion: null
OpenGlRenderer: null
OpenGlVendor: null
CpuCount: 0
Identifier: AuthenticAMD Family 23 Model 96 Stepping 1 Microarchitecture: unknown Frequency (GHz): 2.89 Number of physical packages: 1 Number of physical CPUs: 8 Number of logical CPUs: 16 Graphics card #0 name: NVIDIA GeForce GTX 1650 Ti Graphics card #0 vendor: NVIDIA (0x10de) Graphics card #0 VRAM (MB): 4095.00 Graphics card #0 deviceId: 0x1f95 Graphics card #0 versionInfo: DriverVersion=27.21.14.5749 Memory slot #0 capacity (MB): 8192.00 Memory slot #0 clockSpeed (GHz): 3.20 Memory slot #0 type: DDR4 Memory slot #1 capacity (MB): 8192.00 Memory slot #1 clockSpeed (GHz): 3.20 Memory slot #1 type: DDR4 Virtual memory max (MB): 29064.60 Virtual memory used (MB): 25333.57 Swap memory total (MB): 13323.29 Swap memory used (MB): 380.16 JVM Flags: 11 total; -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=16M -XX:-UseAdaptiveSizePolicy -XX:-OmitStackTraceInFastThrow -Xmn128m -Xmx3968m -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump Launched Version: HMCL 3.3.188 Backend library: LWJGL version 3.2.2 build 10 Backend API: NO CONTEXT Window size:
I viewed the code and found the exception is probably caused here:
Vivecraft_117/patches/VR/net/minecraft/client/Minecraft.java.patch
I wonder if I've done something wrong or there is a bug.