Search Issue Tracker
Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.
Postponed
Votes
1
Found in
4.0.0b4
Issue ID
479223
Regression
No
Invalid characters should not be allowed in Layouts name
Try saving a layout with a name like "?layout". The result is the following ugly error and the layout is not saved:
"File Library/Unused/516cf89f8ab492e439d4acbbd1985508 couldn't be written. Because moving C:/Users/UTQA/Documents/New Unity Project 18/Temp/tempFile to C:/Users/UTQA/AppData/Roaming/Unity/Editor-4.x/Preferences/Layouts\what?.wlt failed.
UnityEditorInternal.InternalEditorUtility:SaveToSerializedFileAndForget(Object[], String)
UnityEditor.HostView:OnGUI()"
Expected: we should not allow invalid/unsupported characters to be typed in the layout's name when saving it
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
- Value on Slider (Int) control in UI Builder displays as default when saving UI Document
- Color mismatch in UI Builders Library panel when the Editors theme is set to Light Mode
- [Android ] "AndroidJNI.ToBooleanArray" returns a random non-zero value instead of "IntPtr.Zero" when the method argument is null
- Non-HDR color picker opens when selecting material color with HDR enabled
- Crash on EditorApplication:Internal_CallUpdateFunctions when pushing property block by index to SpriteShapeRenderer
IdleMuse
Jun 18, 2016 10:57
Still present in 5.3 (specifically with colon, on Windows - colons are desirable in layout names for reference to aspect ratios!)