Search Issue Tracker
Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.
Postponed
Votes
0
Found in
2017.4.0f1
2018.3.0a1
2019.1.0a1
2019.2.0a1
2019.2.8f1
2019.3.0a1
2020.1.0a1
Issue ID
1189787
Regression
No
Property reference is not disposed when it is redeclared in a script and the editor is restarted
How to reproduce:
1. Open the sample Scene of the attached project "1189787.zip"
2. Open the TestSerializeField.cs script
3. Comment the 5th line of the TestSerializeField.cs script
4. Go back to the Editor so that the script recompiles
5. Uncomment the 5th line of the TestSerializeField.cs script
6. Go back to the Editor so that the script recompiles
7. Reopen the project
Expected result: Test field of the TestSerializeField component on the Manager GameObject is set to 0
Actual result: Test field of the TestSerializeField component on the Manager GameObject is set to 5
Reproducible with: 2017.4.33f1, 2018.4.11f1, 2019.1.14f1, 2019.2.8f1, 2019.3.0b6, 2020.1.0a8
Notes:
Saving the Scene after step 6 will prevent the issue from happening.
Doing the reproduction steps will not trigger a change in the Scene, therefore another change will have to be done to save the Scene.
The issue is reproducible with other variable types as well.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Test Runner’s vertical scrollbar overlaps with the up and down arrows and upper toolbar tabs when the window is minimized
- The Input Field view is not updated when deleting lines of text
- The scrollbar does not respect empty lines in the Input Field
- “Texture Atlas Viewer“ button text overlaps another button when the UI Toolkit Debugger is narrowed
- Thresholds are no longer automatically calculated after deleting Motion fields in Blendtrees
Add comment