Meiryo’s blog

やってみて詰まったことを備忘録として残すブログ

MMDのファイルをBlenderで変換してUnityに入れたらエラーが出た

UnityのバージョンはUnity 2019.2.15f1です。
なにが起きてるのかわかるのに時間がかかったのでメモ。
タイトルどおり、MMDのファイルをUnityに入れたのですが
大量に謎のエラーが出ました。
f:id:meimaru:20191216211338p:plain

エラーログ見る限りなんか手を出せないようなところの
Unityのバグなんじゃないか、と思ってたらやっぱりそうでした。

issuetracker.unity3d.com

エラーログはこんなのが出ます

"A PreviewRenderUtility was not clean up properly before assembly reloading which lead to leaking this scene in the Editor. This can be caused by not calling Cleanup() during the OnDisable of an Editor or an EditorWindow."

"InvalidOperationException: Preview scene could not be created"
"Attempting to open > 63 preview scenes, this is not supported, ensure you dispose of preview scenes properly"

この問題は優先度の低い問題らしく、
近いうちに修正される可能性は低いそうです。

ログ大量に出るのがうざいですが
スルーで良さそう。