A lot of inventory de-sync since Update 1.191

Keks shared this bug 4 years ago
Solved

The inventory isn't synchronized correctly since the last update.


Just one example:904caa61ade0dc80e269e981dc8f1eb3

It shows items in a inventory but they aren't really there. (can't take them, can't move them)


Affected blocks: All blocks with inventories ( cargo containers, refineries, assemblers, etc.)

Issues are reproducible with the vanilla DS software (no mods).

Easiest way to reproduce:

- connect to a DS

- take a mining ship, mine some stone, check the inventory of the drills after a while

Replies (22)

photo
1

The same issue can be observed when trying to take items out of or place items into containers (or other blocks with inventories).

When trying to do a transfer the items are often still displayed in the inventory and the litres are not always adjusted. It has nothing to do with access to the inventory, this alsy appeared when interacting with a chest directly. This gave the impression of either items being locked in a chest, as they are not dissappearing from the inventory you try to pull it out from and not appearing in the inventory you are trying to put it into, or being duplicated, or just vanishing at all. This does not affect all inventory blocks the same and it changes over time.


Furthermore I observed desync-issues in the production queue of assemblers. It "tried" to produce an item and canceled after roughly half a second, starting again. After some irregular time the production stack in the assembler reduced its amount one by one at a very high speed, roughly ten items per second. this went on for a few moments until the "trying to produce" thing happens again, looping until the production stack is taken care of. Again, this seems only to be a sync issue, as scripts are unaffected by this and notice new items at a regular production speed.


Last but not least, even when pulling components into the player inventory without them being displayed there, only the litres of the inventory being used up and the small inventory bar over the hotbar being filled and colored red, it still did not register the items in the inventory when trying to weld blocks that would definitly require these components. My guess is that the desync made my client think that the items were there, whilst the server did not see items in my inventory, telling me that the block is unweldable. As my inventory was full with items i did not see, my inventory was locked and I could not use my inventory anymore at all.


Restarting the server or restarting the client game did not change anything about this behaviour.


As it seems, scripts are not affected by this, as two different inventory analyzing scripts found everything perfectly fine

photo
1

Hi,


I'm currently running a server called [eu]Clang of it and i'm finding this De sync issue is becoming a real big problem.


althought i've come across an interesting find with it, I have a player on his own in space and doesn't get this problem but a group of 3players together, are having to relog 3 to 4 times every 10mins.


i can confirm that restarting the server does not help with this issue, because it comes right back.

photo
1

Hello, Engineer!


Thank you for your feedback! Your topic has been added between considered issues.

Please keep voting for the issue as it will help us to identify the most serious bugs.


We really appreciate your patience.


Kind Regards

Keen Software House: QA Department

photo
1

The author of this bug report commented on my bug report and pointed me here, and I agree that they're similar, if not the same, issue.

