0
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 3 years have passed since last update.

Hololens2のSceneUnderstandingを利用しようとしたときに出たエラーを解決

Posted at

現象

こちらの記事のようなエラーが出ていて、同じようにエラー回避しようとしてもできなかったでした

Library\PackageCache\com.microsoft.mixedreality.toolkit.foundation@2387a6a2d46b-1639703055967\Providers\Experimental\WindowsSceneUnderstanding\WindowsSceneUnderstandingObserver.cs(502,35): error CS7069: Reference to type 'Matrix4x4' claims it is defined in 'System.Numerics', but it could not be found

環境

  • Unity v2019.4.18
  • MRTK v2.7.2
  • SceneUnderstanding v0.6.0

解決した方法と注意点

  • 参考記事に書いてあった方法
    • build settings.NET4
    • SceneUnderstandingManagerQuery Scene From Devieのチェック外す
  • 追加で試した方法
    • TextMeshProのバージョンが3系だと動かず、2.1.6だと動いた
    • プロジェクトパスが変わっていた場合Libraryフォルダを一回消し、Unityを立ち上げなおす(その後もう一回build settingsは確かめる)

追加で試した方法で解決できました!

ちなみに

Image from Gyazo

実機だとここにチェックいれるのよく忘れるのでどうにかしたい…

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?