engine.loadingUIText broken

When you originally set engine.loadingUIText, the text looks like this:

However, this does not currently work with the latest version of babylon.js.

I think this PR is probably the cause.

Here is the PR for reproduction.

I personally don’t mind backwards compatibility being broken,
just want it to be possible to show the loading text again…

I just checked the fix PR.

It’s a feature that I don’t use, but all pg using custom loading screen doesn’t seem to work.
It would be good to check this additionally.

@SimoneDev

Oh, it’s my fault! This PR should fix the bug:

Meantime, as workaround, you can set the engine.loadingUIText before display the loading screen. A repro sample:

1 Like

Thank you for your quick response :slight_smile:

1 Like

Basically is changed the underlying structure to allow the show/hide of the loading screen on multiple canvas.

Here the updated playgrounds from documentation Creating Custom Loading Screens:

  1. [PG] Simple example showing how to create and use a custom loading screen.
    https://playground.babylonjs.com/#5Y2GIC#847

  2. [PG] Example showing how to get a loading rate for multiple assets.
    https://playground.babylonjs.com/#BCU1XR#7895

2 Likes

Here the PR that updates the playgrounds in the documentation:

2 Likes

Here the PR that updates the breaking changes section in the documentation:

1 Like

Thanks for the issue tracking

1 Like