Create

Create

86M Downloads

My game crashes when I make a train

FunkyBoiStreamer opened this issue ยท 4 comments

commented

Describe the Bug

I make a track I put down a station and click "Create Train" I make an any sized train and when I finish the game just stops and crashes and I get this error: "The game crashed whilst unexpected error
Error: java.lang.NullPointerException: Cannot invoke "net.minecraft.server.MinecraftServer.m_129880_(net.minecraft.resources.ResourceKey)" because the return value of "net.minecraft.world.level.Level.m_142572_()" is null" and I cant join back into the game

Reproduction Steps

1.Make a track and place a staiton
2.create a train of any size
3.done
...

Expected Result

total game crash with this error:
The game crashed whilst unexpected error
Error: java.lang.NullPointerException: Cannot invoke "net.minecraft.server.MinecraftServer.m_129880_(net.minecraft.resources.ResourceKey)" because the return value of "net.minecraft.world.level.Level.m_142572_()" is null

Screenshots and Videos

No response

Crash Report or Log

The game crashed whilst unexpected error Error: java.lang.NullPointerException: Cannot invoke "net.minecraft.server.MinecraftServer.m_129880_(net.minecraft.resources.ResourceKey)" because the return value of "net.minecraft.world.level.Level.m_142572_()" is null

Operating System

Windows 10

Mod Version

0.5.0h

Minecraft Version

1.18.2

Forge Version

40.2.1

Other Mods

Create, flywheel, crayfishfurniture,EyeMod,openpartiesandclaims,xearos map 1&2,PizzaCraft

Additional Context

it happends without other mods two and also in all game versions

commented

we need the full log, not just an excerpt

commented

crash-2023-04-28_14.16.42-client.txt
sorry

Also if it doesn't happen please tell me how to fix it I tried reinstalling and it did nothing

commented

https://paste.ee/p/yI02X
Another instance of this crash occurring for me ^

commented

See this related issue: #4369 where apparently your forge version can cause incompatibility. This occurred for me when upgrading my forge version to 40.2.4; I reverted back to 40.1.86 and the issue was resolved.