Search Issue Tracker
Fixed
Fixed in 2021.3.20f1, 2022.2.9f1, 2023.1.0b5, 2023.2.0a1
Votes
1
Found in
2021.3.16f1
2022.2.1f1
2023.1.0a26
2023.2.0a1
Issue ID
UUM-22631
Regression
No
[Search] Slowdown spikes when moving an object in the scene caused by the PropertyDatabase.
There are some slowdowns when interacting with the scene view, which are caused by the PropertyDatabase. When something is modified in the scene, the SearchMonitor picks up the modifications and sends an invalidation request to the PropertyDatabase (this request only happens every ~2s). The invalidation ends up invalidating data in the PropertyDatabaseFileStore, and flushing the new data to disk, which creates a lag spike.
To fix the issue, we should not invalidate the data in the file store, but in the memory store, and prevent unnecessary flushes to disk.
Steps to reproduce:
- Create an empty project
- Add a cube to the scene
- Drag the cube around using gizmos for more than 10s
Expected results:
No spikes caused by flushing the data to disk.
Actual results:
Spikes caused by flushing the data to disk.
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
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
- Group Node name text is way smaller in the renaming state than the actual display size
Resolution Note (fix version 2023.2.0a1):
The PropertyDatabase should no longer cause lag spikes when moving objects in the scene view.
Resolution Note (fix version 2023.1.0b5):
The PropertyDatabase should no longer cause lag spikes when moving objects in the scene view.
Resolution Note (fix version 2022.2.9f1):
The PropertyDatabase should no longer cause lag spikes when moving objects in the scene view.
Resolution Note (fix version 2021.3.20f1):
The PropertyDatabase should no longer cause lag spikes when moving objects in the scene view.