LoginSignup
1
0

More than 5 years have passed since last update.

Unity Remote利用者に発生する "The file MemoryStream is corrupted! Remove it and launch unity again" について

Last updated at Posted at 2017-06-07

Unity Remoteとは

Unity Editor上で起動しているゲームをiOS/Android実機に表示し、
タッチ操作でゲームをプレイすることができる機能です。
タッチスクリーン上で操作できる点以外はPC実機上で動いているものをスマホ実機に表示しているだけですので
端末依存の挙動を調べることはできないものの、
UIの確認等には十分使えます。

ストアに書いてある通りに設定すればきっと動きます。
https://itunes.apple.com/jp/app/unity-remote-5/id871767552?mt=8
https://play.google.com/store/apps/details?id=com.unity3d.genericremote&hl=ja

使い方等も調べれば出てくるでしょう……

The file MemoryStream is corrupted! とかいう謎のエラー

Unity Remoteを使っていないときに、
Unity Editorの再生ボタンを押したタイミングで以下のエラーが出て、Unityが強制終了するという現象に巡り逢いました。

The file MemoryStream is corrupted! Remove it and launch unity again [Position out of bounds!]

sc.png

エラーメッセージを調べると、
「Unity Remoteの出力先を設定しているのにその接続先の端末がない」ため落ちているとのことで、
Unity Remoteの出力先をNoneにすることで解決しました。

Editor->UnityRemote->Device->None
スクリーンショット 2017-06-07 13.40.30.png

Unity Remote、お行儀が悪い……

参考:
http://answers.unity3d.com/questions/1117177/the-file-memorystream-is-corrupted-remove-it-and-l.html

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