FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[BUG] Spurious RmlUI "not ready to render" warning at startup · Issue #490 · EngineSquared/EngineSquared · GitHub

[BUG] Spurious RmlUI "not ready to render" warning at startup #490

Description

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

  1. Add the RmlUI plugin to an EngineSquared project: core.AddPlugins<..., RmlUI::Plugin>().
  2. Run the application.
  3. 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

  • N/A

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


Back | FazBrowse Home | New Git URL