Search Issue Tracker
Not Reproducible
Votes
0
Found in
5.6.0a2
Issue ID
847868
Regression
No
FileUtil.ReplaceFile corrupts a destination file if source path is empty
Steps to reproduce:
1. Open attached project.
2. Execute menu item: POPUP/Create scene
3. Execute menu item: POPUP/Replace scene with invalid source
4. Execute menu item: POPUP/Create scene
Editor freezes.
if moving focus away and back again after step 3, unity will delete scene created in step 2, thinking that it's meta file, while it's actually a normal scene. Failed FileUtil.ReplaceFile somehow corrupts it.
Reproduced on 5.6.0a2, 5.5.0b11
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- 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
- Referenced ScriptableObject field does not get updated and cannot be set to "None" when there are no Objects of that type
Add comment