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
- Shader Graph Asset icon is not shown on creation unless you confirm the name
- APV Sky occlusion doesn't consider the terrain
- [iOS] "EXC_BAD_ACCESS" Player crash when Script Debugging is enabled
- Cursor skips input fields when tabbing between two sets of input fields
- "Shader error redefinition of 'Varyings'" error appears when selecting the shader
Add comment