boskid wrote: Tue Oct 29, 2024 10:49 pm
I looked at both desync reports and i am not interested in investigating it until a reproduction is given without any custom scripting. There are at least 4 characters all with the position desynced when it is {0,0} on the client while being reasonable on the server.
After debugging this for a long time I finally have a very reliable reproduction method and plausible guess.
- this desync happens when mac (M1) joined a PC game AND also when PC joins a mac game.
- It clearly does not happen when PC joins PC, I don't have two macs so cannot test mac joining mac.
- I looked at at least 5+ desync reports diff there always seems to be something to do with logistic robots.
- desync reports are very easy to create since when I join the MP server with mac it always desync in the first second.
- these reports are not very useful as you already noted, since its full of random craziness happing on MP server.
Now after I have the guess, after a long time trying different setups, I have a reliable reproduction.
- on PC loads my save file in MP, which is a brand new restart with almost no structure or anything going on.

- Screenshot 2024-12-29 at 2.14.34 AM.png (321.56 KiB) Viewed 467 times
Screenshot 2024-12-29 at 2.14.34 AM.png
- mac player can now join the game without any desync issues at all I was able to play like normal.
- the PC player builds some roboports and put down some logistic robots to start some robot logistic.

- Screenshot 2024-12-29 at 2.14.46 AM.png (400.47 KiB) Viewed 467 times
Screenshot 2024-12-29 at 2.14.46 AM.png
- mac player will desync very quickly after. desync will be triggered faster if you add more robots and also repeatedly add and remove roboports.

- Screenshot 2024-12-29 at 2.17.51 AM.png (1.4 MiB) Viewed 467 times
Screenshot 2024-12-29 at 2.17.51 AM.png
It's unlikely this has anything to do with the mods or scripting since I didn't find anything related to logistic robots in the code.
However, I have not been able to reproduce this desync outside of comfy mtn.
With this setup I was able to produce very clean desync reports.
related issues
120244