Skip to content Skip to sidebar Skip to footer

A-entity Text Only Showing When Created By The Inspector

I've been trying to do something super simple, such as displaying some text. It was working a couple of hours back, but now it its not. This is the exact code:

Solution 1:

Well. It seems that the problem, so far, was loading A-Frame asynchronously:

<scriptsrc="https://aframe.io/releases/0.5.0/aframe.min.js"async></script>

We need to omit the "async" attribute for it to work:

<scriptsrc="https://aframe.io/releases/0.5.0/aframe.min.js"></script>

My theory would be that it is not gracefully upgrading the element after it has been loaded.

I even tried adding the text as a mixin, but it will not work unless A-Frame has been loaded first.

Post a Comment for "A-entity Text Only Showing When Created By The Inspector"