# Camera problem (438009)

**URL:** https://discussions.unity.com/t/camera-problem-438009/438009
**Category:** Camera
**Tags:** Scripting
**Created:** [February 28, 2011, 2:24am UTC](https://discussions.unity.com/t/camera-problem-438009/438009 "2011-02-28T02:24:52Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![anon20000101](https://avatars.discourse-cdn.com/v4/letter/a/dbc845/32.png) [@anon20000101](https://discussions.unity.com/u/anon20000101)
#### Post date: [February 28, 2011, 2:24am UTC](https://discussions.unity.com/t/camera-problem-438009/438009/1 "2011-02-28T02:24:52Z")

</div>

My game looks fine when it is played at the resolution 966 X 644, but when it is played at any other resolution once the game is published (or even when I change the size of the “Game” view in the unity scene editor) the screen gets distorted. The camera’s viewing angle and height are messed up, GUI elements are displaced, etc. How can I make this not happen?

---

<div class="post-metadata">

### Author: ![TheRaider](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/theraider/32/268520_2.png) [@TheRaider](https://discussions.unity.com/u/TheRaider)
#### Post date: [February 28, 2011, 9:36am UTC](https://discussions.unity.com/t/camera-problem-438009/438009/2 "2011-02-28T09:36:32Z")

</div>

use relative instead of absolute values for GUI elements.

---

<div class="post-metadata">

### Author: ![anon20000101](https://avatars.discourse-cdn.com/v4/letter/a/dbc845/32.png) [@anon20000101](https://discussions.unity.com/u/anon20000101)
#### Post date: [February 28, 2011, 3:56pm UTC](https://discussions.unity.com/t/camera-problem-438009/438009/3 "2011-02-28T15:56:28Z")

</div>

Okay. What about the camera? There are blue and gray spaces around the screen at a different resolution, how can I have a gameobject always fill the screen.
