Search Issue Tracker
Fixed in 2020.1.X
Fixed in 2018.4.X, 2019.3.X
Votes
4
Found in
2018.4.15f1
2019.2
Issue ID
1215975
Regression
Yes
AssetDatabase.SaveAssets() throws an Exception "The specified path is not of a legal form (empty)" while in Play mode
How to reproduce:
1. Open the attached SaveAssetsCrash.zip
2. Enter the Play mode
3. Open "SaveAssetsCrash" window under Test/SaveAssetsCrash
4. From the Projects window/Assets drag "TestPrefab" to the object field int the SaveAssetsCrash window
5. Press "Call AssetDatabase.SaveAssets()" button
Actual: ArgumentException: The specified path is not of a legal form (empty). (see the full exception in the Edit section)
Reproducible with: 2018.4.15f1, 2018.4.17f1, 2019.2.19f1
Not reproducible with: 2017.4.36f1, 2018.4.14f1
Regressed in: 2018.4.15f1
Notes: on 2019.3 and 2020.1 versions the exception is not thrown, but the SaveAssetsCrash window is reset (see the Reset.mov attached in the Edit section)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Wrong NativeName displayed when returning System.Globalization.CultureInfo("zh-TW").NativeName
- UI Toolkit ScrollView.verticalPageSize doesn't change the scrolling amount when using keyboard arrows
- Box selection in Scene View doesn't select 3D objects when GPU Resident Drawer setting is set to Instanced Drawing
- Debugger stops at commented lines of code when using ECS
- Asset preview doesn't update on changing shader's _GlobalColor property when the shader uses global uniforms
Add comment