Release Type: GitHub source
Version: 4.4.0-dev at commit 2f6f79b4bc06654ae4b287455a7d7cc28b53410a
Platform(s): Linux/Vulkan
Describe the bug
DebugTextSystem never renders the first message in its overlay queue.
This means a single call to DebugTextSystem.Print(...) produces no visible text.
When several messages are queued, every message except the first one renders.
The draw loop starts at the last message but stops when the index reaches zero because its condition is index > 0.
The first message is also never expired or removed from the queue.
To Reproduce
- Call
game.DebugTextSystem.Print("+", position) once per frame.
- Start the game.
- Observe that the text does not render.
- Queue another debug message in the same frame.
- Observe that the second message renders while the first one still does not.
Expected behavior
Every queued debug message should render, including the message at index zero.
Screenshots
Not applicable.
Log and callstacks
There is no exception or log output.
Additional context
Changing the reverse loop condition from index > 0 to index >= 0 makes it process every message while preserving safe removal during reverse iteration.
Release Type: GitHub source
Version:
4.4.0-devat commit2f6f79b4bc06654ae4b287455a7d7cc28b53410aPlatform(s): Linux/Vulkan
Describe the bug
DebugTextSystemnever renders the first message in its overlay queue.This means a single call to
DebugTextSystem.Print(...)produces no visible text.When several messages are queued, every message except the first one renders.
The draw loop starts at the last message but stops when the index reaches zero because its condition is
index > 0.The first message is also never expired or removed from the queue.
To Reproduce
game.DebugTextSystem.Print("+", position)once per frame.Expected behavior
Every queued debug message should render, including the message at index zero.
Screenshots
Not applicable.
Log and callstacks
There is no exception or log output.
Additional context
Changing the reverse loop condition from
index > 0toindex >= 0makes it process every message while preserving safe removal during reverse iteration.