we have a minute/second/hundreds counter in our game, working flawlessly on all devices. Except on the Xbox One when built as UWP. The time just speeds away several times faster than it should.
We’re using UniRx, but that should not matter. Something makes time go faster on Xbox One S.
This piece of code looks incorrect. TimeSpan constructor takes “ticks” as in “time period expressed in 100-nanosecond units”, while Stopwatch “ticks” is a hardware dependent unit of time. I can see where the confusion might be coming from - they’re both called “ticks”, but they’re not the same. Use Stopwatch.Frequency field to convert stopwatch ticks to seconds.