Search Issue Tracker
Won't Fix
Votes
0
Found in
2019.1.0b4
2019.1.5f1
2019.2.0a1
2019.3.0a1
Issue ID
1168562
Regression
Yes
Crashes on Transform::GetLocalPosition when opening a Scene with a Prefab that has editor script attached to it
How to reproduce:
1. Open attached project
2. Open EditorTest Scene
Reproducible with: 2019.1.0b4, 2019.1.12f1, 2019.2.0a14, 2019.3.0a1, 2019.3.0a11
Not reproducible with: 2017.4.30f1, 2018.4.5f1, 2019.2.0a15, 2019.2.0b10, 2019.1.0b3
Note: Editor script initialization is done in awake method
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
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- The layout system is failing to correctly calculate or apply the height of the Japanese fallback font when the primary English font's metrics are used
Resolution Note (2019.3.X):
LevelEditorObject.OnValidate calls Init which accesses a lot more than the objects own properties and this is not allowed as it can get object that are not yet awake.
In this case its finds Transforms in the scene but before the scene is awoken causing the Editor to crash.
Unfortunately there is no way for us to prevent users from doing this and also we can't prevent the editor from crashing in this case.