반응형

Zenject 3

ZenjectException: Assert hit! Tried to create multiple instances of ProjectContext!ModestTree.Assert.That (System.Boolean condition, System.String message)

이모티콘・01・고양이 마멋 친구들 - Google Play 앱이모티콘・01・고양이 마멋 친구들: 무료 이모티콘, 회원가입 없이! 카톡, SNS로 감정 표현이 쉬워져요. 귀여움 가득, 대화창을 더 풍성하게!play.google.com  ZenjectException: Assert hit! Tried to create multiple instances of Context!ModestTree.Assert.That (System.Boolean condition, System.String message)   젠젝트(Zenject)에서 하나 이상의 ProjectContext 인스턴스를 생성하려고 시도했을 때 발생하는 에러 ProjectContext는 싱글톤이어야 하며, 전..

Unity 2024.03.27

젠젝트(Zenject)를 사용한 후 콘솔창에 버그가 생긴 듯

이모티콘・01・고양이 마멋 친구들 - Google Play 앱이모티콘・01・고양이 마멋 친구들: 무료 이모티콘, 회원가입 없이! 카톡, SNS로 감정 표현이 쉬워져요. 귀여움 가득, 대화창을 더 풍성하게!play.google.com  젠젝트(Zenject)를 사용한 후 콘솔창에 버그가 생긴 듯 아니면 내가 캐치하지 못하는 뭔가가 있는지도 하지만 아무리 봐도 버그가 맞는 것 같다. 예외가 발생해서 에러가 발생해야 하는 곳에서도 에러가 뜨지 않고 그냥 넘어가버린다. 그런데 웹상에 왜 나와 같은 경험을 한 글이 하나도 없지?  물론 잘 쓰면 좋은 점도 당연히 많겠지만 뭔가 불안정한 느낌. 예를 들면 이런거 콘솔창에 필터링을 저렇게 했는데 밑에 905 이부분은..

Unity 2024.03.25

ZenjectException: Unable to resolve 'HPManager' while building object with type 'DataManager'. Object graph:DataManager

이모티콘・01・고양이 마멋 친구들 - Google Play 앱이모티콘・01・고양이 마멋 친구들: 무료 이모티콘, 회원가입 없이! 카톡, SNS로 감정 표현이 쉬워져요. 귀여움 가득, 대화창을 더 풍성하게!play.google.com  ZenjectException: Unable to resolve ' bla ' while building object with type ' blabla '. Object graph: blabla  ZenjectException   이 예외가 뜨는 이유는 GameInstall에 HPManager를 바인딩 하지 않았기 때문이다. 발생 상황을 시뮬레이션 해보자면 이렇다. AManager를 GameInstall 스크립트 안에서 바인딩한..

Unity 2024.03.20
반응형