Search Issue Tracker
Fixed in 2018.3.X
Fixed in 2017.4.X, 2018.2.X
Votes
0
Found in
2018.1.0f2
Issue ID
1036699
Regression
No
Editor crashes when adding a script with a UI component requirement to a parent Gameobject
How to reproduce:
1. Open the scene "NewScene" from my attached project "New Unity Project.zip"
2. Select "Parent" GameObject and from the Assets folder drag a script called "Test2" to its Inspector window
Expected result: There should be a Text component created for the "Parent" GameObject automatically
Actual result: Editor crashes
Reproducible with: 2017.2.2p4, 2017.4.3f1, 2018.1.2f1, 2018.2.0b5
Note: Last stack trace output (Transform::SetParent). Crash doesn't occur with these UI class components: Button, DefaultControls, InputField, Navigation, Selectable. The crash occurs when a script with "[RequireComponent()]" attribute is being added to the parent object in Hierarchy
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [URP][Lighting] The skybox doesn't render after changing the settings of the Material when using the URP Render Pipeline
- Crash on ShaderLab::ShaderState::ApplyShaderState when entering Play Mode and calling ShaderWarmup.WarmupShaderFromCollection with a shader that has dynamic_branch
- Crash on operator delete[] when a serializable structure in the System namespace is serialized by a MonoBehaviour
- [macOS] forward and backward mouse buttons are recognized as middle mouse button
- NavMeshModifier.OnEnable/OnDisable gets progressively slower when called repeatedly
Add comment