Steps to reproduce:
- Create and open a new 2D URP project
- Install the Cinemachine package in Window -> Package Management -> Package Manager
- Create a Cinemachine Camera
- Add the "CinemachinePixelPerfect" extension in the Inspector
- Delete the Cinemachine Camera
- Observe the Console
Actual results: A "MissingReferenceException: The object of type 'Unity.Cinemachine.CinemachinePixelPerfect' has been destroyed but you are still trying to access it." error is thrown
Expected results: Nothing is thrown
Reproducible with versions: 3.1.5 (6000.4.0a5), 3.1.6 (6000.6.0a5)
Not reproducible with versions: 3.1.4 (6000.4.0a5)
Tested on (OS): Windows 11 Pro (25H2)
Notes:
- Reproducible with any Cinemachine-based Camera