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
- Frame Debugger is not disabled when switching Scenes if the Frame Debugger window is not open during the transition
- Standalone Profiler Targets another Project if a Standalone Profiler was launched in it before when switching between Edit or Play Mode Targets
- Crash on ForwardRenderLoopJob when opening a specific project
- [Android] Memory leak and eventual crash on Snapdragon 8 Gen 1+ devices when a Clear Pass is executed after Framebuffer Fetch
- PhysicsRaycaster ray length is incorrect when casting from rotated Camera
Resolution Note (fix version 14.0.0):
Fixed in 14.0.0 (2022.2.0a3)