Search Issue Tracker
Not Reproducible
Votes
0
Found in
5.0.0b20
Issue ID
665926
Regression
No
[SaveScene] child objects are saved, even though parent is marked as DontSave
If you save scene with method "EditorApplication.SaveScene(string, bool)", objects with "hideFlags.DontSave", still have their childs saved in scene (childs are not marked as "DontSave"). I know it is not really a bug, but I'm sure this can cause unexpected problems. Because I notice that childs are saved not with global transform coordinates, but with local, so in the saved scene they will have their primary position changed.
1. Open scene "Input".
2. Select game object "parent".
3. Click menu item "Test/Mark As DontSave And Save Scene", this method will set "hideFlags.DontSave" then will save the scene "Output".
and finally will mark selected object as "None".
4. Open scene "Output".
5. You should notice that game objects "parent" child is saved.
Reproduced: 5.0.0b21, 5.0.0b20, 5.0.0b10
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Shadows are not visible in Player when using DX12 with Forward+ or Deferred+ rendering in URP
- Rendering Debugger Playmode debug UI scrolling is jittery when using click and drag to scroll
- Frame Debugger Target Selection Search Results window becomes too tiny to even see the default “Editor” selection when there are no search results
- Async method in Play Mode being aborted when calling `new System.Windows.Forms.Form`
- Animator window Eye button on click visual does not cover the whole area of the button when clicked
Add comment