遭遇したエラー/警告を自分ようにまとめています。
- ■ ずっと謎だった不思議な警告/エラー
- ■ CommandInvokationFailure: Unable to retrieve device properties. エラー
- GUI Window tried to begin rendering while something else had not finished rendering! Either you have a recursive OnGUI rendering, or the previous OnGUI did not clean up properly.
- ■ graphics apis とかいう謎のエラー
- ■ InvalidOperationExceptionとは
■ 軽い目のエラー
Tiled GPU perf. warning: RenderTexture color surface (335x595) was not cleared/discarded. See TiledGPUPerformanceWarning.ColorSurface label in Profiler for info
■ ずっと謎だった不思議な警告/エラー
There are 2 audio listeners in the scene. Please ensure there is always exactly one audio listener in the scene.
放置していたけど、解消方法がわかりました
2つあるカメラのAudio Listenerをどっちか片方消せばOKのようです。
■ CommandInvokationFailure: Unable to retrieve device properties. エラー
CommandInvokationFailure: Unable to retrieve device properties. Please make sure the Android SDK is installed and is properly configured in the Editor. See the Console for more details.
とかいうエラー
同じエントリーがあったので
参考にさせていただきました
解決せず・・・
と思ったら、
ただのアンドロイド端末側のUSBアクセス許可をしていなかった初歩的ミスだった
GUI Window tried to begin rendering while something else had not finished rendering! Either you have a recursive OnGUI rendering, or the previous OnGUI did not clean up properly.
GUIウィンドウがレンダリングを開始しようとしましたが、他の何かがレンダリングを完了していませんでした!再帰的なOnGUIレンダリングがあるか、以前のOnGUIが適切にクリーンアップされませんでした。
http://whaison.jugem.jp/?day=20160930
■ NullReferenceException: Object reference not set to an instance of an object
UnityEditor.Graphs.Edge.WakeUp () (at /Users/builduser/buildslave/unity/build/Editor/Graphs/UnityEditor.Graphs/Edge.cs:114)
→ 再起動でなおるらしい??
■ graphics apis とかいう謎のエラー
The connected device does not support any of the selected Graphics APIs.
Please select OpenGL ES 2.0 under Player Settings or connect a device that supports the selected API settings.
【翻訳】
接続された機器は選択されたグラフィックAPIのいずれもサポートしていません。
[プレーヤーの設定]で[OpenGL ES 2.0]を選択するか、選択したAPI設定をサポートするデバイスを接続してください。
graphics apiがサポートされていない?
ってことなのだろうか。
other settings のauto graphics APIをチェック入れると治った??
■ InvalidOperationExceptionとは
Unityをバージョンアップしたら
InvalidOperationExceptionというエラーがエディタじょうでずっとでている。
InvalidOperationExceptionは直訳すると無効な操作例外、つまり例外エラーみたい。
もうちょっと詳しく調べる必要が・・・
でも、普通に動作している。
なんだかなぁ
バージョンアップするべきじゃなかった。