I am creating a custom HUD within Blueprint. I am using the Draw Material Simple node (see attached image ‘draw material simple snapshot’) to draw my HUD to the screen (note: the attached image shows the incoming Execution wire for the node as not hooked up; this isn’t the issue; I had already disconnected the node when I took the snapshot).
When playing my game in a new Editor Window all the materials I want to draw to the screen are drawn; however, when the game is played in Mobile Preview they are not drawn. I tried using a Draw Texture Simple node instead, and it works perfectly.
Is there some setting I’m missing in the Material (see below) or does Draw Material Simple not work on Mobile for HUDs?
On the bright side, this happens on mobile devices too. So at least we know the mobile preview is accurate. On the other hand it doesn’t work and I’m stuck too so that’s not so great.
Is it rendering anything in the Mobile preview, a default texture, or just nothing is appearing? In either case look into the session’s log file to see if there is anything listed as an error, let me know. I am working on recreating this setup to see if I can get the same error.
When I had tried this, nothing was appearing in the Mobile Preview. I’ve since moved on to drawing Rects in my HUD, at least for prototyping purposes; and I know that works just fine.
I’m having the same issue where in the editor draw rect works and on the mobile draw rect does not work,
found no answer to that in this thread even though it was the first thing that came up on google,
if anyone know how to get draw rect to show up on the phone I’d appreciate the help.