Search Issue Tracker
Fixed in 2017.2.X
Votes
0
Found in
5.6.1f1
Issue ID
911871
Regression
Yes
Child script gets disabled if parent gameObject adds Rect Transform component through script
To reproduce:
1. Open attached Unity project "CoroutineTest.zip"
2. Open "Test" scene
3. Go into Play Mode
Expected result: "CoroutineTest" script should output a message to console every 0.2 seconds indefinitely.
Actual result: a message is comes up in the console once and then the script gets disabled.
Regression first introduced in: 5.6.0b8
Not reproduced: 5.5.3p3, 5.6.0a1, 5.6.0b1, 5.6.0b6, 5.6.0b7
Reproduced: 5.6.0b8, 5.6.0f1, 5.6.1p1, 2017.1.0b5
Note: Cannot test on 5.4 because of "GameObject has multiple Transform components! Merged into single one" error.
Note: The bug does not reproduce if Rect Transform component is added manually.
Note: Attached "Expected" and "Actual" gifs.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- ShadowCaster2D breaks on certain Rotation positions when Casting Source is set to PolygonCollider2D
- The options modal for which type of Tilemap to create isn't drawn when it has been previously closed until the user moves their cursor
- There are 2 Overlay Menus present in the Tile Palette Window
- Unable to change the Shadow Map resolution for lights via Inspector when 'preserveCachedShadow' is enabled
- Adaptive Probe Volumes are not loaded when Adaptive Light Probes are exported via Asset Bundles and opened on another project
Add comment