Search Issue Tracker
By Design
Votes
0
Found in
6000.0.43f1
6000.1.0b11
6000.2.0a7
Issue ID
UUM-100380
Regression
No
"InvalidOperationException: Trying to use a texture (_MainLightShadowmapTexture)..." and other Render Graph errors when MSAA is enabled with Render Graph and Game view tab is active
Reproduction steps:
1. Open the attached “IN-97125.zip” project
2. Open the “Main” Scene (Assets > _Project > Scenes)
3. Make sure the Game view tab is active
4. Observe the Console
Expected result: No errors
Actual result: “Render Graph Execution error” and “InvalidOperationException: Trying to use a texture (_MainLightShadowmapTexture) that was already released or not yet created.” errors
Reproducible with: 6000.0.43f1, 6000.1.0b11, 6000.2.0a7
Couldn’t test with: 2022.3.60f1 (Render Graph not supported)
Reproducible on: Windows 10, Windows 11
Not reproducible on: no other environment tested
Notes:
- Disabling the Anti Aliasing (MSAA) on the “URP-Default.asset” makes the issue not reproduce anymore
- Disabling the “Directional Light” GameObject makes “InvalidOperationException: Trying to use a texture (_InternalGradingLut) that was already released or not yet created.” error appear instead
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
- Code runs slower when using a cached exception instance compared to creating a new one
- Broken UI in Default Preset Add Section of "Preset Manager" window
- [iOS] The Player freezes when closing the Notification Center and quickly swiping down from top
- Crash on Texture2D:SetPixelImpl when rapidly calling Texture2D.Apply()
- Graph Lines are not rendered when using Experimental GraphView or GridBackground
Resolution Note:
This is actually working as designed. You just need to use an unsafe pass instead of a raster pass to be able to use a texture with MSAA with a texture with no MSAA in the same pass :)
You might encounter another issue with imported textures, but a fix for that is in an upcoming version so make sure to update your project to the latest unity!