Search Issue Tracker
Won't Fix
Votes
1
Found in
2018.4
2019.4
2019.4.0f1
2020.3
2021.1
2021.2
Issue ID
1335139
Regression
No
Setting the Camera.targetTexture through a script will cause the depth buffer to start clearing between camera renders
How to reproduce:
1. Open the attached project "UnityBugDepthClear.zip"
2. Open SampleScene
3. Click Play
4. Click Space
Expected result: You can still see the smaller sphere in front of the big sphere
Actual result: The big sphere is rendered in front of the smaller sphere
Reproducible with: 2018.4.34f1, 2019.4.26f1, 2020.3.8f1, 2021.1.7f1, 2021.2.0a17
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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Resolution Note:
We are not making changes to this portion of the built in renderer as it gives a large chance of regressing user projects that expect the current behaviour.