참으로 불친절한 에러다.
어디서 에러가났는지, 어떻게 에러가 났는지 설명을 안해준다.
검색해보니 에러나는 경우는 다양한데 거의 대부분이 유니티 자체에 에러다.
유니티 버전을 바꿔서 해결 가능하다.
나는 Play를 누르면 이 에러가 7개가 떴는데, 알고보니 ScirptableObject로 만든 data파일을 클릭한 상태로 실행하니 에러가 났다.
여기 변수가 7개 들어있었다...
ArgumentNullException: Value cannot be null.
Parameter name: _unity_self
UnityEditor.SerializedObject.FindProperty (System.String propertyPath) (at <582c35e8f45345d395e99f8e72e3c16d>:0)
UnityEditor.UIElements.Bindings.SerializedObjectBindingContext.BindPropertyRelative (UnityEngine.UIElements.IBindable field, UnityEditor.SerializedProperty parentProperty) (at <af95451922f042e9a8d1a10956fb36a2>:0)
UnityEditor.UIElements.Bindings.SerializedObjectBindingContext.BindTree (UnityEngine.UIElements.VisualElement element, UnityEditor.SerializedProperty parentProperty) (at <af95451922f042e9a8d1a10956fb36a2>:0)
UnityEditor.UIElements.Bindings.SerializedObjectBindingContext.ContinueBinding (UnityEngine.UIElements.VisualElement element, UnityEditor.SerializedProperty parentProperty) (at <af95451922f042e9a8d1a10956fb36a2>:0)
UnityEditor.UIElements.Bindings.DefaultSerializedObjectBindingImplementation+BindingRequest.Bind (UnityEngine.UIElements.VisualElement element) (at <af95451922f042e9a8d1a10956fb36a2>:0)
UnityEngine.UIElements.VisualTreeBindingsUpdater.Update () (at <d293f45b4ec64e6c9e762fe89794e7a5>:0)
UnityEngine.UIElements.VisualTreeUpdater.UpdateVisualTreePhase (UnityEngine.UIElements.VisualTreeUpdatePhase phase) (at <d293f45b4ec64e6c9e762fe89794e7a5>:0)
UnityEngine.UIElements.Panel.UpdateBindings () (at <d293f45b4ec64e6c9e762fe89794e7a5>:0)
UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.UpdateSchedulers () (at <d293f45b4ec64e6c9e762fe89794e7a5>:0)
UnityEngine.UIElements.UIEventRegistration.UpdateSchedulers () (at <d293f45b4ec64e6c9e762fe89794e7a5>:0)
UnityEditor.RetainedMode.UpdateSchedulers () (at <af95451922f042e9a8d1a10956fb36a2>:0)
버전은 2022.3.1f1
'유니티_일기 > 에러' 카테고리의 다른 글
포톤쓰다가 발생한 에러 메모 (0) | 2024.05.11 |
---|---|
photon RPC에러 (0) | 2024.05.07 |
Animator - Apply Root Motion (0) | 2024.02.17 |
프로젝트 'assembly-csharp.csproj'을(를) 로드하지 못했습니다. one or more errors occurred. (이 프로젝트는 c# dev kit에서 지원되지 않습니다.) (0) | 2023.09.28 |
merge conflicts라고? (0) | 2023.06.13 |
댓글