Game Crashes ~4 seconds after Loading a schematic
TheSaltyPug opened this issue ยท 14 comments
Mod version: 1.12.2-1.8.0.169
Forge version: 14.23.4.2707
Operating system: Windows 10
Mod list:
- AppleSkin
- Inventory Tweaks
- JEI Villagers
- JEI
- JourneyMap
- Light Level Overlay Reloaded
- LunatriusCore
- Mouse Tweaks
- Optifine (1.12.2 HD U D3)
- Schematica
Crash Report
https://pastebin.com/GgctTL4G
Titles says it-- I load a schematic, I see the ghost blocks, I move around a bit, and the game crashes after 3-5 seconds. Can replicate.
hi my logs : ---- Minecraft Crash Report ----
WARNING: coremods are present:
Plugin (NotEnoughIDs-1.5.4.4.jar)
ShutdownPatcher (mcef-1.12.2-0.9-coremod.jar)
Contact their authors BEFORE contacting forge
// My bad.
Time: 1/15/22 4:25 PM
Description: Initializing game
java.lang.ArrayIndexOutOfBoundsException: 0
at com.dyn.schematics.Schematic.readFromNBT(Schematic.java:445)
at com.dyn.schematics.registry.SchematicRegistry.load(SchematicRegistry.java:51)
at com.dyn.schematics.item.ItemSchematic.func_150895_a(ItemSchematic.java:121)
at net.minecraft.client.Minecraft.func_193986_ar(Minecraft.java:587)
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:529)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:378)
at net.minecraft.client.main.Main.main(SourceFile:123)
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 --
Thread: Client thread
Stacktrace:
at com.dyn.schematics.Schematic.readFromNBT(Schematic.java:445)
at com.dyn.schematics.registry.SchematicRegistry.load(SchematicRegistry.java:51)
at com.dyn.schematics.item.ItemSchematic.func_150895_a(ItemSchematic.java:121)
at net.minecraft.client.Minecraft.func_193986_ar(Minecraft.java:587)
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:529)
-- Initialization --
Details:
Stacktrace:
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:378)
at net.minecraft.client.main.Main.main(SourceFile:123)
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.12.2
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: 535507320 bytes (510 MB) / 2986344448 bytes (2848 MB) up to 4294967296 bytes (4096 MB)
JVM Flags: 8 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx4G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP 9.42 Powered by Forge 14.23.5.2860 Optifine OptiFine_1.12.2_HD_U_G5 17 mods loaded, 17 mods active
States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
State | ID | Version | Source | Signature |
---|---|---|---|---|
LCH | minecraft | 1.12.2 | minecraft.jar | None |
LCH | mcp | 9.42 | minecraft.jar | None |
LCH | FML | 8.0.99.99 | forge-1.12.2-14.23.5.2860.jar | e3c3d50c7c986df74c645c0ac54639741c90a557 |
LCH | forge | 14.23.5.2860 | forge-1.12.2-14.23.5.2860.jar | e3c3d50c7c986df74c645c0ac54639741c90a557 |
LCH | cocricotmod | 1.10.3 | cocricotMOD for 1.12.2 v1.10.3.jar | None |
LCH | ptrmodellib | 1.0.5 | PTRLib-1.0.5.jar | None |
LCH | props | 2.6.3.7 | Decocraft-2.6.3.7_1.12.2.jar | None |
LCH | effortlessbuilding | 1.12.2-2.13 | effortlessbuilding-1.12.2-2.13.jar | None |
LCH | essensialmodernconstructionblock | 1.1.0 | EMCB+HD+1.12.2+v1.1.0.jar | None |
LCH | jei | 4.16.1.302 | jei_1.12.2-4.16.1.302.jar | None |
LCH | lunatriuscore | 1.2.0.42 | LunatriusCore-1.12.2-1.2.0.42-universal.jar | None |
LCH | mcef | 0.9 | MCEF-1.12.2.jar | None |
LCH | neid | 1.5.4.4 | NotEnoughIDs-1.5.4.4.jar | None |
LCH | schematica | 1.8.0.169 | Schematica-1.12.2-1.8.0.169-universal.jar | None |
LCH | schematics | 1.12.2.12 | Schematics-1.12.2.12.jar | None |
LCH | webdisplays | 1.0 | Web-Displays-Mod-1.12.2 (1).jar | None |
LCH | worldedit | 6.1.8 | worldedit-forge-mc1.12-6.1.8-dist.jar | None |
Loaded coremods (and transformers):
Plugin (NotEnoughIDs-1.5.4.4.jar)
ru.fewizz.neid.asm.Transformer
ShutdownPatcher (mcef-1.12.2-0.9-coremod.jar)
net.montoyo.mcef.coremod.ShutdownPatcher
GL info: ' Vendor: 'ATI Technologies Inc.' Version: '4.6.14761 Compatibility Profile Context 21.10.2 30.0.13025.5005' Renderer: 'Radeon RX 580 Series'
Launched Version: 1.12.2-forge-14.23.5.2860
LWJGL: 2.9.4
OpenGL: Radeon RX 580 Series GL version 4.6.14761 Compatibility Profile Context 21.10.2 30.0.13025.5005, ATI Technologies Inc.
GL Caps: Using GL 1.3 multitexturing.
Using GL 1.3 texture combiners.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Shaders are available because OpenGL 2.1 is supported.
VBOs are available because OpenGL 1.5 is supported.
Using VBOs: Yes
Is Modded: Definitely; Client brand changed to 'fml,forge'
Type: Client (map_client.txt)
Resource Packs: cocricot
Current Language: English (US)
Profiler Position: N/A (disabled)
CPU: 6x AMD Ryzen 5 3500X 6-Core Processor
OptiFine Version: OptiFine_1.12.2_HD_U_G5
OptiFine Build: 20210124-142939
Render Distance Chunks: 12
Mipmaps: 4
Anisotropic Filtering: 1
Antialiasing: 0
Multitexture: false
Shaders: Sildur's+Vibrant+Shaders+v1.32+High-MB (1).zip
OpenGlVersion: 4.6.14761 Compatibility Profile Context 21.10.2 30.0.13025.5005
OpenGlRenderer: Radeon RX 580 Series
OpenGlVendor: ATI Technologies Inc.
CpuCount: 6
That is just the crash log, not the complete log file.
First I would suggest to try removing Optifine to see whether or not the issue persists. If that doesn't work, try using it in a separate instance with just LunatriusCore and Schematica installed.
I had the same problem, removed Optifine, didn't crash.
I'll try messing around with specific graphics settings tomorrow.
One thing I noticed is that I have the mod Chunk Animator installed, and that didn't show up with optifine, and when optifine was removed it did. However, chunk animator did affect the schematic before the crash when optifine was still installed. Not sure if this matters but might as well mention it.
Also, what is the size of the schematic that you're loading (assuming that it's the same error)?
I tried a pretty big one and a small one, same problem.
However, I found out that the specific option in optifine causing the crash was render regions, as when it was disabled there was no crash. But now I have a new problem, as seen in the screenshot, where the textures on the schematic were very messed up
This also was not present without Optifine, and effected schematics of all sizes.
.
That one happens because Optifine changes the vertex format without changing the data itself.
I'm still not sure what could possibly cause this issue with Optifine present... I'm not changing any of the vertex formats at any point and I'm using vanilla rendering. Sigh...