jrbudda / minecrift

VR mod for Minecraft. For Minecraft version 1.7.10
http://www.vivecraft.org
Other
324 stars 30 forks source link

Modpack (GT:NH) crashes on startup #343

Closed Nayiko closed 3 years ago

Nayiko commented 3 years ago

Hello,

I installed vivecraft on GT New Horizons, but it crashes even before opening the loading window. And it gives me this error :


---- Minecraft Crash Report ---- // Uh... Did I do that?

Time: 05.03.21 10:21 Description: Initializing game

java.lang.NoSuchFieldError: ForgeHooksClient_createDisplay at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:747) at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:1353) at net.minecraft.client.main.Main.main(Main.java:163) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at com.mtbs3d.minecrift.main.VivecraftMain.main(VivecraftMain.java:121) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

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

-- Head -- Stacktrace: at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:747) at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:1353)

-- Initialization -- Details: Stacktrace: at net.minecraft.client.main.Main.main(Main.java:163) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at com.mtbs3d.minecrift.main.VivecraftMain.main(VivecraftMain.java:121) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

-- System Details -- Details: Minecraft Version: 1.7.10 Operating System: Windows 10 (amd64) version 10.0 Java Version: 1.8.0_51, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 6229972568 bytes (5941 MB) / 6401556480 bytes (6105 MB) up to 9574547456 bytes (9131 MB) JVM Flags: 7 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx9G -Xms6G -XX:+UseParallelGC -XX:ParallelGCThreads=3 -XX:MaxGCPauseMillis=3 -Xmn256M AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: Launched Version: vivecraft-1.7.10-jrbudda-40r9-forge LWJGL: 2.9.1 OpenGL: ERROR RuntimeException: No OpenGL context found in the current thread. GL Caps: Is Modded: Definitely; Client brand changed to 'fml,forge' Type: Client (map_client.txt) Resource Packs: [] Current Language: ERROR NullPointerException: null Profiler Position: N/A (disabled) Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used Anisotropic Filtering: Off (1) OptiFine Version: OptiFine_1.7.10_HD_U_D1 Render Distance Chunks: 10 Mipmaps: 4 Anisotropic Filtering: 1 Antialiasing: 0 Multitexture: false OpenGlVersion: null OpenGlRenderer: null OpenGlVendor: null CpuCount: 16


It's weird because I already played Divine Journey with it and it worked fine.

I tried the solution on https://github.com/jrbudda/minecrift/issues/337 but it didn't work.

Anyone know how to fix it ?

Techjar commented 3 years ago

This looks like you've changed the Forge version to something that isn't compatible.

Nayiko commented 3 years ago

Reinstalling vivecraft without touching the Forge settings doesn't fix the problem.

Techjar commented 3 years ago

This is weird then, because that field definitely should not be missing. Is some mod doing something stupid that it shouldn't?

Techjar commented 3 years ago

Actually, that's not even supposed to be a field, it should be a method.

https://github.com/jrbudda/minecrift/blob/d600cbdace100dc565bc48198aa2a57f17e823a3/patches/net/minecraft/client/Minecraft.java.patch#L1460-L1462

Some mod is definitely doing something bad. I'm not even sure the error is thrown here, because Reflector is fail-safe. Seems like someone injected something stupid.

Nayiko commented 3 years ago

The modlist of the modpack is ->


Advanced Solar Panels 3.5.1a

Libs and Cores


The only changes I have made are ->

Nayiko commented 3 years ago

I can launch the modpack properly with Non-VR Forge. Maybe it's a problem of version compatibility ?

Nayiko commented 3 years ago

My latest.log if that can help ->

https://pastebin.com/g9tNZQ9c

Techjar commented 3 years ago

It has to be one of the mods doing something funny. If you can isolate which mod is causing the crash, I'll investigate it and try to figure out what silly crap it's up to.

Nayiko commented 3 years ago

I've found the mod that caused the crash thanks to https://github.com/jrbudda/minecrift/issues/318

Downgrading SpongeMixins from 1.2.0 to 1.1.0 fixed the problem. Thank you !