New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(Fixed in release 2016-10-19) Units get stuck on bridges #7539
Comments
Does the vehicle keep being stuck or will it move if you do another move order? |
It keeps being stuck (I saw this with 3 rifle men somewhen as well). |
Maybe related to #6684. |
With @Snurre86's last update on how to reproduce it, this sounds like a tile metadata issue (walkable terrain). Just guessing, though. |
Still happens in release 2015-04-24 in mission "survive 02". |
Still happens in Release-20151224 |
Confirmed still happens in 20151224. Also, I think I had 4-5 units stuck on a semi damaged bridge, and I lost all but 1-2 when the bridge was repaired. |
This seems to be related to changeset 3fed98f If I comment out the change to Bridge.cs, the issue stops happening, I also discovered debugging the code that you don't have to completely blow up the bridge to reproduce the bug, you just need to damage it, which then triggers that code and then you can get stuck on it. Note also another way you can tell the bug is present is the fact that the unit can't move to that specific tile, that is actually part of the bug. I don't know what the purpose of that code is, with that code disabled, units didn't cross the bridge when it was blown up, and when engineered repaired it, units could pass over it again, so basically works as expected. Does OpenRa have a mod that dynamically creates bridges? That would be my only guess as to the purpose of that code. The code itself seems to replace the bridges tiles with neighbor tiles domain values. So it is pulling the rivers domain value over the bridge. |
I created a pull request 10728 that fixes this issue. I created 2 test levels, one to test destroying and rebuilding the bridge, and the other for testing when the bridge is initially destroyed and the bridge is repaired. |
Tried it on the bridges in survival 01 mission and it seems fixed in release 2016-10-19. |
From time to time a vehicle gets stuck on bridges, it might be after giving a new move order as it is passing over a bridge. I have not been able to get units stuck on longer bridges.
Ok so this is how you reproduce this:
This happens to infantry as well.
The text was updated successfully, but these errors were encountered: