Search Issue Tracker
By Design
Votes
0
Found in
2017.4.0f1
2018.4.0f1
2019.1.0a1
2019.1.3f1
2019.2.0a1
2019.3.0a1
Issue ID
1169082
Regression
No
Transform.SetParent throws exception when called from Event with no input parameter
How to reproduce:
1. Open attached "project-1169082.zip" project
2. Enter Play mode
3. In Game window press "Clear Parent with Event" button
Expected result: Event unparents "Cube (Child)" GameObject
Actual result: "Cube (Child)" GameObject is not unparented, an exception is thrown
Reproducible with: 2017.4.30f1, 2018.4.4f1, 2019.1.10f1, 2019.2.0b9, 2019.3.0a9
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- NullReferenceException when setting 'isTextObjectScaleStatic' to false on a disabled TextMeshPro GameObject
- Shader Stripping Custom Options disappear when exiting Play mode without reloading Domain
- Decals do not get projected when 'Rendering Layer Mask' on a GameObject is 23rd Layer or above due to encoding/decoding issues
- Deriving from SearchContextAttribute doesn't always work
- Scripting API documentation is missing for macOS editor extensions
Resolution Note (2019.3.X):
Builds have fewer error checks then the editor. This is by design. Also never worked in 18.x in the editor from all the versions i've tested with.