Input field is not visible to Main Camera (2d).

I need help. I have created an input field but it is not visible to the Main Camera. It has the same z value of other gameobjects that are visible and I have triple checked that in 3d. Can someone help?

can camera see that layer?
is it worldspace UI?

1 Like

Does the main camera only see gameobjects within its layer, in layers above or layers below it?

camera can see all the layers checked here:
8903001--1218303--upload_2023-3-25_21-17-13.png

can you screenshot your canvas inspector, to see whats there.

1 Like

Thank you for replying! I can only reply with my unity project in 3 hours. I’ll work with you when I can

I’m going to assume that your UI canvas is too close to the camera

1 Like

What do you mean? Isn’t the canvas 2d?

If your game is 3d and your camera is set to world space then the camera can only see what is in front of it by 0.2

Show me your Camera settings

1 Like

My game is in 2d

8903277--1218369--Screenshot 2023-03-25 154716.png

My game is in 2d

8903277--1218369--Screenshot 2023-03-25 154716.png

Nevermind, it was because of the render mode that I set for the canvas.

Thank you all for your help!

1 Like