Search Issue Tracker
Fixed in 2020.2.X
Votes
0
Found in
2018.4
2019.1
2019.2
2019.3
2019.4
2020.1
2020.2
2020.2.0a14
Issue ID
1254004
Regression
No
[IMGUI] "Could not determine location" error is thrown when a new swatch preset library is created by name starting with "/"
"Could not determine preset file location type" error is thrown when a swatch preset library is created with name starting with "/". After this, error is thrown everytime on opening material colour palette. Refer the attached video
Steps to reproduce:
1) Create a new project
2) Create a new material
3) Click on the Color palette next to Albedo
4) Swatches > Create a new Library
5) Create a library with name starting with "/"
Actual result: "Could not determine preset file location type" error is thrown.
Expected result: No Error should be thrown
Occurring on: 2020.2.0a14, 2020.1.0b12, 2019.4.0f1, 2019.2.9f1, 2018.4.15f1
Environment: Both Windows and Mac
Stack trace:
Could not determine preset file location type /1234567
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) (at C:/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:179)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Spot Light with 'Box' Shape stops working when it collides with Mesh
- Accepting Asset Store EULA endless loop in Package Manager window
- “InvalidOperationException: Sequence contains no matching element“ error when reenabling a custom Debug Draw Mode
- Prefab that contains a layout group is marked as changed by the Editor when opened
- Emission animation does not appear when the "Emission Map" parameter is set to black in a Lit material
Add comment