2
1

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 1 year has passed since last update.

【Unity】JetBrainsRiderでRootNameSpaceを設定してもいつの間にかリセットされている

Last updated at Posted at 2023-12-08

はじめに

Unityで利用できる強力なEditor JetBrainsRider でRootNameSpaceを設定するためにRootNameSpaceの設定を行った際に、いつの間にか設定がクリアされている事象を確認しましたので解決方法を記録します。

トラブル内容

Rider設定メニューのProject Properties > Application > General < Root namespace に値を設定後にOKを押してもRiderから他のアプリ(Unity等)にフォーカスが移ると設定値がクリアされる。

image.png

解決方法

Unity側にRootNameSpaceを設定できる項目があり、Riderの設定値よりもそちらの値が優先度が高く、Project Properties > Application > General > Root namespace に上書きされることが原因でした。
Unity側の ProjectSettings > Editor > Root namepace に名前空間名を設定することでRider側に反映されることを確認しました。

image.png

公式質問スレッド

こちらで解決方法を教えて頂きました。

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?