コガネブログ

平日更新を目標に Unity や C#、Visual Studio、ReSharper などのゲーム開発アレコレを書いていきます

【Unity】UnityEditor.Selection.Internal_CallSelectionChanged で NullReferenceException

概要

NullReferenceException: Object reference not set to an instance of an object
UnityEditor.PropertyEditor.DrawEditors (UnityEditor.Editor[] editors) (at <7ac35247888b44f4a7e290f1f6bb33f3>:0)
UnityEditor.PropertyEditor.RebuildContentsContainers () (at <7ac35247888b44f4a7e290f1f6bb33f3>:0)
UnityEditor.InspectorWindow.OnSelectionChanged () (at <7ac35247888b44f4a7e290f1f6bb33f3>:0)
UnityEditor.Selection.Internal_CallSelectionChanged () (at <7ac35247888b44f4a7e290f1f6bb33f3>:0)
  • Unity を再生するたび上記のエラーが発生する現象に遭遇
  • Unity を再起動したら発生しなくなった

参考サイト様