The bug
When using /debug start
, the game output will be spammed with this error:
adz Cannot push to profiler if profiler tick hasn't started - missing startTick()?
Attachments
Comments 7
Yet, a profile dump is given, but:
Time span: 3646 ms
Tick span: 65 ticks
// This is approximately 0.02 ticks per second. It should be 20 ticks per second
This result is not right. The result should be 17.83 ticks per second.
It always says 0.02 ticks.
The count in the profile dump report is miscalculated in the report, but is correctly displayed as a command output.
This error is not produced when no player is on, or when all the players are in spectator mode (but the count in the report is still miscalculated). Once you switch from spectator to another game mode while the profiler is running, the error messages appear and start spamming the console until you switch back to spectator mode again.
I can confirm that this issue still occurs in 18w50a:
[media]