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

Window management

-

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

Comments (1)

  1. 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!)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.