• 카테고리

    질문 & 답변
  • 세부 분야

    게임 프로그래밍

  • 해결 여부

    미해결

.dll에 관해서

21.11.21 01:16 작성 조회수 850

0

따라하는 위주의 수업을 하다가 파일을 받아서 덮어쓰려고하니 어려운점이 많았습니다

그중에서도 .dll 라이브러리쪽을 찾는게 어려웠는데요

코딩하는 부분은 강사님 코드부분을 보면서 따라하면서 했는데 라이브러리쪽은 스스로 찾아보아도 안보이고,

너겟쪽에서 다운받아 넣어보았는데도 버전때문인지 에러가나서 결국 강사님 파일안에 있던것을 옮겨서 실행이 됐습니다  

 

유니티에서 에러코드가 발생하니 해결을 못하겠더군요 

 

아래와 같은 에러가 나는데 혹시 이런 라이브러리를 찾는 사이트가 있나요? 구글에 검색을해도 잘 보이지도 않고 영어가 약해서 그런지 이렇게 막히니까 그냥 어지럽네요

 

Assembly 'Library/ScriptAssemblies/Assembly-CSharp.dll' will not be loaded due to errors:

Reference has errors 'Google.Protobuf'.

 

------------------------------

 

Assembly 'Library/ScriptAssemblies/Assembly-CSharp-Editor.dll' will not be loaded due to errors:

Reference has errors 'Assembly-CSharp'.

 

-------------------------------

 

Assembly 'Assets/Libs/System.Memory.dll' will not be loaded due to errors:

Unable to resolve reference 'System.Runtime.CompilerServices.Unsafe'. Is the assembly missing or incompatible with the current platform?

Reference validation can be disabled in the Plugin Inspector.

Unable to resolve reference 'System.Buffers'. Is the assembly missing or incompatible with the current platform?

Reference validation can be disabled in the Plugin Inspector.

답변 1

답변을 작성해보세요.

1

이 부분은 VS 버전이나 유니티 버전 등 여러가지랑 맞물려 있어서
저도 확실한 대답을 드리기가 힘듭니다.
보통 검색할 땐 에러 메시지를 구글링 해보면서
비슷한 케이스가 발생했는지를 찾아보는 수밖에 없습니다.

Unable to resolve reference 'System.Buffers'. Is the assembly missing or incompatible with the current platform?

https://github.com/protocolbuffers/protobuf/issues/7252

환경 설정 문제는 누구한테나 어지러운 문제고 짜증나는 문제이지만
프로그래머라면 어쩔 수 없이  종종 만나게 되고
제 경험상 구글링도 하다보면 늘어서 온갖 상황에서도 해결할 수 있는 짬(?)이 차게 됩니다.