Minecraft Transit Railway (Automated trains, planes, and more!)

Minecraft Transit Railway (Automated trains, planes, and more!)

1M Downloads

Opening Railway Dashboard and using brush on rail always causes game instant crash

BoscoChung1234 opened this issue ยท 16 comments

commented

Expected Behaviour
A clear and concise description of what you expected to happen.
When opening railway dashboard and using brush on rail it shouldn't crash
Actual Behaviour
A clear and concise description of what actually happened.
Sometimes opening Railway Dashboard causes game to crash
Scheduling train always causes crash
Reproduction Steps
Steps to reproduce the behaviour:

  1. idk

Crash Report
Attach a crash report to the issue.
crash-2021-01-24_18.31.06-client.txt
Screenshots
If applicable, add screenshots to help explain your problem.

Environment

  • Minecraft Version: 1.16.4 (Test with both Canvas and Optifine, same result)
  • Installed Mods: Phosphor, ModMenu, MiniUHD, OptiFabric, WorldEdit, REI, EasierCraft

Additional Information
Anything else you want to add?

commented

Hello, thank you for the detailed bug report. While I'm investigating this issue, do you mind only using the MTR mod, then adding in the mods one by one, to identify which mod causes it to crash? That would help too. Thanks.

commented

Hello. Another issue happened to the mod. After a train spawned it crashed for some reason and got the error
The game crashed whilst exception in server tick loop
Error: java.lang.IllegalArgumentException: Payload may not be larger than 1048576 bytes
Exit Code: -1

Every time when a train spawn after opening that world it instantlly crashes

Crash Report with only using Fabric API and MTR Mod:
crash-2021-01-25_11.49.46-server.txt
Same result compared with using other mods, randomly crash if opening dashboard or using brush. Maybe a mod issue.

Also trains sometimes behave strange. Like it didn't stop at the end of the platform rail instead of stopping in the center or the start (Size is long enough and already added a normal trail at the end and the start). Sometimes trains spawn with missing parts.

MC World:
New World (7).zip

Thanks for reading, looking forward for updates :)

commented

Thanks for the new crash report and world download. I was able to reproduce the issue and I'm working on a fix.

commented

This should be fixed in the beta-3 update. Please let me know if you encounter other issues, thanks!

commented

Hello. Please reopen this issue cuz I've updated to the latest beta-3 version, but looks like the problem is still unresolved. When I'm setting the train schedule the game crashed and gave me error Error: java.util.ConcurrentModificationException
The game crashed whilst exception in server tick loop
Exit Code: -1

Crash report:
crash-2021-01-27_18.21.17-server.txt

After the crash, I tried to open Minecraft again and use the brush, once clicked the game auto saved the game and crash
Gives The game crashed whilst rendering screen
Error: java.lang.NullPointerException: Rendering screen
Exit Code: -1

Crash report:
crash-2021-01-27_18.24.45-client.txt

(Also idk why the first one is ended with server.txt xd)

Also wanna add a few suggestions, like adding a new type if rail that could change direction without redstone (I mean double rail), also light rail won't open after placing a platform block next to it. Also, some lrt trains are double-cars and they are not connected inside so couldn't walk between cars but they are connected with something hidden under the car.

Thanks for working on this problem hope it would be fixed

commented

Sorry it's crashing again! I would suggest disabling phosphor and seeing if it works. I will also try to see if I can reproduce the issue.

Thanks for the other suggestions!

commented

I also noticed that some of your mods are outdated, such as phosphor and the fabric loader itself. Try updating them and see.

commented

I also noticed that some of your mods are outdated, such as phosphor and the fabric loader itself. Try updating them and see.

Thanks! Seems like it has been fixed.

commented

Oh, it no longer crashes any more? That's great!

commented

Wait sorry, here's a sad update, after playing for some hours, I'm setting the schedule, then the crash came back again. Maybe I messed up something with the world, but here it is
crash-2021-01-28_12.09.19-server.txt

Maybe it's already fixed a bit, the first hour worked well.

commented

Ah, yes, those concurrent modification exceptions, they just come up randomly :(

I'll try to fix that in the future. For now, you can just relaunch the game. Sorry about that!

commented

relaunching the game doesn't work for me, it still keeps crashing when i use items on platform rails

commented

The game crashed whilst rendering screen
Error: java.lang.IllegalStateException: [fabric-screen-api-v1] The current screen (net.minecraft.class_437) has not been correctly initialised, please send this crash log to the mod author. This is usually caused by the screen not calling super.init(Lnet/minecraft/client/MinecraftClient;II)V
Exit Code: 255

commented

Hello, this is a known issue for Fabric API 0.30.0. Please use Fabric API 0.29.3. Thanks.