(https://support.keenswh.com/spaceengineers/general/topic/1-191-xxx-inventory-freezing-breaking-degrading)

One particular difference is that we see a server restart fix the issue.

As I'm only building things at the moment I'm taking and placing a lot of items into and out of a station grid, and thus seeing this issue a lot. It begins after half an hour or so after a server reset.

It really is the weirdest bug, because I can use the new (and fantastic!) Planner mmb to pull parts I need and go build stuff. I can't see what's been pulled into my inventory, but the parts are apparently there because I can build with them. But eventually my inventory fills up with parts that aren't needed, but I can't see or do anything about it, so a server reset is then in order.

photo
1

Hello, Engineers!


We are trying to reproduce your issue but with no luck.


If you guys are certain that the issue remains in the game after reloading the server, could you please provide us world where we can successfully reproduce the issue?


Thank you for cooperation!


Kind Regards

Keen Software House, QA Department

photo
1

Hey Ales,


I dont know if that helps, but we only experienced the bug after a quite long time of playing, so even if we were doing the exact same things, like taking components directly out of the same container into the player inventory and using said components to weld stuff, it just triggered after some time.


During this time ships were automatically connecting and disconnecting via connectors and assemblers and refineries were given something to do. We as well were always running around together within a few hundred metres. We are using subgrids.

photo
1

Hi Ales, sorry but my world files (zipped) are wayyy over the 2mb forum allowance, so I don't know how I can get these files to you.


So here is a gdraive link:

https://drive.google.com/file/d/1YV1MOPv7Y4WPNIKVtkmWNjDl2zd7gQ-q/view?usp=sharing

photo
1

FYI I toom my own files and played on them locally. No problem for the hour I played. Logged backed on to our DS and within about 15minutes I was seeing the issue.

photo
photo
1

Hi Ales,


only thing i can say about trying to reproduce it, having more than 2 to 3ppl in the same area, accessing the same boxes and it will desync.


on my server i've got 1 person on his own and in space and it the inventory bug doesn't affect him, but the me and 2 others working together on the planet are having to relog no end.


Also its a DS that my world is hosted on.


i can send you our server world if you wish.

if it helps aswell, i've got footage of it happening.

photo
1

Hi DArmada03,


We tried exactly those steps you are suggesting but we weren't able to reproduce the issue.


Could you please attach world file in here? It is always easier to reproduce the issue in world people are using.


Thanks!


Kind Regards

Keen Software House, QA Department

photo
1

I think i've attached the World file, had to pull this off the DS.

My world in question is up and running still if you want to try and get more information that way.

photo
1

I have created a completely new map, just spawned one mining ship and after a while of mining (maybe 10min) i was be able to reproduce the issue. (see screenshot). There wasn't other people connected, just me.

But it seems like the issue occurs more often when more people are connected.

The map was created with the vanilla dedicated server.

Note: You find some files of a mod in the zip achiv, but the mod was never activated on this map.

photo
photo
1

Happens on my DS as well. Last night players agreed that it's to much of a problem to play enjoyably and will return after it's fixed :(


Logging in and out client-side as well as restarting or rebooting the DS fixes the inv-desync until someone tries to move anything out of <b>working powered blocks</b> it seems. Sometimes it bugs out after just a couple of minutes.


How it happens:

If I try to change what is being refined by moving something out of the refinery (as an example of a powered working block) into my own inventory it seems to duplicate in both but I can't move any of the duplicate stacks anymore to/from any other inventory.

If I close and open the refinery inventory again the duplicate in the refinery is gone but volume is still counting down as if refining and stack shows in personal inventory but is immovable. Nothing appearing in the output and can't move anything into the refinery either.


More info:

Two players reported still seeing the refinery inventory churning trough ores while me and another one couldn't (but volume worked). After a relog and some more play it flipped again and only one of us could see/access/move inventory properly. All blocks are set to share with faction and every now and then we switch ownership of all the blocks back and forth so that we can do some recoloring but everyone has access to everything.


Server has 12GB RAM DDR3 1600Mhz, i7 2600k @4.5Ghz all core, 500GB Samsung Evo sATA

Connection Server 250/250 Mbps

Know Player Bandwidth 10/50, 100/100, 250/250, 1000/500 Mbps


7z included with our MP world and last 12 hours of backups (72*10min)


PS. Removed EasyInventory from the DS while still on the 1.191.022 hotfix but bug still happened and the vanilla build planner can't access stuff through connectors so we added it back after 1.191.023

photo
1

Happens on my DS as well. Last night players agreed that it's to much of a problem to play enjoyably and will return after it's fixed :(


Logging in and out client-side as well as restarting or rebooting the DS fixes the inv-desync until someone tries to move anything out of working powered blocks it seems. Sometimes it bugs out after just a couple of minutes.


How it happens:

If I try to change what is being refined by moving something out of the refinery (as an example of a powered working block) into my own inventory it seems to duplicate in both but I can't move any of the duplicate stacks anymore to/from any other inventory.

If I close and open the refinery inventory again the duplicate in the refinery is gone but volume is still counting down as if refining and stack shows in personal inventory but is immovable. Nothing appearing in the output and can't move anything into the refinery either.


More info:

Two players reported still seeing the refinery inventory churning trough ores while me and another one couldn't (but volume worked). After a relog and some more play it flipped again and only one of us could see/access/move inventory properly. All blocks are set to share with faction and every now and then we switch ownership of all the blocks back and forth so that we can do some recoloring but everyone has access to everything.


Server has 12GB RAM DDR3 1600Mhz, i7 2600k @4.5Ghz all core, 500GB Samsung Evo sATA

Connection Server 250/250 Mbps

Know Player Bandwidth 10/50, 100/100, 250/250, 1000/500 Mbps


7z included with our MP world and last 12 hours of backups (72*10min)


PS. Removed EasyInventory from the DS while still on the 1.191.022 hotfix but bug still happened and the vanilla build planner can't access stuff through connectors so we added it back after 1.191.023

photo
1

Happens on my DS as well. Last night players agreed that it's to much of a problem to play enjoyably and will return after it's fixed :(


Logging in and out client-side as well as restarting or rebooting the DS fixes the inv-desync until someone tries to move anything out of working powered blocks it seems. Sometimes it bugs out after just a couple of minutes.


How it happens:

If I try to change what is being refined by moving something out of the refinery (as an example of a powered working block) into my own inventory it seems to duplicate in both but I can't move any of the duplicate stacks anymore to/from any other inventory.

If I close and open the refinery inventory again the duplicate in the refinery is gone but volume is still counting down as if refining and stack shows in personal inventory but is immovable. Nothing appearing in the output and can't move anything into the refinery either.


More info:

Two players reported still seeing the refinery inventory churning trough ores while me and another one couldn't (but volume worked). After a relog and some more play it flipped again and only one of us could see/access/move inventory properly. All blocks are set to share with faction and every now and then we switch ownership of all the blocks back and forth so that we can do some recoloring but everyone has access to everything.


Server has 12GB RAM DDR3 1600Mhz, i7 2600k @4.5Ghz all core, 500GB Samsung Evo sATA

Connection Server 250/250 Mbps

Know Player Bandwidth 10/50, 100/100, 250/250, 1000/500 Mbps


7z included with our MP world


PS. Removed EasyInventory from the DS while still on the 1.191.022 hotfix but bug still happened and the vanilla build planner can't access stuff through connectors so we added it back after 1.191.023

photo
1

Could someone point me to the correct folder to be snding here? I'm seeing files that ar e a lot bigger than what you guys have attached...

photo
1

C:\Users\PROFILENAME\AppData\Roaming\SpaceEngineersDedicated\Saves

C:\Users\PROFILENAME\AppData\Roaming\SpaceEngineers\Saves\XXXXXXXXXXXXXXXXX\


If you have a lot of backups (sub-folder of those two) remove them from the archive before uploading or you'll do what I did ;)

My folder was 1.3GB with backups, 10MB without and 1.4MB after archiving. Don't worry about the size, it changes the longer you play.

photo
1

Thanks! I'll look into this more when I'm home from wpork. My files is still 50mb (no backups included). But all the "alien planet" bases etc seem to have large files, which I guess we could remove in server settings somewhere?see the exact same folder structure, but I think this should be right!

photo
1

Also, the forum text windows aren't populating with text when I write, so I can't see what I'm writing i,.e. expect spelling mistakes :D

photo
1

On Firefox it works, only Chrome seems to have this issue. There you can switch to the HTML view with this icon to see your text.

/0e62ae52df2f67112c0609a9f0ce1938

photo
photo
1

Sorry about the triple post. Every time I tried to include the file it showed a red box saying "can't access temp file" and threw me back to the reply box. Made it sub 2mb and it posted. The original 30mb archive included over 1.3GB of backups. If you want those as well for comparison you'll have to provide somewhere to put them.

photo
1

Hi all,

I have the same problem, it appears systematically very shortly after being connected to the server using the containers. If I want to transfer items from my inventory to the container, the items remain in my inventory, but the volume drops. This does not transfer the totality of what I have, the quantities they remain unchanged. It's unplayable in this way. Rebooting the client fixes the problem for a few minutes ... Would you have a procedure to force a version with steamcmd that I use to keep the server up-to-date? On the client side I can force a version (beta) directly into steam.


Thanks for your help.

photo
1

We have the same issue on our DS. The inventory system doesn't update for the client, even if the items are being transferred. Dying seems to reset the inventory Count but soon its not working again.

I wonder if its the same issue as when you weld sometimes, and it jumps a bit like showing Computers 20/20 as suddenly 19/20 and still jumping back and welding it up.

photo
1

I've been seeing this a lot as well, playing on a DS. What usually happens for me is that my suit inventory doesn't update. I have a bunch of stuff in it on the inventory screen, but I can't drag it into any cargo blocks or anything. When I exit the inventory screen, the backpack progress bar shows the inventory is mostly empty. In the inventory screen, the new BP feature can move stuff into my inventory, but it doesn't show up in my suit inventory on the inventory screen. When I exit the inventory screen, the backpack progress bar shows full, and I can weld blocks with the components I grabbed, despite not being able to see them in the inventory screen.

So long story short, it seems like everything is _working_, except for the display of the suit inventory on the inventory screen.

photo
1

We have the same issue on our DS. The inventory system doesn't update for the client, even if the items are being transferred. Relogin are working as a workaround but ithe bug came back while playing.

A new game works for a few days but then it came back again.

Best of was:

photo
1
photo
1

I hate it when it didn't work I cannot attach a file. The Forum shows me that it upload the zip-file but then it disappears :(

photo
photo
2

Hello, Engineers!


We have successfully reproduced the inventory desync issue with working powered blocks (Refinery, Assembler) in the world provided by Magz Payne. However, we are still unable to reproduce inventory desync related to:

  • Player's inventory + not registering items when trying to weld a block
  • Containers

Could you please provide us with saved worlds where these two issues occur? We have tried all other saved world provided in this thread but with no luck.


Thank you for your cooperation!


Kind Regards

Keen Software House: QA Department

photo
1

Great to hear you've been able to (at least partially) replicate the issue. This bug has hit my current DS group in a big way, to the point where both player and working powered block inventories seem to desync after only a few minutes.

As you requested, I've attached our current world where we're experiencing the desync. Hope it can help in identifying the issue. We're currently running two mods:

Assertive Installations (1464803311)

Scarce Resources (831739660)

photo
1

Glad your able to reproduce some of the problem.

If your wanting more info, maybe join the server i host and hang around with us for abit.

it tends to happen within about 5mins of someone joining.


DArmada03

photo
photo
1

We too have the Same issue on my server items saying they are there but then not able to grab them :( its more of an annoyance than anything as it is providing false information :(

photo
1

Also we havee no Mods installed on our server

photo
photo
1

The desync is also affecting ice in O2/H2 the generators.


When converting ice to gas it will use up all the available ice, then one generator will show 0L in inventory but it appears full of ice.


This causes the generator to continue to pull power to convert the ice that isn't there into gas draining your batteries until they are empty.


Can't leave hydro engines alone to charge batteries using

generators anymore only tanks

photo
1

Still happening even after the Update :(

photo
2

Hello, Engineers!


Thank you for your feedback. As we wrote in the changelog for Hotfix 1.191.106:

Known Issues

  • There is still a part of the desync which occurs with increased latency or with unstable internet connection


We are still investigating this inventory desync issue and any additional information will be greatly appreciated.


Thank you for you cooperation.


Kind Regards

Keen Software House: QA Department

photo
2

Are there any debugging/diagnosing tools within SE that we can use to see if our internet connection is having problems? I generally have a ~160 ping in game, but I'm suspicious my internet connection may occasionally drop packets, however the windows networking tooling can't show me that happening, since it's UDP. Does SE provide any way for me to see if/when this is happening, and if it correlates at all with inventory desync, or seeing "----" for all pings on the F3 screen? (I see the latter quite frequently.)

photo
photo
2

Inventory desync should be fixed in v192.

Please test it and let us know if it is ok or not. If not, I will reopen this thread.

Leave a Comment
 
Attach a file