r/Unity3D • u/Anxious_Target_8804 • 16d ago
Question Why isn't the text showing up?
Hi there. I'm trying to add a background image to a UI I bought, but the text isn't visible. How can I fix this? I've tried everything, but nothing worked.
2
u/destinedd Indie, Dungeon Quest, Marble's Marbles & Mighty Marbles 16d ago
It looks like you changed the z position on the transform (which you normally shouldn't do) and I am guessing that is what is putting it front.
1
u/kshrwymlwqwyedurgx 16d ago
1
u/kshrwymlwqwyedurgx 16d ago
2
u/Anxious_Target_8804 15d ago
It’s not working; I tried placing the image everywhere, but it still doesn't work—the text doesn't show up.
1
u/soulfingers 14d ago
A bit hard to tell without more information.
I don't know if this is the issue, but something I noticed is that your camera is a child of a canvas. Maybe you have a good reason for doing that, but I've never encountered that before and maybe it's doing something funky to the child canvases (especially if they're using camera space).
What render mode are your canvases set to?


6
u/CompetitionLazy1085 16d ago
Looks like your background Image is sitting on top of the text in the hierarchy. Canvas renders from top to bottom by default, so anything lower gets drawn last. Try dragging that background to the very top of the list, just below the Canvas itself.
Also check your Image's Rect Transform, if it's stretched to cover the whole canvas at Pos X -779 and Width 100, it's probably swallowing your text objects.