OS: MacOS 10.11.6
Version: 0.0.5
Commit/Build: build 17c5178
When an unfinished or recently removed ride (Ride B) is adjacent to a ride that is openend/testmode AND has _Synchronize with adjacent stations_ enabled (Ride A), no vehicle from Ride A can leave the station.
Bug for unfinished rides (= not suitable for testing/opening)
Bug for removed rides
Screenshots / Video:

_The station on Ride A even has green signal lights, but the vehicle refuses to leave because Ride B's presence. Even though Ride B, isn't open, doesn't have any vehicles and has never been openend before._

_Before removing Ride B_

_After removing Ride B_
Save game:
Diamond Heights.sv6.txt
While I'm not that familiar with the codebase, I've attempted to do some breakpoint debugging on vehicle.c to get a sense of where this problem could originate from. Can't say I've found the sticking point, but there are some things I think where notable to require further investigation:
_synchronisedVehicles list never gets items removed, only added. This could explain why rides that are in actuality removed are still considered for the synchronisation. Perhaps this list should updated to check if all rides mentioned in the list still exist in the park (gRideList?).vehicle.c. Removing the duplicate doesn't seem to fix anything, but it should be removed nonetheless.while (_lastSynchronisedVehicle < MaxSynchronisedVehicle) {
x += TileDirectionDelta[direction].x;
y += TileDirectionDelta[direction].y;
if (!try_add_synchronised_station(x, y, z)) {
break;
}
}
The code needs to be looked into anyways because of #4178, so whoever does that can fix two bugs in one go.
Rides with synchronise with adjacent stations turned on never leave the station if there's no other ride to sync with. So if you don't build ride B at all, ride A still won't depart.
Oh… of course. Still I think it would be better the _Synchronize with adjacent stations_ gets ignored when no other stations are present. Or alternatively, a vehicle could have a status message with "Waiting for adjacent train to depart" to display in the bottom of the ride window. This could make it a lot more clear what's actually going on.
I think this is an original bug as well if the desynchronization crash bug was not triggered.
@Niels-NTG could you check if 5a046ece6078bc7629250b3ee45acb683b785f53 fixed this?
@IntelOrca Yes, it did. I tested the following cases:
Most helpful comment
Oh… of course. Still I think it would be better the _Synchronize with adjacent stations_ gets ignored when no other stations are present. Or alternatively, a vehicle could have a status message with "Waiting for adjacent train to depart" to display in the bottom of the ride window. This could make it a lot more clear what's actually going on.