Search Issue Tracker
Duplicate
Votes
0
Found in
2017.2.0b3
Issue ID
932311
Regression
Yes
UI objects are invisible in scene after instantiating them through script
How to reproduce:
1. Open attached Unity project "BugExample2"
2. Load "MainScene" scene
3. Enter the play mode
4. Press "Button" button several times
Expected Result: White object in the top left corner clones as much times as button is pressed. This object is visible.
Actual Result: Object clones after pressing this button, but all cloned objects are invisible in the UI. They are visible only in the Canvas-->Parent in Hierarchy window.
Workarounds:
* In the play mode disable and enable Canvas-->Parent object.
* Uncomment lines 12, 13 in the TestScript.cs script.
Regression first introduced in: 2017.2.0a1
Reproducible with: 2017.2.0b3, 2017.2.0a1
Not reproducible with: 2017.1.0f3, 5.6.2p4, 5.5.4p2
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- SystemInfo.get_graphicsDeviceName() is generating garbage GC Alloc when using Metal graphics API
- Crash on D3D12CommonShader::ApplyGpuProgram when attaching material which samples "_UnityFBInput0" to "Full Screen Pass Renderer Feature" Component
- SpeedTree meshes and objects count differs when comparing the numbers in the Player with the Editor
- Model and Prefab Preview icons are not updated after upgrading associated Materials to URP
- Game view is rendered white when viewing the Editor with HDR display and Post Proccesing is enabled on the Main Camera with 2D URP
Add comment