There are 2 different Pixel Perfect Camera components. One in 2d Pixel Perfect package which is compatible with the built-in renderer, and the second is URP Pixel Perfect Camera which is only compatible with the URP 2D renderer. The error occurs when you have the URP package installed but trying to use the camera from the 2d Pixel Perfect package.
You can either:
Go to Package Manager and remove the URP package and continue using the Pixel Perfect Camera from the 2d Pixel Perfect package as you did before.
Or if you require URP features:
Upgrade 2d Pixel Perfect package to 5.0.2 and URP package to 14.0.0 or later. We have added a converter which converts 2d Pixel Perfect Camera → URP Pixel Perfect Camera for you.
Hi @ThefireKS , URP 14.0.0 or later is available on Unity version 2022.2 releases. If you want to upgrade over to the URP Pixel Perfect Camera, you will have to use a 2022.2 Unity version.
Hi there,
I have Unity 2022.2.12, URP 14.0.6, 2D Pixel Perfect 5.0.3, but I do not see any option to upgrade the camera for URP. I’ve searched components and scripts, but no such converter exists as far as I can tell.
@SmirkinMerkin@odoluca
You will need to use the 2D URP Renderer before the converter shows up. If you don’t have a URP Asset set up in Project Settings, it means the project is still defaulted to use built-in.
You will need to:
Create a URP Asset with 2D Renderer (Create->Rendering->URP Asset (with 2D Renderer))