Uhm.. bad news.. I've confirmed that locally setting unit x/y causes desync in some cases, still not sure in what case exactly. I tried to install my panel system into a melee map and it was desynced (it's not when I comment out SetUnitX/Y lines). I'm still trying to figure why, have been some hours now but no luck. It's just weird that it doesn't desync in the demo map but it does in melee maps. Whereas I used exactly the same triggers, models, object data, demo code, etc etc in both maps but they resulted differently.... Will be appreciated if you try to install your UI system into a real map and see if the issue indeed exists.
- https://www.merriam-webster.com/dictionary/trigger%E2%80%93happy
- https://dictionary.cambridge.org/dictionary/english/trigger-happy
- http://www.thefreedictionary.com/trigger-happy