HyperCubeMC / Iris

(WIP) A new shaders mod for Minecraft intended to be compatible with existing ShadersMod/Optifine shaders
GNU Lesser General Public License v3.0
227 stars 108 forks source link

Crashes after loading into map #48

Closed FlorianDevPhynix closed 2 years ago

FlorianDevPhynix commented 2 years ago

Iris and Minecraft Version

fabric 0.12.11 for 1.18.1; iris starline 1.1.4 build 670

Shaderpack Used

shaders disabled

Are you running Sodium along with Iris?

Yes

Operating System

Windows 10

What is your GPU?

Nvidia RTX 3060 Mobile

Java Version

Java 8 & Development Kit 17.0.1

Reproduction Steps

  1. Start Minecraft
  2. Load
  3. Load Singleplayer Map or enter Server
  4. after loading it crashes; seams to crash when starting to display world

Crash Report file and latest.log

---- Minecraft Crash Report ----
// Who set us up the TNT?

Time: 15.12.21, 01:14
Description: Unexpected error

java.lang.NullPointerException: Cannot read field "field_3911" because "this.field_4015.field_1724" is null
    at net.minecraft.class_757.method_3188(class_757.java:1004)
    at net.minecraft.class_757.method_3192(class_757.java:811)
    at net.minecraft.class_310.method_1523(class_310.java:1117)
    at net.minecraft.class_310.method_1514(class_310.java:733)
    at net.minecraft.client.main.Main.main(Main.java:238)
    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.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:602)
    at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:77)
    at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)

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

-- Head --
Thread: Render thread
Stacktrace:
    at net.minecraft.class_757.method_3188(class_757.java:1004)

-- Affected level --
Details:
    All players: 0 total; []
    Chunk stats: 4096, 288
    Level dimension: minecraft:overworld
    Level spawn location: World: (0,70,0), Section: (at 0,6,0 in 0,4,0; chunk contains blocks 0,-64,0 to 15,319,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,-64,0 to 511,319,511)
    Level time: 19689 game time, 19689 day time
    Server brand: ~~ERROR~~ NullPointerException: Cannot invoke "net.minecraft.class_746.method_3135()" because "this.field_3729.field_1724" is null
    Server type: Integrated singleplayer server
Stacktrace:
    at net.minecraft.class_638.method_8538(class_638.java:408)
    at net.minecraft.class_310.method_1587(class_310.java:2402)
    at net.minecraft.class_310.method_1514(class_310.java:757)
    at net.minecraft.client.main.Main.main(Main.java:238)
    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.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:602)
    at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:77)
    at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)

-- Last reload --
Details:
    Reload number: 1
    Reload reason: initial
    Finished: Yes
    Packs: Default, Fabric Mods, gui-e3080.zip

