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
- Editor hangs when painting Details containing 2D Mesh on Terrain
- No audio is played when TimelinePlayable has one output
- Scene and Sprite Editor views break when an edge is deleted in an attempt to split geometry
- Specular lighting visible in a camera with Path Tracing when Preserve specular lighting is disabled in observed material
- Cinemachine package throws CS1061 errors in the Console when installed in a project that has HDRP and URP installed
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!