Search Issue Tracker
Not Reproducible
Votes
1
Found in
5.4.1f1
Issue ID
834383
Regression
Yes
transform.SetParent() causes Image objects not to render
How to reproduce:
1. Open the attached project "834383SetParent.zip"
2. Open test scene
3. Under Canvas is working and failing objects, enable working
4. Play the scene
5. Notice that Image appears and stays visible
6. Disable working and enable failing
7. Play the scene
8. Image is randomly not rendered
Actual result: image is randomly visible while using
var obj = Instantiate(prefab);
obj.transform.SetParent(someParent, false);
Expected result: Image is always visible just like when using Instantiate(prefab, someParent, false);
Not reproducible: 5.3.6p6
Reproducible: 5.4.1p3, 5.5.0b5
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- The cursor moves into wrong place when renaming folder/asset
- Assertion error "(dx - width < padding) || (dy - height < padding)" when using Pack Preview
- [Memory Profiler] The EntryType.NativeAllocationSites_MemoryLabelIndex of snapshots only reports -1 or 0 instead of the MemLabel used for allocations made from any call site.
- [Vulkan] Artifacts appear in the Player when using Screen Space shadows with orthographic camera
- Errors OnGUIDepth changed & GUIUtility:ProcessEvent when opening Textures with Third Party App
Add comment