LoginSignup
1
0

More than 3 years have passed since last update.

【Unity】ビルドして実行したらString conversion error

Posted at

概要

UnityでWindowsスタンドアローンアプリをビルドし、正常に動作することを確認した後、
そのアプリを別のPCにコピーして実行したら以下のエラーが発生しました。

ExecutionEngineException: String conversion error: Illegal byte sequence encounted in the input.

結論

別のPCでアプリを配置したディレクトリの名称に全角文字を使っていたことが原因でした。
半角英数のみのディレクトリ名に変更したところ、正常に動きました。

Kinectの影響?

当アプリは、MicrosoftのAzure Kinect DK(3Dセンサーカメラ)を使用したアプリでした。
Kinectを使用していない別のアプリは、ディレクトリ名に全角文字が含まれていても問題ありませんでした。
詳細な原因は追ってないので不明です。。。

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