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
- [Linux] Top left corner of the screen is unresponsive when the Editor recompiles
- [Android] [Vulkan] Cubes stuck on the first few frames of rotation and application flickering when an Overlay Camera is added to the Camera Stack with MSAA enabled
- Profiling information icon does not update for Light Mode
- [Linux] Type to select functionality is missing for drop down menus
- TextMeshPro calculates Width Compression incorrectly when using certain values in the WD% field
Add comment