LoginSignup
0
0

More than 3 years have passed since last update.

EditorWindowのファイル名とクラス名が異なるとLayoutをSaveしても保持されない問題

Posted at

環境

Unity2019.2.10

問題

Unityで自作のEditorWindowを作ることがあると思うのですが、ものによってはLayoutをSaveしても次回開いた時に保持されないWindowがあったので調査しました。

原因

クラス名とファイル名が異なるものについては現象が起こるということがわかったので修正したらうまく保持されるようになりました。

【Unity】EditorWindowのファイル名とクラス名が異なるとUnity起動時に "Error while reading window layout" が出る
というのもあるのでエラーで気づけるかもしれませんがバージョンによってはエラー出ないかもしれないので注意です。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0