JGRennison / OpenTTD-patches

OpenTTD - http://www.openttd.org/ - with additional patches
Other
585 stars 133 forks source link

[Crash]: during pathfinding when a bus encounters a junction on an overly long road #723

Closed James103 closed 3 months ago

James103 commented 4 months ago

Version of OpenTTD

jgrpp-0.60.2 on Windows 10, 64-bit

Steps to reproduce

  1. Have a very long road with no junctions or intersections.
  2. Place depots at both ends of the road.
  3. Place a junction somewhere along the road.
  4. Buy a bus at one of the depots, and order it to go to the other depot.
  5. Start the bus.
  6. When the bus reaches a junction, the game will crash.

A Very Long Highway, 2200-01-01.zip Alternatively, start the bus in the attached save and wait for it to reach the junction, as shown below: image

Upload crash files

crash-20240723T105159Z.zip

Gadg8eer commented 4 months ago

Version of OpenTTD

jgrpp-0.60.2 on Windows 10, 64-bit

Steps to reproduce

  1. Have a very long road with no junctions or intersections.
  2. Place depots at both ends of the road.
  3. Place a junction somewhere along the road.
  4. Buy a bus at one of the depots, and order it to go to the other depot.
  5. Start the bus.
  6. When the bus reaches a junction, the game will crash.

A Very Long Highway, 2200-01-01.zip Alternatively, start the bus in the attached save and wait for it to reach the junction, as shown below: image

Upload crash files

crash-20240723T105159Z.zip

Did you miss a step? When is the junction added to the no-junction road?

JGRennison commented 4 months ago

This should be fixed in the next release