Search Issue Tracker
Won't Fix
Votes
1
Found in
5.4.4f1
Issue ID
868994
Regression
No
Nested canvas is flickering when it has a moving child and an off-screen sibling Image
Reproduction steps:
1- Open the reproduction project (868994_reproduction.zip).
2- Build and run for standalone.
3- Observe all children of the nested canvas are flickering.
Reproducible on: 5.6.0b3, 5.5.0p3, 5.4.3f1, 5.3.3f1.
Platforms:
1- Reproduced on Windows Standalone, macOS Standalone.
2- Not reproducible in Editor.
Details:
1- Parent canvas' render mode should be either "Screen Space - Camera" or "World Space". Camera should be attached as well.
2- Off-screen image should be above the nested canvas in hierarchy.
3- Nested canvas should not have any visible sibling images.
4- Enabling "Override Sorting" in nested prefab stops flickering.
5- Deactivating or making visible the off-screen image, stops flickering.
6- Nested canvas should have at least one child game object with a Transform/RectTransform component, a script to move it and a Canvas Renderer. UI Image is used in the reproduction project but Image component's itself is not necessary at all.
7- Instead of step 6, moving script can be attached directly to the nested prefab. Child is only necessary for observing in such case.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on ShaderLab::ShaderState::ApplyShaderState when entering Play Mode and calling ShaderWarmup.WarmupShaderFromCollection with a shader that has dynamic_branch
- Crash on operator delete[] when a serializable structure in the System namespace is serialized by a MonoBehaviour
- [macOS] forward and backward mouse buttons are recognized as middle mouse button
- NavMeshModifier.OnEnable/OnDisable gets progressively slower when called repeatedly
- "System.Net.CookieContainer" throws an "ArgumentException" error when using a non-UTF-8 machine locale and hostname
Add comment