Camera for UI

Hello,
I got camera setted up for 1 layer mask >> “InGameUI” and the problem i got is i can’t see my in game ui (with is simple nick/ hp bar) till i change something in inspector like ortographic size for another number and than back to old number or projection type to perspective and back to ortographic and if i change it via script and coroutine after 1 second it doesn’t fix my problem - cannot see those in game ui’s. What am i doing wrong?

Are you set layer mask in canvas?

Yes i did.

Did you use multicamera? (One to render 3D and one to render UI)

It’s first time when i’m using another camera to render UI.

Ok i fixed. Just had to add my camera to MainCamera Stack.

1 Like

It’s was the solution I will suggest.

Great! :wink: