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
- Location tooltip in the Viewport of UI Builder window does not update when the UI Document Asset is moved to a different location
- Audio Clip Volume and Avoid Repeating Last fields values cannot be changed in Audio Random Container window
- Setting a variable in the root selector via an imported USS file in a theme does not work
- No character limit when creating a new Scene with excessively long name, Editor can be forced to crash
- URP Decal Projector flickers/glitches when added to Cube or Quad GameObjects as a Component
Add comment