Search Issue Tracker

Fixed in 14.0.0

Fix In Review for 13.x

Votes

1

Found in [Package]

13.1.5

Issue ID

1389780

Regression

No

[URP] 2D Renderer SetRenderTarget function throws exception after upgrading project from 2021.1 to 2022.1

Package: Scriptable Render Pipeline Universal

-

How to reproduce:
1. Open the user's attached "UnityProject" project
2. Open the "GameSession" Scene

Expected result: The Scene is loaded without any error
Actual result: NullReferenceException is thrown in the UnityEngine.Rendering.CoreUtils.SetRenderTarget function

Reproducible with: 13.1.2 - 13.1.5 (2022.1.0b5, 2022.2.0a2)
Couldn't test with: 7.7.1 (2019.4.35f1), 10.8.1 (2020.3.27f1) (the project crashes when opening it), 12.1.4 (2021.2.9f1) (user script errors)

Note:
- Not reproducible with a new Universal RP project upgrading from 2021.1 to 2022.1
- Reinstalling the Package and deleting the Library folder doesn't fix the issue

  1. Resolution Note (fix version 14.0.0):

    Fixed in 14.0.0 (2022.2.0a3)

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.