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
- ACES Tonemapping causes banding artifacts and negative values in ColorGradingLUT when HDR is enabled and "High Dynamic Range" Grading mode is selected while Android Platform is used
- Android Player freezes when an Audio Source is playing and an incoming call is picked up and then hung up and the Audio Source is started again
- Green success icon is poorly visible in the light Unity theme
- Incorrect input into the Input Field when using Microsoft IME Japanese
- Multiplayer role "ClientAndServer" is displayed without the spaces in the "Play Mode Scenarios" window
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!