Search Issue Tracker
Fixed
Votes
1
Found in
2022.3.17f1
Issue ID
UUM-60058
Regression
No
"RenderTexture.Create failed: Texture is 2D but depth is set to a non-default value" error is thrown regardless of what depth value is set to
Reproduction steps:
1. Open the attached “Repro“ project
2. Open the “Assets/Scenes/DebugXR.unity“ Scene
3. Enter/Exit the Play Mode
4. Observe the Console
Expected result: “RenderTexture.Create failed: Texture is 2D but depth is set to a non-default value” is logged
Actual result: No errors in the Console are logged
Reproducible with: 2022.3.17f1
Reproducible on: M1 MacOS 14.2
Not reproducible on: No other environment tested
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
- Profiler - Taking you to the wrong section when using 'show'
- Draw Renderers custom pass doesn't work with SSGI
- WebCamTexture does not set the requested resolution when used in WebGL
- Editor default Stylesheet/Matching Selector buttons in Debugger don't do anything
- Graphics.DrawMeshNow stops rendering Render Texture after a few frames when viewed in the Player
Resolution Note:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-60005