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
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
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Shader Graph Asset icon is not shown on creation unless you confirm the name
- APV Sky occlusion doesn't consider the terrain
- [iOS] "EXC_BAD_ACCESS" Player crash when Script Debugging is enabled
- Cursor skips input fields when tabbing between two sets of input fields
- "Shader error redefinition of 'Varyings'" error appears when selecting the shader
Resolution Note (fix version 14.0.0):
Fixed in 14.0.0 (2022.2.0a3)