-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Vehicle disappear when moving from another mapchunk and re-appear when in vehicle mapchunk #38292
Comments
I do believe this has been fixed. I'll try loading your save up. Edit: Err, I won't do that after all as you've not uploaded the save! In that case would you mind downloading the latest experimental and testing it on there? You can use the CDDA game launcher to download and update it conveniently. Most bugs in 0.D should be fixed (or at least reported) by now. When making a report there's a button that shows issues that are similar based on your title. A search of closed and open issues is a good idea regardless, but especially for 0.D bugs. Edit 2: Been hunting for the PR I'm pretty sure fixes this but I can't find it. Quitting for now! If anybody else can find it, great. |
Hihi Funguss, Will try downloading the experimental to test probably tomorrow. Thanks. If still not fixed, will upload my save file. |
Hi Funguss, Tried with experimental 0.D-12517-g92b0b2c and problem still persist. Attached is the save file. Even tried removing offending vehicle part and inserting but still same issue. Thanks |
Ok, wow, yeah it looks like your vehicle is getting unloaded, though moving one square east doesn't take you into a new chunk. IIRC vehicles unload when their point of origin (the first tile constructed) leave the simulated area. I could have sworn this issue was fixed. I was also certain that jumper cables prevented vehicles unloading until their connected vehicles were unloaded, too. Sorry for getting your hopes up! It may be that the vehicle is invisible, or that it's still loaded but isn't placed on the map. I'm not entirely sure how to go about testing this. |
Just a wild guess, but it could also be an issue with the submap vehicle cache. |
This is a limitation of the game engine. Each vehicle is stored within a map chunk and if that map chunk is not part of the reality bubble, the vehicle it contains are not part of the reality bubble either. Fixing this would need to load all (or at least very many) surrounding map chunks just to load the vehicles that are also part of the reality bubble. And vehicles have no size limit, so we would have to expect a vehicle stored a dozen map chunks away can still have parts in the reality bubble. You can make multiple vehicles and connect them via jumper cables. |
Describe the bug
Vehicle disappear when entering a new mapchunk but reappear when moving back into vehicle mapchunk
A gigantic vehicle working as Power grid for my base will disappear when I exit the vehicle mapchunk that the vehicle is on. It will reappear with the vehicle parts in the other mapchunk when I enter the vehicle mapchunk.
Version: 0.D Stable
Steps To Reproduce
Expected behavior
The vehicle shall exist in both mapchunk if there are any cross mapchunk.
Thus there shall not be disappearing cases.
Screenshots
Still in mapchunk -
![Uploading 20200224-screenshot.png…]
One step out of mapchunk -
![20200224-screenshot_1](https://user-images.githubusercontent.com/14855901/75132200-05b48a80-5711-11ea-9e6b-4f0a6888bca2.png)
Versions and configuration
Additional context
The text was updated successfully, but these errors were encountered: