Search Issue Tracker

Fixed

Fixed in 2.10.4, 3.1.4

Votes

0

Found in [Package]

2.10.3

3.1.3

Issue ID

CMCL-1661

Regression

No

NullReferenceException errors occur when a camera has "Cinemachine Brain" and "Post-process Layer" components and the "Post-process Layer" component is disabled

Package: Cinemachine

-

Reproduction steps:
1. Open the attached "IN-97252" project
2. Open the “Scene Cube” Scene
3. Select the “Main Camera” GameObject
4. In the Inspector window enable the “Post-process Layer” component
5. Enter Play mode
6. Exit Play mode
7. In the Inspector window disable the “Post-process Layer” component
8. Enter Play mode
9. Observe the Console window

Expected result: No errors appear in the Console
Actual result: 2 “NullReferenceException” errors appear in the Console

Reproducible with: 2.10.3(2022.1.0a1, 2022.3.60f1, 6000.0.44f1, 6000.1.0b12, 6000.2.0a7), 3.1.3(2022.1.0a1, 2022.3.60f1, 6000.0.44f1, 6000.1.0b12, 6000.2.0a7)

Reproducible on: Windows 11, macOS 15.3.1 (Sequoia) - user’s
Not reproducible on: No other environments tested

Add comment

Log in to post comment