Create

Create

86M Downloads

Cannot assemble train: Missing graph edge

TylerWDoesStuff opened this issue ยท 6 comments

commented

Describe the Bug

Broke the corners of my train to put display boards, then clicked Assemble to... nothing. Tried multiple times, still failed. I then checked to see if some block broke it, and I eventually found out that placing a bogey more than halfway through one of my carriages made it fail. As the Create GUI didn't show any errors, but the flag briefly flashed red before returning to blue, I checked the log.

[07Aug2022 23:42:32.616] [Server thread/WARN] [com.simibubi.create.Create/]: Cannot assemble: Missing graph edge

...but repeated 30x since I kept clicking it.

Linked the logs below, the .old is the one I ran with shaders, new is one I just ran

Reproduction Steps

  1. Build a train with 3 bogeys - one in a 'engine car' and one in a 'passenger car'.
  2. Remove the corners.
  3. Get the error, I guess.
    ...

Expected Result

I expected an error message for it not being able to put Display Boards on trains, or it to assemble, but nope! Nothing.

Screenshots and Videos

2022-08-08_00 10 24
2022-08-08_00 09 17
2022-08-08_00 09 26
2022-08-08_00 09 33
2022-08-08_00 09 39
2022-08-08_00 09 42
2022-08-08_00 09 49
2022-08-08_00 09 51
2022-08-08_00 09 57
2022-08-08_00 10 03

Crash Report or Log

https://gist.github.com/TylerWDoesStuff/f1bfba3e8a658c08635f5866b8cf8f70

Operating System

Windows 11 22H2 Beta (22622.440)

Mod Version

0.5.0c

Minecraft Version

1.18.2

Forge Version

40.1.0

Other Mods

RedstoneLampsPlus 1.20.0+ (removed in new log's instance to see if it would help)
SecurityCraft+ 1.9.3
OptiFine HD U H6 Mod (removed in new log's instance to see if it would help)
Flywheel 0.6.4
rsgauges 1.2.16

Additional Context

No response

commented

UPDATE: I've figured out it's just that the track it was on was longer than 128 blocks, breaking the train generation. I had the server settings set so that it would work with tracks 1280 blocks long, though...

Anyways, assuming that's the issue, maybe create a proper error message for that?

commented

I had this same issue but was able to resolve it by replacing all the track blocks of the assembly track under the train. Seems for me that the issue was the tracks weren't properly connected for some reason.

commented

Reproduced this issue on a fairly long track on a creative server. An existing train was disassembled and then we attempted reassembling it. The train is a large structure with framed blocks, a chest, a conductor. Breaking a piece of track a short distance away from the train to separate it from the larger track (this is where graph comes from, perhaps?) resolved the issue.

version of create 1.18.2-0.5.0.i

commented

I am now informed that some of the track was created through WorldEdit, maybe this is the source of the graph being inconsistent?

commented

Yeah I got this trying to make an accurate representation of the train from the movie Runaway Train... is it really longer than 128 blacks though???
Edit: Tried to set that maximum to 1280 like you did, didn't work though. Whoever does the train coding for the Create mod, FIX THIS PLEASE!!!
Edit 2: Was able to recreate this bug in a different way.
1: Go into train assembly mode, build a train, stay in assembly mode, then delete part of the rails in between the train.
2: Replace the rails you have previously broken.
3: Attempt to finish assembly and ensure you super-glued everything together.
Result: You should get that "Missing Graph" error.
How to fix:
1: Delete your entire train or move it elsewhere.
2: Delete the station that was having that error
3: Delete every bit of rail there is from curve to curve(Or until satisfied).
4: Replace every bit of that rail you deleted, then replace the station back at its original location.
Result: If done correctly, you should not be getting that error for the entire length of your train. Finish assembly and your train will be built correctly with no additional missing graph errors.
Edit 3: Still, whoever did the coding for the station needs to fix that or put some coding in it that will give an error within the GUI.

commented

__

I am now informed that some of the track was created through WorldEdit, maybe this is the source of the graph being inconsistent?

Yes, I was able to recreate the error by just deleting a piece of track, apparently, the game won't find it a "suitable place" to finish the train assembly if you built over it. Completely replace that track from curve to curve or end to end. You shouldn't be getting that error anymore. Next time, don't use WorldEdit.