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
- "Problem detected while importing the Prefab file" errors on Learning Templates import
- Crash on RaiseException during Socket.BeginConnect in Player when application connection is blocked through commercial firewall
- [Linux] Silent crash when generating lighting
- Decal Projector produces artifacts when the normal and decal are projected in negative z-direction and Normal Blend is set to 1
- Undoing slider field change only resets slider position, doesn't undo the value change
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