Search Issue Tracker
By Design
Votes
1
Found in
5.2.0f2
Issue ID
724413
Regression
No
Skybox overwrites object that has transparent shader with ZWrite off
Repro steps:
1. Open Scene.unity
2. Notice in the game view that the sphere doesn't render, but properly renders in the Scene view
3. Select the Main Camera
4. Switch from Skybox to Solid Color and notice the sphere renders
Comments (1)
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
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- Crash with “Fatal Error! The file ‘MemoryStream’ is corrupted!” when adding a large number in Font Character Rects Size field
Laxer
Aug 09, 2017 00:10
This issue is there since Unity 5... will this ever be fixed?
For those who need a workaround:
Set 'clear flags' of your camera to "don't clear".
Duplicate your camera. Set 'clear flags' of the new camera to "skybox".
Set depth of the new camera to (depth of old camera -1).
Set 'Culling mask' of the new camera to "nothing".
This makes the new camera render the skybox before the other camera renders the scene. The new camera always has to have the same direction and FOV as the other one.