인프런 커뮤니티 질문&답변

김나영님의 프로필 이미지

작성한 질문수

[C#과 유니티로 만드는 MMORPG 게임 개발 시리즈] Part3: 유니티 엔진

스탯

오류 관련 질문입니다.

해결된 질문

20.07.29 11:43 작성

·

693

0

Stat, PlayerStat, PlayerController 세 개의 스크립트를 강의대로 수정했는데

NullReferenceException: Object reference not set to an instance of an object

UnityEditor.Graphs.Edge.WakeUp () (at <a1ba6e352ff94393b921ff1ab74c7761>:0)

UnityEditor.Graphs.Graph.DoWakeUpEdges (System.Collections.Generic.List`1[T] inEdges, System.Collections.Generic.List`1[T] ok, System.Collections.Generic.List`1[T] error, System.Boolean inEdgesUsedToBeValid) (at <a1ba6e352ff94393b921ff1ab74c7761>:0)

UnityEditor.Graphs.Graph.WakeUpEdges (System.Boolean clearSlotEdges) (at <a1ba6e352ff94393b921ff1ab74c7761>:0)

UnityEditor.Graphs.Graph.WakeUp (System.Boolean force) (at <a1ba6e352ff94393b921ff1ab74c7761>:0)

UnityEditor.Graphs.Graph.WakeUp () (at <a1ba6e352ff94393b921ff1ab74c7761>:0)

UnityEditor.Graphs.Graph.OnEnable () (at <a1ba6e352ff94393b921ff1ab74c7761>:0)

라는 오류가 뜹니다.

오류가 뜨지만 실행은 제대로 되는데, 별로 중요하지 않은 오류인가요?

답변 2

1

Rookiss님의 프로필 이미지
Rookiss
지식공유자

2020. 07. 29. 12:13

https://forum.unity.com/threads/what-is-this-big-error-im-getting.324597/
udging from older forum posts and unityAnswers,
it seems to occur most frequently when deleting and recreating animator controllers that don't have any transitions.

저도 처음 보는데 검색해보니 유니티 자체 버그인 것 같고,
AnimationController를 만들고 삭제할 때 종종 발생한다 합니다.
유니티를 끄고 재시작하면 대부분 해결된다고 하니 신경쓰시지 않으셔도 될 것 같네요.

0

김나영님의 프로필 이미지
김나영
질문자

2020. 07. 29. 16:26

감사합니다!