Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.4
2018.4
2019.1
2019.1.2f1
2019.2
2019.3
Issue ID
1155500
Regression
No
Gameobjects added to a Scene via script from an xml file do not make the Scene dirty, do not persist after Scene reload
To reproduce:
1. Open the QA's attached project
2. Open the Sample Scene
3. Select any game object in the hierarchy
4. Navigate Superzaic > Build from metadata
5. Select the .xml file from the Assets folder
Lots of empty gameobjects will be added as children
Expected result: Scene becomes dirty and changes can be saved or reverted
Actual result: Scene does not become dirty, changes are reverted after a Scene reload
Reproduced with: 2017.4.29f1, 2018.4.2f1, 2019.1.6f1, 2019.2.0b5, 2019.3.0a5
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Curve" window workspace doesn't update the scale to match the selected curve preset unless reopened
- StackOverflowException occurs and tests fail to load when the Test Runner window is opened while System.Windows.Forms.dll and System.Deployment.dll are present in the project
- Some UXML Template Asset foldouts appear enabled when all fields inside are disabled
- URP Terrain Demo crash on burst_signal_handler after Generating lighting
- Project window button icons are poorly visible and their shades differ in Light theme
Resolution Note:
In order to mark the scene dirty you need to implement undo or mark the scene dirty manually https://docs.unity3d.com/ScriptReference/SceneManagement.EditorSceneManager.MarkSceneDirty.html