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
- Crash on when D3D12RenderPass::SetupDeviceResources when opening FBX animation preview
- Serialization errors are thrown when "com.unity.render-pipelines.core" is added as a custom package and Graphics window is opened
- Character Joints unexpectedly rotate when a ragdoll is created using the Ragdoll Wizard
- Crash on GfxDeviceD3D11Base::DrawBuffersBatchMode when rendering the Scene view
- The shared EditorBuildSettings.asset file of symlinked projects is not updated when changing the order of the Scenes in Build Settings in one of the projects
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