STUDIO: Ui Display Issues

We’re having some issues with ui objects and text not showing in STUDIO. This is a new issue that is heavily blocking us. Weirdly enough this is also affecting our staged build which was not having issues previously and has not been recently updated.

With Live Sync on:

  • No text display, at all.

With Live Sync Off:

  • Some objects show text, others dont.
  • It seems almost guaranteed with the ‘Nunito’ font, and random with other fonts.

Tapping (previously working) an object that has a “missing” text reports this error:

Uncaught TypeError: Cannot read properties of undefined (reading 'side')
    at (anonymous) runtime.js
    at At runtime.js
    at $i._computeIntersections runtime.js
    at $i.raycast runtime.js
    at br runtime.js
    at br runtime.js
    at br runtime.js
    at br runtime.js
    at br runtime.js
    at br runtime.js

This issue affects objects that are initially in the scene as well as objects that are spawned at runtime. All ui elements are 3D, and not overlay.

We’ve tried Chrome, Edge, and various mobile devices.

Any help would be greatly appreciated as this is blocking our development.

Edit: I’ve also cleared my changes and fully reverted to the previous build. This commit was working this morning with no issues.

Can you reproduce this issue in another project? Are you using any custom components? Also a video would also be very helpful to determine if this needs to be escalated to the engineering team.

I’ve just tested this and can confirm that it happens in other projects - although perhaps not as bad because there are significantly less elements at play.

Here is a video of the issue:

The first part is in a clone of the world tracking project. Without Live Sync the text displays correctly, turning it on causes it to fail the display - changing the font causes it to reveal/show.

The second part is our project, its only showing with Live Sync on and the result is the same as the above scenario.

If we run it with Live Sync off, then the initial elements show, and even some spawned elements, and when we go into the game then subsequent elements do not show. Tapping any of the “missing” ui elements causes that error I mentioned above to occur.

I’ve just seen another issue on the forums which looks to be of the same nature / bug

You can see the same error in their replies.

Hi Sabrina,

I’m looking into this now.

I’m seeing a similar issue in my project, where after loading I also get an error about ‘side’ after clicking my 3D button.
I’ve found a workaround when testing in the editor, which is to change the Font Size during the simulation, and the button then works as expected.