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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment