Search Issue Tracker

Fixed in 2020.1.X

Fixed in 2019.3.X

Votes

0

Found in

2019.1.0a10

2019.2

2019.2.10f1

2019.3

2020.1

Issue ID

1194186

Regression

Yes

NullReferenceException when having Camera with RenderTexture output selected and interacting with Scene View while in Play Mode

Graphics - General

-

How to reproduce:
1. Create a new URP project
2. Create a new Render Texture
3. Assign the Render Texture to a Camera GameObject
4. Enter Play Mode
5. Select the Camera GameObject
6. Attempt to right-click/middle mouse click-drag in the Scene View

Expected result: no errors are thrown
Actual result: NullReferenceExceptions are thrown

Reproducible with: 2019.1.0a10, 2019.1.14f1, 2019.2.12f1, 2019.3.0b10, 2020.1.0a12
Not reproducible with: 2018.4.12f1, 2019.1.0a9
Could not test with: 2017.4.33f1(Render Pipeline packages unavailable)

Reproducible with package versions: 5.0.0, 7.1.2
Could not test with package versions: 4.10.0(Incomaptible with the 'Not reproducible' versions of Unity)

Notes:
Reproducible with URP/HDRP
Does not reproduce with the default Rendering Pipeline
Does not reproduce when the Camera GameObject is not selected

  1. Resolution Note (fix version 2020.1):

    Fixed in 2020.1.0a21

  2. Resolution Note (fix version 2019.3):

    Fixed in 2019.3.3f1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.