Search Issue Tracker
Won't Fix
Votes
1
Found in
2018.1.0f2
Issue ID
1048133
Regression
No
EditorWindow loses references to Script components of Scene Objects when entering Play mode
Reproduction steps:
1. Open the attached "EditorWindow Reference Bug.zip";
2. Open the SampleScene;
3. In the upper Menu go to Test -> My Window;
4. Add two new slots in the window;
5. Drag the Camera component to one slot from the Main Camera;
6. Drag the Script object to the second slot from the Main Camera object;
7. Enter a play mode;
Expected results: After entering a play mode, both components should stay in the slots.
Actual results: Script components always loose reference.
Reproduced on: 2017.3.2f1, 2017.4.5f1, 2018.1.5f1, 2018.2.0b9, 2018.3.0a2.
Not reproduced on 2017.1 and 2017.2 as there was possible to attach only scene components, not object components.
Note: If the Editor Window script is modified, Unity reloads assemblies and the script component is shown again.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
Add comment