Search Issue Tracker
Fixed
Fixed in 2022.2.0f1, 2023.1.0a21
Votes
1
Found in
2022.2.0a13
2022.2.0a15
2023.1.0a1
Issue ID
UUM-1685
Regression
No
Crash when exiting the Play Mode and there's a script attached to a GameObject with "gameObject.hideFlags = HideFlags.DontSave;"
Reproduction steps:
1. Open the attached project
2. Enter the Play Mode
3. Exit the Play Mode
4. Observe the crash
Expected result: the Play Mode should stop
Actual result: Editor crashes
Reproducible with: 2019.4.39f1, 2020.3.35f1, 2021.3.3f1, 2022.1.2f1, 2022.2.0a15
Reproducible on: Windows 10 (21H2)
First few lines of the stack trace:
0x00007FF6CEF2EC84 (Unity) SceneDataContainer::GetSceneData
0x00007FF6CEF2F141 (Unity) SceneDataContainer::HasData
0x00007FF6CEF2D284 (Unity) SceneVisibilityState::AreAllChildrenVisible
0x00007FF6CFAB1326 (Unity) SceneVisibilityState_CUSTOM_AreAllChildrenVisible
0x000001FAE70312EE (Mono JIT Code) (wrapper managed-to-native) UnityEditor.SceneVisibilityState:AreAllChildrenVisible (UnityEngine.GameObject)
0x000001FAE703114B (Mono JIT Code) UnityEditor.SceneVisibilityManager:AreAllDescendantsVisible (UnityEngine.GameObject)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Asset X has no meta file, but it's in an immutable folder. The asset will be ignored.” errors are thrown when importing package with files not listed in package.json's "files" property
- There is no way to adjust the HDR Paper White value of the Unity Editor's interface, making it difficult/uncomfortable for some developers to work on very dark/bright scenes in HDR
- Animator window has a dropdown button that throws “MissingReferenceException” error on a new project when the previous project had a GameObject with an animation
- Animator State name overflows outside the visual box when the State has a long name
- UI Document file remains marked as Dirty after Undoing made changes
Add comment