Search Issue Tracker
Not Reproducible
Votes
1
Found in
2017.3.0b11
Issue ID
973900
Regression
No
Unwanted scene dependency can be created when removing script from game object
Steps to reproduce:
1. Create new project
2. Create Cube prefab and script with public Object Test variable
3. Add script to a cube prefab (in Project window)
4. Create and set Sphere prefab as Test variable (in Hierarchy)
5. Save scene
6. Check scene dependencies left mouse button -> select Dependencies (2 objects 1 script 1 scene)
7. Remove from Cube script (in Hierarchy)
8. Save scene
9. Check dependencies (2 objects 1 script 1 scene)
10. Check cube prefab in the Project window. There isn't sphere object set as test variable. So it shouldn't be linked it as depended.
Expected results: 1 Cube prefab, 1 script and 1 scene is linked as depended
Actual results: 1 Cube prefab 1 sphere prefab, 1 script and 1 scene is linked as depended
Note: Reverting prefab unlikns Sphere from the scene
Reproduced with: 2018.1.0a7, 2017.3.0f1, 2017.2.0p4, 2017.1.2p3, 5.6.4p2
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
Add comment