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
- [Android] Performing hardware comparison using "SAMPLE_TEXTURE2D_SHADOW" results in no shadow being rendered when the GameObject is instantiated manually
- Physics.Raycast fails when a Capsule Collider at a default position is used
- [Silicon] Crash on mono_get_hazardous_pointer when disconnecting Bluetooth Headhpones while in Play Mode
- Switching Project when importing complete project does not import all assets and project opens incomplete
- [Linux] Input.mouseScrollDelta is inconsistent when limiting framerate
Resolution Note (fix version 14.0.0):
Fixed in 14.0.0 (2022.2.0a3)