Search Issue Tracker
Fixed in 2017.2.X
Votes
0
Found in
5.6.0f3
Issue ID
910294
Regression
Yes
FileUtil.CopyFileOrDirectory deletes the Assets directory if "to" parameter is null
To reproduce:
1. Open the project, attached by user (test.zip)
2. Open "test" scene if not open
3. In the top menu select Tools -> FileTest
4. After a pop up appears, press Cancel
5. In the Project browser, right click on empty space and press Refresh
6. Observe how assets disappear
Expected: pressing cancel in a pop-up does not remove all the assets in the Assets folder
Actual: all the assets are removed from the Assets folder if null is passed into the "to" parameter in CopyFileOrDirectory method
Reproduced in 5.5.0f3, 5.5.3p2, 5.6.0f3, 2017.1.0b5
Did not reproduce in 5.4.5p1
Regression introduced in 5.5.0f3
Fixed in 2017.2.0a4
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- RenderPipelineManager.activeRenderPipelineTypeChanged does not detect changes when changing the Render Pipeline Asset outside of Play Mode
- The Scene View becomes gray and "NullReferenceException" errors are thrown when attaching the Unity Editor process to RenderDoc
- Memory usage rapidly rises when changing colors in the color wheel
- Physically Based Sky's Horizon and Zenith Tint Color Selection Bars don't have immediate access to color pickers
- EmptyAdditionalLightShadowmapTexture leaks from memory when URP quality level is changed using QualitySettings.SetQualityLevel
Add comment