Debug 클래스를 사용하려고 할때 System.Diagnostics 네임스페이스가 계속해서 자동으로 using 선언되는 문제와 Visual Studio에서 유니티 관련 코드가 자동완성이 되지 않는 문제에 대한 해결법을 알아봅시다!

 

타임라인

0:00 개요

0:16 using System.Diagnostics;가 계속 생겨나는 문제

3:11 Visual Studio에서 유니티 관련 자동완성이 되지 않는 문제

 

[유니티 어필리에이트 프로그램]

아래의 링크를 통해 에셋을 구매하시거나 유니티를 구독하시면 수익의 일부가 베르에게 수수료로 지급되어 채널의 운영에 도움이 됩니다.

 

에셋스토어

여러분의 작업에 필요한 베스트 에셋을 찾아보세요. 유니티 에셋스토어가 2D, 3D 모델, SDK, 템플릿, 툴 등 여러분의 콘텐츠 제작에 날개를 달아줄 다양한 에셋을 제공합니다.

assetstore.unity.com

 

Easy 2D, 3D, VR, & AR software for cross-platform development of games and mobile apps. - Unity Store

Have a 2D, 3D, VR, or AR project that needs cross-platform functionality? We can help. Take a look at the easy-to-use Unity Plus real-time dev platform!

store.unity.com

 

Create 2D & 3D Experiences With Unity's Game Engine | Unity Pro - Unity Store

Unity Pro software is a real-time 3D platform for teams who want to design cross-platform, 2D, 3D, VR, AR & mobile experiences with a full suite of advanced tools.

store.unity.com

[투네이션]

 

-

 

toon.at

[Patreon]

 

WER's GAME DEVELOP CHANNEL님이 Game making class videos 창작 중 | Patreon

WER's GAME DEVELOP CHANNEL의 후원자가 되어보세요. 아티스트와 크리에이터를 위한 세계 최대의 멤버십 플랫폼에서 멤버십 전용 콘텐츠와 체험을 즐길 수 있습니다.

www.patreon.com

[디스코드 채널]

 

Join the 베르의 게임 개발 채널 Discord Server!

Check out the 베르의 게임 개발 채널 community on Discord - hang out with 399 other members and enjoy free voice and text chat.

discord.com

 

반응형

An exception has been encountered. This may be caused by an extension. 에러 발생시 해결 방법

 

 

유니티에 비주얼 스튜디오(Visual Studio)로 스크립트 작업을 하려고 스크립트 파일을 더블 클릭해서 열었는데 비주얼 스튜디오가 실행된 이후에 위와 같은 에러 메시지가 떴다. 이 현상은 비주얼 스튜디오를 켤 때마다 지속적으로 반복되었다. 유니티 작업을 하는데는 큰 문제가 없었지만 비주얼 스튜디오를 실행할 때마다 메시지 박스가 팝업되니 여간 불편한게 아니었다.

 

에러 로그를 검색해보니 이 문제는 캐시 충돌 문제로 발생하는 것이라고 한다. 이 문제를 해결하는 방법은 아래의 경로 아래에 있는 캐시 파일들을 삭제하고 비주얼 스튜디오를 재실행 해주면 캐시 파일들이 새로 생성되면서 문제가 해결된다고 한다.

 

C:\Users\[UserName]\AppData\Local\Microsoft\VisualStudio\14.0\ComponentModelCache

 

 

 

[유니티 어필리에이트 프로그램]

아래의 링크를 통해 에셋을 구매하시거나 유니티를 구독하시면 수익의 일부가 베르에게 수수료로 지급되어 채널의 운영에 도움이 됩니다.

 

에셋스토어

여러분의 작업에 필요한 베스트 에셋을 찾아보세요. 유니티 에셋스토어가 2D, 3D 모델, SDK, 템플릿, 툴 등 여러분의 콘텐츠 제작에 날개를 달아줄 다양한 에셋을 제공합니다.

assetstore.unity.com

 

Easy 2D, 3D, VR, & AR software for cross-platform development of games and mobile apps. - Unity Store

Have a 2D, 3D, VR, or AR project that needs cross-platform functionality? We can help. Take a look at the easy-to-use Unity Plus real-time dev platform!

store.unity.com

 

Create 2D & 3D Experiences With Unity's Game Engine | Unity Pro - Unity Store

Unity Pro software is a real-time 3D platform for teams who want to design cross-platform, 2D, 3D, VR, AR & mobile experiences with a full suite of advanced tools.

store.unity.com

[투네이션]

 

-

 

toon.at

[Patreon]

 

WER's GAME DEVELOP CHANNEL님이 Game making class videos 창작 중 | Patreon

WER's GAME DEVELOP CHANNEL의 후원자가 되어보세요. 아티스트와 크리에이터를 위한 세계 최대의 멤버십 플랫폼에서 멤버십 전용 콘텐츠와 체험을 즐길 수 있습니다.

