Bug Description
When the RmlUI plugin is added to the engine, a spurious warning is emitted at startup:
[warning] Rmlui is not ready to render
This warning pollutes the log output on every launch and may confuse users into thinking something is wrong, even during normal operation. Flagged via a // TODO in ES-Factoria src/main.cpp.
Steps to Reproduce
- Add the RmlUI plugin to an EngineSquared project: core.AddPlugins<..., RmlUI::Plugin>().
- Run the application.
- Observe the [warning] Rmlui is not ready to render message in the log at startup.
Expected Behavior
No spurious warning at startup. The warning should only appear if RmlUI genuinely fails to initialize or is called to render before it is ready in an unexpected context.
Actual Behavior
The warning is emitted unconditionally at startup, even when RmlUI initializes correctly afterwards.
Environment
- OS: Any
- Engine² Version/Commit: Current main branch
Additional Context
The root cause is likely an initialization ordering issue — something attempts to render via RmlUI before its startup sequence completes. Fix should either correct the ordering or guard the log message so it only fires in genuinely erroneous situations.
Related Issues
Reactions are currently unavailable
Bug Description
When the RmlUI plugin is added to the engine, a spurious warning is emitted at startup:
This warning pollutes the log output on every launch and may confuse users into thinking something is wrong, even during normal operation. Flagged via a // TODO in ES-Factoria src/main.cpp.
Steps to Reproduce
Expected Behavior
No spurious warning at startup. The warning should only appear if RmlUI genuinely fails to initialize or is called to render before it is ready in an unexpected context.
Actual Behavior
The warning is emitted unconditionally at startup, even when RmlUI initializes correctly afterwards.
Environment
Additional Context
The root cause is likely an initialization ordering issue — something attempts to render via RmlUI before its startup sequence completes. Fix should either correct the ordering or guard the log message so it only fires in genuinely erroneous situations.
Related Issues