Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Resolved After adding cinemachine and pixel perfect it caused my character to become small and move wrong

Discussion in 'Cinemachine' started by Honeybuzzz, Aug 4, 2023.

  1. Honeybuzzz

    Honeybuzzz

    Joined:
    Nov 27, 2022
    Posts:
    2
    I added cinemachine and pixel perfect camera and after doing so my character became tiny and the game view was smaller, and when I go to move the player, he permanently starts moving in that direction at a very slow and choppy rate and I can no longer control his movements.
    I was also receiving a message about "Rendering at an odd-numbered resolution....". I have tried disabling the pixel perfect camera on the main camera, deleting cinemachine, closing Unity, and changing the aspect ratio and nothing is working, I was following a tutorial since I'm new to Unity but as far as I know I didn't do anything different, please help!
    upload_2023-8-3_17-10-24.png

    upload_2023-8-3_17-11-3.png

    upload_2023-8-3_17-11-38.png

    upload_2023-8-3_17-11-55.png
     
  2. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,768
    You are not using Cinemachine correctly. The correct paradigm is to have:
    • One Main Camera with a Camera component and a CinemachineBrain
    • One or more CinemachineVirtualCameras, which are separate game objects from the main camera, not parented to it. These vcams should NOT have Camera components
    • Target objects for the vcams to track. These are separate gameobjects, not parents or descendants of any camera objects.
    You have multiple Camera components in your scene, which is probably confusing things. Get rid of all of them except the main camera.
     
  3. Honeybuzzz

    Honeybuzzz

    Joined:
    Nov 27, 2022
    Posts:
    2
    This worked, thanks a bunch!
     
    Gregoryl likes this.