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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Add comment