www.patreon.com

[디스코드 채널]

 

Join the 베르의 게임 개발 채널 Discord Server!

Check out the 베르의 게임 개발 채널 community on Discord - hang out with 399 other members and enjoy free voice and text chat.

discord.com

 

반응형

Visual Studio 2017 Community 설치 실패 문제 해결하기(Error 0x80004003:)

 

Visual Studio에 추가적인 워크로드를 설치하는 도중에 실수로 컴퓨터를 재부팅하게 되었는데 그 이후로 추가 워크로드를 설치할 수 없는 문제가 발생했다. 그래서 Visual Studio를 완전히 제거하고 다시 설치해야 했는데, Visual Studio를 제어판에서 삭제한 이후에 Microsoft Download Center에서 vs_Community 설치 파일을 받아서 설치할 때 문제가 발생했다.

 

vs_Community 부트스트랩이 설치 파일들을 받아오는데까지는 성공하지만 이후에 Visual Studio를 설치하는데는 계속해서 실패하는 문제였다. 그래서 로그를 확인해보니 다음과 같은 내용이었다.

 

[----:----][2017-06-09T10:54:38] Error 0x80004003:
   위치: Microsoft.VisualStudio.Setup.Cache.InstanceRepository.GetInstance()
   위치: Microsoft.VisualStudio.Setup.Cache.CacheRepository.<GetInstances>d__28.MoveNext()
   위치: System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
   위치: Microsoft.VisualStudio.Setup.Engine.VerifyInstallationPath(IServiceProvider services, String installationPath, IInstance instance, IQuery query)
   위치: Microsoft.VisualStudio.Setup.Engine.Install(Product product, String destination, CancellationToken token)개체 참조가 개체의 인스턴스로 설정되지 않았습니다.

 

 

해결법

 

위의 로그에서 발견한 에러 코드를 구글에 검색한 결과 다음과 같은 해결 방법을 찾았고, 해결 방법대로 수행한 결과로 성공적으로 Visual Studio 2017 Community의 설치를 마칠 수 있었다. 해결책은 다음과 같다.

 

1) 현재 설치되어 있는 Visual Studio가 있다면 제어판에서 언인스톨할 것.

2) Program Files 폴더 내 혹은 Visual Studio가 설치된 경로에 있는 Microsoft Visual Studio 폴더를 삭제할 것.

3) C:\ProgramData\Microsoft\Visual Studio\Setup 폴더를 삭제할 것.

4) C:\ProgramData\Microsoft\Visual Studio\Packages 폴더를 삭제할 것.

 

위의 과정을 모두 진행했다면, Visual Studio의 재설치를 진행하면 문제없이 재설치가 가능할 것이다.

 


 

해결법의 출처

 

Error 0x80004003 during VS 2017 RC install

I'm running Windows 10, no pending updates, I've run sfc /scan now and DISM.exe /Online /Cleanup-image /Restorehealth neither of which reported issues. I've tried installing enterprise, profession...

stackoverflow.com

 

 

 

[유니티 어필리에이트 프로그램]

아래의 링크를 통해 에셋을 구매하시거나 유니티를 구독하시면 수익의 일부가 베르에게 수수료로 지급되어 채널의 운영에 도움이 됩니다.

 

에셋스토어

여러분의 작업에 필요한 베스트 에셋을 찾아보세요. 유니티 에셋스토어가 2D, 3D 모델, SDK, 템플릿, 툴 등 여러분의 콘텐츠 제작에 날개를 달아줄 다양한 에셋을 제공합니다.

assetstore.unity.com

 

Easy 2D, 3D, VR, & AR software for cross-platform development of games and mobile apps. - Unity Store

Have a 2D, 3D, VR, or AR project that needs cross-platform functionality? We can help. Take a look at the easy-to-use Unity Plus real-time dev platform!

store.unity.com

 

Create 2D & 3D Experiences With Unity's Game Engine | Unity Pro - Unity Store

Unity Pro software is a real-time 3D platform for teams who want to design cross-platform, 2D, 3D, VR, AR & mobile experiences with a full suite of advanced tools.

store.unity.com

[투네이션]

 

-

 

toon.at

[Patreon]

 

WER's GAME DEVELOP CHANNEL님이 Game making class videos 창작 중 | Patreon

WER's GAME DEVELOP CHANNEL의 후원자가 되어보세요. 아티스트와 크리에이터를 위한 세계 최대의 멤버십 플랫폼에서 멤버십 전용 콘텐츠와 체험을 즐길 수 있습니다.

www.patreon.com

[디스코드 채널]

 

Join the 베르의 게임 개발 채널 Discord Server!

Check out the 베르의 게임 개발 채널 community on Discord - hang out with 399 other members and enjoy free voice and text chat.

discord.com

 

반응형

+ Recent posts