Does not work on Standalone, Works on Editor.

Here are the pictures of the code for “looking at the item” widget.

Pic1.png

And here is where I get the text. This is the part that is not working. But I dont understand why this is working in editor but not in standalone.

I was thinking of a alternative way of setting the text. If I make the text in the widget a variable then using the “Set text”. So maybe I can do it like this? will that work and what is the difference between these two ways of setting the text.