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
- IndexOutOfRangeException occurs when entering "<a></a>" tags in a TextMeshPro UI field
- Numeric property drag cursor gets enabled in the Inspector Preview window when the window is above numeric properties
- UI elements become unusable due to Object and Text Fields being set to empty/"0" when clicking "Reset" on their Components
- Scene Asset is not attached to a Lighting Data Asset for a URP Package Sample Scene
- Gizmos are not rendered for the Base Camera when using Camera Stacking
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