Search Issue Tracker
Active
Under Consideration for 2021.3.X, 2022.3.X, 6000.0.X
Votes
1
Found in
2021.3.43f1
2022.3.45f1
6000.0.18f1
Issue ID
UUM-79277
Regression
No
SerializedObject.ApplyModifiedProperties doesn't mark Scene as dirty when called from OnValidate
Reproduction steps:
1. Open the attached “BugRepro” project
2. Open the “Assets/Empty.unity” Scene
3. Open the “Assets/ModifyAuto.unity” Scene
4. Observe the Console window
5. Re-open the “Assets/ModifyAuto.unity” Scene
6. Observe the Console window
Expected result: Nothing gets printed
Actual result: “Applying modified properties!” message is printed
Reproducible with: 2021.3.43f1, 2022.3.45f1, 6000.0.18f1
Reproducible on: Windows 11
Not reproducible on: No other environment tested
Notes:
* If the scene is open and you force the editor to recompile, the changes are recognized and saved as expected
* When the same code is executed via the context menu, the data is correctly saved
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Shader warnings are thrown after building High Definition 3D template
- "EndLayoutGroup: BeginLayoutGroup must be called first" error is thrown when changing Shader Precision Model from the Build Profiles window
- White artifacts/outlines are visible in the Garden Scene when viewing at meshes from a distance
- Shader warnings "Sprite-Unlit-Default" are thrown after building 2D Platrformer Microgame Template
- [Android] HLSL shader becomes corrupted when running on an Android device
Add comment