Search Issue Tracker
Fixed in 2020.2.X
Votes
1
Found in
2018.4
2019.1.10f1
2019.2
2019.3
2020.1
Issue ID
1210526
Regression
No
Crash when calling PrefabUtility.SaveAsPrefabAsset with a absolute path that is outside of project's root
How to reproduce:
1. Open user-submitted project (ForDebugging.zip)
2. Open the SampleScene
3. Enter Play Mode
4. Click the 'Save' UI button
5. Save a prefab to a path, that is outside of the project's root path
Expected result: the Editor does not crash
Actual result: the Editor crashes
Reproducible with: 2018.4.16f1, 2019.2.19f1, 2019.3.0f6, 2020.1.0a20
Could not test with: 2017.4.36f1('UnityEditor.PrefabUtility' does not contain a definition for `SaveAsPrefabAsset')
Comments (1)
-
unity_CyjrzFgo7Zyw3Q
Feb 20, 2020 11:51
Can confirm this issue in 2019.3.1f.1
Additional info: the runtime doesn't crash, i.e. no crash log is produced in %TEMP%\Unity\Editor\Crashes, the editor just closes.
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
- Memory leak when a lot of UI elements are spawned and despawned
- Warnings are not logged in the Console window when using external code analyzers
- Errors “TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 288“ appear constantly when Prefab is open
- Crash on PPtr<Shader>::operator or NullException errors spammed in console when calling Dispose() on null GraphicsBuffer with baked Reflection Probes
- “EndRenderPass: Not inside a Renderpass” and other Render Graph errors in the Player when Render Graph is enabled and Overlay UI is used
Resolution Note (fix version 2020.2):
Fixed in 2020.2.0a3