Text not showing on camera

I noticed that when trying to do a simple camera shake script.
If my canvas is set to ScreenSpace - Camera, my canvas move along the camera (which is normal)
If my canvas is set to ScreenSpace - Overlay, I can move my camera and it moves the canvas, but no the text.
I tried everything I could, changing Rect Transform, changing Font Size, changing text mode to Overlay
None of it seems to work.

I’ll link some images explaining what is happening.

Scene View:


(notice the camera position, it’s supposed to move things to the right)

Game View:


(notice how my sprites moved while the Text is fixed to the camera)

What should I do to fix this? I did a lot of searching and trial and error and nothing seemed to work.
I just want the Text to move along with other UI elements on the canvas, so I can shake the camera properly.

Print of both my Canvas and Camera properties:

The fact that my text is not showing on camera:

bump

For me, this settings is working

  1. on Canvas, i changed from Screen Space - Overlay to Screen Space - Camera
  2. on Canvas - Render Camera, I dragged my camera to the blank.
3 Likes