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
- Missing script error when clicking “script” link in Cave scene’s Water Sample Description
- [VFX Graph] Set Position Shape Gizmo isn't refreshed after shaper switch
- NullReferenceException is thrown when trying to access volumeStack from the HDCamera class
- Visual artifacts appear when using an Orthographic camera with a Reflection Probe
- Not all animation properties are accessible when a prefab with an avatar model contains a nested copy of itself with a renamed GameObject
Resolution Note (fix version 14.0.0):
Fixed in 14.0.0 (2022.2.0a3)