Why can't change the Pixel Perfect Camera to Orthographic?

When I add the PPC, it defaults to Perspective and the Projection block is locked. An info note says the following: “Projection settings have been overridden by Pixel
Perfect Camera.”
The problem with this is that now the camera also takes the Z axis into account, which I don’t want since it’s a pure 2D game. Is it possible that I am missing something?

2022.3.5.f1 / Win11 / DX11

9238272--1290828--upload_2023-8-21_16-2-26.png

By default the pixel perfect camera is using Orthographic but for some reason in your case it was set to perspective.

Follow this step to change your projection to orthographic

Step 1 - In the Pixel Perfect Camera Inspector

Step 2 - Remove Pixel Perfect Camera Component

Step 3 - Change the camera projection to orthographic
9239904--1291245--upload_2023-8-22_11-44-47.png

Step 4 - Add the Pixel Perfect Camera Component
9239904--1291248--upload_2023-8-22_11-46-12.png

Now your Pixel Perfect Camera should be using orthographic projection

Hope this is helping

In Unity 2022.3.10f1 LTS, in a brand new 2D URP project created from Unity Hub, every time you use the GameObject > 2D Object > Pixel Perfect Camera (URP) menu option it will create a cursed GameObject that has a pixel perfect camera component and a Unity camera that is locked in perspective projection and cannot be changed.

1 Like

For future users comming here:
No need to remove your pixel perfect cam, just
1- un-tick it
2- change cam projections params
3- re-tick the Pixel Perfect Camera

Thank you. I was having the same issue in my project. Creating a new Pixel Perfect Camera comes in as perspective by default. 2022.3.22f1