- Home /
2D Orthographic Main Camera and UI
Hi, there is a problem when I change orthographic size of Main Camera to 7 and higher my UI disappearing (buttons, panels and stuff like score and health bar). Render mode of UI is "Screen Camera - Main Camera". When size is 5 or 6 everything is fine.
Have you tried pausing, then double-clicking the missing UI elements (in the scene hierarchy) to see where they went? It sounds like you either need to attach those elements to suitable anchor points or else remove them from unsuitable ones.
Have you tried messing with the "Clipping Panes" values? Had an issue one time where my UI was intersecting with the play field (angled camera) and adjusting those values fixed it.
Can you post a screenshot of your camera prefab/gameObject with the camera settings?
Your answer
Follow this Question
Related Questions
Canvas Screen Space Issue 1 Answer
Unity 2D not rendering images in Canvas 1 Answer
2D Camera and Buttons UI for Local Player 0 Answers