1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Unityでスクリプトのビルドが走らなくなった時はAuto Refreshを確認すること

Posted at

ある日突然、スクリプトを保存してもビルドされなくなった

いつものようにスクリプトを編集、保存、Unityエディタに切り替えると走るはずの自動ビルドが走らない。
編集したスクリプトをProjectでクリックしてInspectorを確認しても、古いまま。
仕方ないので右クリックしてReimportをするとビルドが走る。

不便なので色々なキーワード、「Unity」「ビルド」「自動」「Import」などで検索してみても、まぁ大体Jenkinsとかの記事が出てくるばかりで。。

数日不便なまま過ごした挙句、結局詳しい方に教えていただいた。

原因はAuto Refreshのチェックボックス

原因は、PreferencesのGeneralの先頭にある、Auto Refresh のチェックボックスが外れていた事。

autorefresh.png

まったく覚えはないけれど、多分Preferencesにフォーカスを移そうとした時に、クリックしてチェックを外してしまったのだと思われる。

同じような事態に陥ってしまった人のために、、、記録として残しておきます。

参考

1
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
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?