Subviewport is rendering magenta

Godot Version

4.3 Dev 5

Question

Hello all,

I’ve been experimenting with Subviewports recently and am trying to create a 2D GUI on a 3D Quad.

I have my subviewport as a child of my MeshInstance3D (set to Quad). The subviewport has 3D disabled since it will only be displaying 2D. I’ve created a local to instance material for the Mesh and set the path to my subviewport. Under the viewport is a ColorRect >> Vertical Container >> and a single Button.

Everything seems to render correctly in the Editor, but if I run the scene, the Subviewport is magenta, so I assume the Mesh isn’t finding the texture. If I look at the material under Remote though, it looks correct.

I was wondering if anyone has run into this issue before and had any ideas on some things I could try.

Can you send a screenshot?

Ah sorry, I had tried to add images and was getting a 422 error. Looks like since I’m new I can only upload 1 image per post…

image

In Editor:

Play Mode:

I restarted Godot, and “Local to Scene” was no longer set to On for my material. I turned it back on, saved, and re-ran and it’s fine now.
I closed Godot and re-opened just to verify that my settings were retained, and it seems good.
Really strange. :man_shrugging:t4:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.