Search Issue Tracker
By Design
Votes
0
Found in
2017.1.0f3
Issue ID
946985
Regression
No
Child object's components are disabled when OnDestroy parent is set to null
Reproduction steps:
1. Download project "ParentTest.zip" and open in Unity
2. Enter Play mode
Expected: object "Cube" rotates and all of its components stay enabled if enabled before
Actual: some of "Cube" object's components are disabled
Reproduced on: 5.5.4p4; 5.6.3p2; 2017.1.1f1; 2017.2.0b10; 2017.3.0a7
Note: "Cube" has a parent object when the parent object is deleted (OnDelete is triggered and "Cube" property parent is set to null), some of the components of the "Cube" are disabled;
Components which do not become disabled - Mesh, Physics, Miscellaneous (Billboard Renderer, Sprite Mask), Analytics.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment