Search Issue Tracker

Fixed

Fixed in 7000.0.0a1

Votes

3

Found in

6000.0.2f1

Issue ID

UUM-72556

Regression

Yes

The Game view freezes and error "InvalidOperationException: Trying to use a texture (_AdditionalLightsShadowmapTexture) that was already released or not yet created" thrown when MSAA and is enabled with Forward rendering path

--

-

How to reproduce:
1. Create a project with URP 3D sample
2. Open the “GardenScene“
3. Open the “Assets>Settings>PC>PC_High_Renderer.asset“ in the Inspector
4. Set rendering path to Forward
5. Enter the Play Mode
6. Open the “Assets>Settings>PC>PC_High.asset“ in the Inspector
7. Set Anti Aliasing (MSAA) to 2x
8. Observe the Game view

Expected result: No errors are thrown and the Game view does not freeze
Actual result: “InvalidOperationException: Trying to use a texture (_AdditionalLightsShadowmapTexture) that was already released or not yet created“ errors thrown and the Game view freezes

Reproducible with: 6000.0.2f1
Not reproducible with: 2021.3.38f1, 2022.3.29f1

Reproducible on: macOS 13.5.2 (Intel), Windows 10 Pro
Not reproducible on: No other environments tested

Notes:
- Setting the rendering path to Deferred (or disabling Depth Priming Mode) fixes the issue
- The issue happens with MSAA set to 2x, 4x and 8x
- The issue happens with the URP 3D Sample
- Downgrading/upgrading the URP 3D Sample project where the issue was not reproducible to a reproducible with version will make the issue not reproduce. The issue is probably in the makings of the sample

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.