Search Issue Tracker
Fixed in 2022.2.X
Votes
0
Found in
2020.3
2020.3.17f1
2021.1
2021.2
2022.1
Issue ID
1364460
Regression
No
[DX11] Water reflections disappear when a GameObject with Default-Material is no longer in the Scene
How to reproduce:
1. Open the attached project (MaterialReflectionTest.zip)
2. Open scene Assets/Scenes/WorldGeneration
3. Press the Play button
4. In the Game view, navigate to where a water reflection of a GameObject is visible (controlled by WASD keys)
5. In the Hierarchy window, select the GameObject "BuggedCube"
6. Disable the GameObject "BuggedCube", or change its layer to "NotRendered", or change its Material from "Default-Material" to any other Material (in the Inspector window)
7. Observe the water reflections in the Game view
Expected result: the water reflections stay the same
Actual result: GameObjects are no longer reflected in the water
Reproducible with: 2020.3.19f1, 2021.1.22f1, 2021.2.0b12, 2022.1.0a9
Could not test with: 2019.4.30f1 (cannot resolve errors after downgrading the project: "Failed to load [files]. File may be corrupted or was serialized with a newer version of Unity.")
Notes:
1. The issue is reproducible on Windows
2. The issue is not reproducible on Mac, but the project loads with broken materials
3. On Windows, a shader error is thrown when opening the project (ErrorScreenshot.png)
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
- Objects with Universal Render Pipeline/Particles/Lit shader are always lit up when changing their Rendering Layer Mask
- PolySpatial “Trying to set shader on a Material Variant.” error is printed in the console when entering Play Mode
- Error “Shader error in 'YSCloudCover': call to 'tex3D' is ambiguous at Assets/YSCloudCoverText.shader(606) (on d3d11)“ is present when compiling tex3D shader with DXC
- Placeholder asset is not loaded with Advertisement Legacy sample when using the latest version of the package
- Addressables content build fails but the Player build is successful when building a development build
Resolution Note (fix version 2022.2):
Fixed in 2022.2.0a13