Search Issue Tracker
Fixed
Fixed in 2021.3.31f1, 2022.3.11f1, 2023.1.14f1, 2023.2.0b10, 2023.3.0a3
Votes
0
Found in
2021.3.29f1
2022.3.6f1
2023.1.5f1
2023.2.0b2
2023.3.0a1
Issue ID
UUM-44466
Regression
No
Dragging a file to the root Assets directory of a project causes large allocations and a long hang which can lead to a OOM crash
Steps to reproduce:
1. Open the attached user's project "EmptyDirectoryProject.zip"
2. Locate "NewUnlitShader" under "Assets/prefabs/effects/bloodNew/shaders/NewUnlitShader.shader"
3. Drag the file to the Assets project root directory in the Project Windows
4. Observe the hang that will either persist or lead to a OOM crash
Expected results: The file instantly moves, no/limited allocation overhead
Actual results: Large allocations and long hangs occur or OOM crash occurs
Reproducible in: 2021.3.28f1, 2022.3.6f1, 2023.1.5f1, 2023.2.0b2, 2023.3.0a1
Environment tested on: Windows 10
Notes:
-Customer suspects it's due to DragAndDropForwarding::AddItemsFromTargetPath iterating over every file in the project when a file is dropped in the root directory
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
- Errors in the Console when creating a new "2D Platformer Microgame" template project
- Prefab Override popup displays on wrong monitor when Inspector width is resized to minimum
- Scroll View is not moving by inertia after scrolling by click and dragging when Editor window is minimized and Canvas "Render Mode" is set to "World Space"
- "type mismatch error" occurs when the currentDirectionWS output of a Sample Water Surface node is connected to a float3 input
- URP Material Upgrade utility does not enable Alpha Clipping when material had Rendering Mode set to Cutout
Resolution Note (fix version 2023.3.0a3):
Improved DragAndDropForwarding to use significantly less memory and to be faster, particularly on very big projects. The file move now occurs close to instantly on the provided project.