Search Issue Tracker
Fixed in 2022.3.6f1
Fixed in 2022.3.X, 2023.1.X, 2023.2.X, 2023.3.X, 7000.0.0a1, future release
Votes
4
Found in
2022.2.13f1
2023.1.0b10
2023.2.0a8
2023.3.0a1
Issue ID
UUM-31437
Regression
Yes
Long Prefab save times when using Unity 2022.2 and higher
Reproduction steps:
1. Open the attached project “PrefabSave”
2. Open the Profiler window (Window > Analysis > Profiler)
3. In the Profiler window select Edit Mode
4. Open the “Asset/Prefabs/Level/Maps/Region_Hills” prefab
5. Disable the Auto Save in the Scene view
5. Select any GameObject in the Scene view and move it to a different position
6. Click on the Save button
7. Wait until Unity Editor finishes saving the prefab
8. Stop the Profiler recording
9. Set the Profiler view to Hierarchy
10. Look for a huge performance spike in the Profiler
11. Navigate to EditorLoop > SceneView.MouseUp > GUIUtility.ProcessEvent() > UIElementsUtility.DoDispatch > OnGUI > EditorOnly [Prefabs.SavePrefab] call
Expected result: EditorOnly [Prefabs.SavePrefab] call takes less than 1400 ms for Self time
Actual results: EditorOnly [Prefabs.SavePrefab] call takes more than 66312.73 ms for Self time
Reproducible with: 2022.2.0a7, 2022.2.13f1, 2023.1.0b10, 2023.2.0a8
Not reproducible with: 2021.3.22f1, 2022.2.0a6
Couldn’t test with: 2020.3.46f1 - A pop up window appears saying “Saving Failed”
Reproducible on: macOS 13.1 (Intel)
Comments (1)
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
- MSB3277 conflicts between different versions of "System.Numerics.Vectors" when using DotNet 11.0
- "Cannot create Settings Providers for: CreateAllChildSettingsProviders" error is thrown in the Console after fixing PolySpatial visionOS package validation error after installing XR Interaction Toolkit VisionOS Sample
- "Unable to find style 'VideoClipImporterLabel' in skin 'GameSkin' " warning thrown when converting the Video Clip Inspector to a floating window in Play mode
- Unclear "Failed to start primary listening socket" error when launching the Multiplayer Play Mode second player and many Unity instances are running
- The cogwheel button in the Build History window gets distorted when the Build History window is resized or options are ticked in the toolbar
Zachulon
Apr 07, 2023 05:31
I am a level designer who works in prefabs and it now takes over 5 minutes every time I save. I try to save often so I don't lose work but with the long wait times I have to think twice. Would love to be able to just quickly save my prefab and keep working. Thank you!