Search Issue Tracker
By Design
Votes
1
Found in
2021.3.32f1
2022.3.12f1
2023.1.19f1
2023.2.0b16
2023.3.0a12
6000.0.0b11
6000.1.0a7
6000.2.0a1
6000.3.0a1
Issue ID
UUM-55606
Regression
No
Unnecessary changes are created in the Scene asset by the Shadow Caster 2D Component which is placed in a Prefab when creating and deleting an empty GameObject and then saving the Scene
How to reproduce:
1. Create a repository with the “ReproProjectGit“ project
2. Open the “ReproProjectGit“ project
3. Open the “SampleScene“
4. Create an empty GameObject
5. Delete that GameObject
6. Save the Scene
7. Observe the changes in the “Assets/Scenes/SampleScene.unity“ asset
8. Commit the “Assets/Scenes/SampleScene.unity“ asset
9. Switch from “SampleScene“ to “New Scene“
10. Switch back to the “SampleScene“
11. Repeat steps 1 through 8
Expected result: No changes occur in the “Assets/Scenes/SampleScene.unity“ asset
Actual result: Different types of changes occur in the “Assets/Scenes/SampleScene.unity“ asset
Reproducible with: 2021.3.32f1, 2022.3.12f1, 2023.1.19f1, 2023.2.0b16, 2023.3.0a12
Reproducible on: macOS 13.5.2 (Intel)
Not reproducible on: No other environment tested
Notes:
- More changes occur in the “Assets/Scenes/SampleScene.unity“ asset when the “ShadowCaster2D” Prefab is nested in another “ShadowCaster2D” Prefab
- If the “ShadowCaster2D” Prefab is the only GameObject in the Scene, the changes seem to eventually work themselves out after several loops through steps 1 through 11
- The problem is not reproducible with a Scene that does not contain the “ShadowCaster2D“ Prefab
- Reproducible with Unity Version Control and GitHub Desktop
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
- Too little validation messages in the "WebAssembly Language Features" Memory settings
- Project Settings Search Highlights are misaligned when using the Bitmap Text Rendering Mode
- "GetControlID at event ValidateCommand returns a controlID different from the one in Layout event" Warning is thrown when undoing the deletion of Sprite Shape Profile
- Memory related fields in the "WebAssembly Language Features" can be set to the negative numbers
- "WebAssembly Language Features" Header in the Player Settings has a smaller indentation
Resolution Note:
The change is being caused by the upgrader. This works as intended.
Resolution Note:
The change is being caused by the upgrader. This works as intended.