Search Issue Tracker
By Design
Votes
0
Found in
5.4.1f1
Issue ID
842097
Regression
No
DiscardContents() doesn't discard 3D RenderTexture
Steps to reproduce:
1. Open attached project
2. Open scene "DefaultScene" and run it
3. Notice that RT isn't cleared
Additional steps:
4. Open script "Clear3dRenderTexture"
5. Change renderTexture.dimension to Tex2D or Tex2dArray
6. Run scene and notice that this time RT is discarded
Reproduced with: 5.4.1p1, 5.4.2f1, 5.5.0b8
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- SpeedTree does not move when using WindZone
- "Undeclared identifier 'LinearToSRGB'" error is thrown when creating a color variable with HDR color mode and assigning a Custom Render Texture target in Shader Graph
- Input System package is missing when creating a new HDRP project
- Inconsistent behaviour when interacting with different dropdown types with pointer events on parent Visual Element
- Hidden GameObjects won't re-enable when they have call "DontDestroyOnLoad" function
Add comment