Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Feedback Screen Space Camera makes UI objects jitter when camera follows player

Discussion in 'Immediate Mode GUI (IMGUI)' started by unity_0FD83E1DDCA71ABEF61C, Mar 1, 2023.

  1. unity_0FD83E1DDCA71ABEF61C

    unity_0FD83E1DDCA71ABEF61C

    Joined:
    Nov 8, 2021
    Posts:
    19
    I want to handle multiple resolutions in game, I have resolution settings so player can chose one, and then main camera has component Pixel Perfect Camera with reference resolution 320x180 with crop frame x and y. So when I change resolution all canvases are getting smaller and game screen too. This is why I use screen space camera with reference resolutions 480x270. Do I handle this resolutions settings in wrong way? What should I do now. If I change UI canvas to screen space overlay bug does not appear indeed but this canvas also do not fits resolution size later when I change settings in game.
     
  2. unity_0FD83E1DDCA71ABEF61C

    unity_0FD83E1DDCA71ABEF61C

    Joined:
    Nov 8, 2021
    Posts:
    19
    I noticed problem is with pixel perfect component on camera, when I delete it then bug does not appear, but I need this component.