본문 바로가기
개발/Unity

문제해결)The same field name is serialized multiple times in the class or its parent class. This is not supported: ~

by 테샤르 2024. 4. 3.

The same field name is serialized multiple times in the class or its parent class. This is not supported: ~

 

해당 에러는 상속받은 클래스의 변수가 같아서 생기는 문제이다.

 

반응형

 Base Class를 수정하다가 발생한 케이스로

상속받은 클래스의 중복되는 변수를 삭제해주면 해결이 된다.

 

★☆☆☆☆

 

반응형

댓글