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

NatCoderを利用して撮影しようとするとDllNotFoundExceptionが出る場合の対応方法

Posted at

UnityのAssetのNatCoderを利用して撮影しようとするとDllNotFoundExceptionが出る場合の対応方法です。

前提

  • M1 Mac 12.3.1
  • Unity2021.2.11
  • NatCoder 1.8.2

エラー内容

DllNotFoundException: NatCorder assembly:<unknown assembly> type:<unknown type> member:(null)

原因

NatCoder.bundleがMacのApple Silicon用の設定になっていないためです。
(NatCoder自体はApple Silicon対応となっています)

対応方法

NatCoder.bundleのPlatform settingsのCPUの設定を Intel から Any CPU に変更します。
Applyを押し忘れないようにご注意ください。

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?