How do I add UI to the AR template?

How do I add UI to the AR template? I added the UI blueprint and still couldn’t see the button.

You need to create the widget and add it to the viewport. You can do this in the level blueprint.

I added the widget to the viewport, but I couldn’t see it when it was executed.

Can you send a screenshot of how you are calling the widget at runtime?

Try adding the widget from your character in begin play -> create widget then add to view port.