Is there a way to make a HUD without a CanvasLayer?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Diet Estus

I currently have all my HUD elements in a CanvasLayer so that they sit unmoving in front of my level scene.

The problem is that I have a minimap that uses a Viewport and there is currently a bug where Viewports don’t work properly when they are descendants of CanvasLayers.

As such, I am wondering if there’s another way to display my HUD elements that doesn’t involve a CanvasLayer?

At least until the bug gets fixed in 3.1.

if you can make a sample project to reproduce that bug, report it as an issue on github.
or post a link to download here.
I or someone might take a look.

volzhs | 2018-07-26 05:36

Thanks for the response. I believe the bug has already been reported on github. I linked it in my question.

Diet Estus | 2018-07-26 05:50