-- 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: 2605467896 bytes (2484 MiB) / 4697620480 bytes (4480 MiB) up to 8589934592 bytes (8192 MiB)
    CPUs: 16
    Processor Vendor: AuthenticAMD
    Processor Name: AMD Ryzen 7 5800H with Radeon Graphics         
    Identifier: AuthenticAMD Family 25 Model 80 Stepping 0
    Microarchitecture: Zen 3
    Frequency (GHz): 3,19
    Number of physical packages: 1
    Number of physical CPUs: 8
    Number of logical CPUs: 16
    Graphics card #0 name: NVIDIA GeForce RTX 3060 Laptop GPU
    Graphics card #0 vendor: NVIDIA (0x10de)
    Graphics card #0 VRAM (MB): 4095,00
    Graphics card #0 deviceId: 0x2560
    Graphics card #0 versionInfo: DriverVersion=30.0.14.9709
    Graphics card #1 name: AMD Radeon(TM) Graphics
    Graphics card #1 vendor: Advanced Micro Devices, Inc. (0x1002)
    Graphics card #1 VRAM (MB): 2048,00
    Graphics card #1 deviceId: 0x1638
    Graphics card #1 versionInfo: DriverVersion=27.20.15026.8004
    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): 28376,12
    Virtual memory used (MB): 23667,35
    Swap memory total (MB): 14188,06
    Swap memory used (MB): 2065,14
    JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx8G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
    Fabric Mods: 
        fabric: Fabric API 0.44.0+1.18
        fabric-api-base: Fabric API Base 0.4.1+b4f4f6cdc8
        fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.4.0+16d92c47c8
        fabric-biome-api-v1: Fabric Biome API (v1) 6.0.1+ded849a9c8
        fabric-blockrenderlayer-v1: Fabric BlockRenderLayer Registration (v1) 1.1.9+3ac43d95c8
        fabric-command-api-v1: Fabric Command API (v1) 1.1.6+3ac43d95c8
        fabric-commands-v0: Fabric Commands (v0) 0.2.5+b4f4f6cdc8
        fabric-containers-v0: Fabric Containers (v0) 0.1.18+d154e2c6c8
        fabric-content-registries-v0: Fabric Content Registries (v0) 0.4.5+6f53a73dc8
        fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.1.8+3ac43d95c8
        fabric-dimensions-v1: Fabric Dimensions API (v1) 2.1.7+43d29571c8
        fabric-entity-events-v1: Fabric Entity Events (v1) 1.4.5+6b21378ac8
        fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.4.16+bfa23f17c8
        fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.6+b4f4f6cdc8
        fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.10+3ac43d95c8
        fabric-item-api-v1: Fabric Item API (v1) 1.3.0+691a79b5c8
        fabric-item-groups-v0: Fabric Item Groups (v0) 0.3.3+3ac43d95c8
        fabric-key-binding-api-v1: Fabric Key Binding API (v1) 1.0.8+c8aba2f3c8
        fabric-keybindings-v0: Fabric Key Bindings (v0) 0.2.6+b4f4f6cdc8
        fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 1.4.10+c15ca335c8
        fabric-loot-tables-v1: Fabric Loot Tables (v1) 1.0.8+3ac43d95c8
        fabric-mining-level-api-v1: Fabric Mining Level API (v1) 1.0.3+3ac43d95c8
        fabric-mining-levels-v0: Fabric Mining Levels (v0) 0.1.7+b4f4f6cdc8
        fabric-models-v0: Fabric Models (v0) 0.3.3+3ac43d95c8
        fabric-networking-api-v1: Fabric Networking API (v1) 1.0.18+3ac43d95c8
        fabric-networking-v0: Fabric Networking (v0) 0.3.5+b4f4f6cdc8
        fabric-object-builder-api-v1: Fabric Object Builder API (v1) 1.11.0+3b82842ec8
        fabric-object-builders-v0: Fabric Object Builders (v0) 0.7.8+3ac43d95c8
        fabric-particles-v1: Fabric Particles (v1) 0.2.9+526dc1acc8
        fabric-registry-sync-v0: Fabric Registry Sync (v0) 0.8.5+3ac43d95c8
        fabric-renderer-api-v1: Fabric Renderer API (v1) 0.4.9+3ac43d95c8
        fabric-renderer-indigo: Fabric Renderer - Indigo 0.4.12+3ac43d95c8
        fabric-renderer-registries-v1: Fabric Renderer Registries (v1) 3.2.7+b4f4f6cdc8
        fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.3.4+7242e9d7c8
        fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 0.1.18+3ac43d95c8
        fabric-rendering-v0: Fabric Rendering (v0) 1.1.9+b4f4f6cdc8
        fabric-rendering-v1: Fabric Rendering (v1) 1.10.3+6b21378ac8
        fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.4.11+3ac43d95c8
        fabric-screen-api-v1: Fabric Screen API (v1) 1.0.7+3ac43d95c8
        fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.1.11+3ac43d95c8
        fabric-structure-api-v1: Fabric Structure API (v1) 2.0.8+295197a7c8
        fabric-tag-extensions-v0: Fabric Tag Extensions (v0) 1.2.5+3ac43d95c8
        fabric-textures-v0: Fabric Textures (v0) 1.0.9+3ac43d95c8
        fabric-tool-attribute-api-v1: Fabric Tool Attribute API (v1) 1.3.4+7de09f55c8
        fabric-transfer-api-v1: Fabric Transfer API (v1) 1.5.5+b4f4f6cdc8
        fabricloader: Fabric Loader 0.12.11
        iris: Iris 1.1.4-starline+build.670
        java: OpenJDK 64-Bit Server VM 17
        minecraft: Minecraft 1.18.1
        org_anarres_jcpp: jcpp 1.4.14
        org_joml_joml: joml 1.10.2
        org_slf4j_slf4j-api: slf4j-api 1.7.12
        sodium: Sodium 0.4.0-alpha5+build.9
    Launched Version: fabric-loader-0.12.11-1.18.1
    Backend library: LWJGL version 3.2.2 build 10
    Backend API: NVIDIA GeForce RTX 3060 Laptop GPU/PCIe/SSE2 GL version 3.2.0 NVIDIA 497.09, NVIDIA Corporation
    Window size: 1920x1057
    GL Caps: Using framebuffer using OpenGL 3.2
    GL debug messages: 
    Using VBOs: Yes
    Is Modded: Definitely; Client brand changed to 'fabric'; Server brand changed to 'fabric'
    Type: Integrated Server (map_client.txt)
    Graphics mode: fancy
    Resource Packs: vanilla, Fabric Mods, file/gui-e3080.zip (incompatible)
    Current Language: English (US)
    CPU: 16x AMD Ryzen 7 5800H with Radeon Graphics 
    Server Running: true
    Player Count: 1 / 8; [class_3222['MineLPPhynix'/187, l='ServerLevel[New World]', x=-62.42, y=69.00, z=216.52]]
    Data Packs: vanilla, Fabric Mods

Additional context

No response

r8tten commented 2 years ago

I have the same issue

FlorianDevPhynix commented 2 years ago

I just switched back to iris with version "mc1.18-1.1.3" and it also crashed. There is a updated version "iris-mc1.18.1-1.1.3" which doesn't crash. Maybe its not a problem with this fork but with the main repository?

r8tten commented 2 years ago

I just switched back to iris with version "mc1.18-1.1.3" and it also crashed. There is a updated version "iris-mc1.18.1-1.1.3" which doesn't crash. Maybe its not a problem with this fork but with the main repository?

There's no version of starline that works on 1.18.1?

FlorianDevPhynix commented 2 years ago

I just switched back to iris with version "mc1.18-1.1.3" and it also crashed. There is a updated version "iris-mc1.18.1-1.1.3" which doesn't crash. Maybe its not a problem with this fork but with the main repository?

There's no version of starline that works on 1.18.1?

The current version is for 1.18.1. In the Artefacts zip file the files all have the 1.18.1 version but it never worked on 1.18 or 1.18.1 for me.

Gnza100 commented 2 years ago

same problem for me

Extingale commented 2 years ago

Same, can't find a working version for 1.18, even the versions from up to 25 days ago crash like this.

FlorianDevPhynix commented 2 years ago

I don't think there is a 1.18 version, maybe because of Log4j?

Justsnoopy30 commented 2 years ago

You're using the wrong version of sodium, the correct build can be found on my discord server.