작성
·
7
0
안녕하세요 루키스님 강의 언제나 잘 보고 있습니다. 다름이 아니라 강의를 보며 프로젝트를 생성해보았지만 계속 실패하게 되어 질문드립니다.
구글링을 해본 결과 언리얼 엔진과 비주얼 스튜디오와의 호환성 또는 버전의 문제인 것 같은데, 검색을 하며 이것저것 설정을 바꿔보아도 잘 되지가 않습니다.. 어떻게 해야하나요? 엔진 버전은 5.3.2입니다



Running C:/Program Files/Epic Games/UE_5.3/Engine/Build/BatchFiles/Build.bat Development Win64 -Project="C:/Users/giml7/Desktop/UE5/R2/R2/R2.uproject" -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE
Using bundled DotNet SDK version: 6.0.302
Running UnrealBuildTool: dotnet "..\..\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll" Development Win64 -Project="C:/Users/giml7/Desktop/UE5/R2/R2/R2.uproject" -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE
Log file: C:\Users\giml7\AppData\Local\UnrealBuildTool\Log.txt
Creating makefile for R2Editor (no existing makefile)
@progress push 5%
Parsing headers for R2Editor
Running Internal UnrealHeaderTool C:\Users\giml7\Desktop\UE5\R2\R2\R2.uproject C:\Users\giml7\Desktop\UE5\R2\R2\Intermediate\Build\Win64\R2Editor\Development\R2Editor.uhtmanifest -WarningsAsErrors -installed
Total of 0 written
Reflection code generated for R2Editor in 1.0054079 seconds
@progress pop
Building R2Editor...
Using Visual Studio 2022 14.44.35219 toolchain (C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207) and Windows 10.0.26100.0 SDK (C:\Program Files (x86)\Windows Kits\10).
Determining max actions to execute in parallel (6 physical cores, 12 logical cores)
Executing up to 6 processes, one per physical core
Requested 1.5 GB memory per action, 4.77 GB available: limiting max parallel actions to 3
------ Building 6 action(s) started ------
[1/6] Resource Default.rc2
[2/6] Compile [x64] SharedPCH.Engine.Cpp20.cpp
Detected compiler newer than Visual Studio 2022, please update min version checking in WindowsPlatformCompilerSetup.h
C:\Program Files\Epic Games\UE_5.3\Engine\Source\Runtime\Core\Public\Experimental\ConcurrentLinearAllocator.h(31): error C4668: '__has_feature' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
C:\Program Files\Epic Games\UE_5.3\Engine\Source\Runtime\Core\Public\Experimental\ConcurrentLinearAllocator.h(31): error C4067: unexpected tokens following preprocessor directive - expected a newline
C:\Program Files\Epic Games\UE_5.3\Engine\Source\Runtime\Engine\Classes\Engine\SkeletalMesh.h(799): warning C4996: 'FBoneMirrorInfo': FBoneMirrorInfo is deprecated. Please use UMirrorDataTable for mirroring support. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.
Total time in Parallel executor: 22.86 seconds
Total execution time: 40.24 seconds
엔진 5.4로 생성했을때는 생성은 되지만 비주얼 스튜디오에서 빌드를 했을때 NuGet 오류가 생기게 됩니다.. 디버깅 모드로 실행을 해도 언리얼 에디터가 켜지기만 하고 게임이 실행되지가 않습니다

답변 2
0
0
안녕하세요, 인프런 AI 인턴입니다. JMJ님.
언리얼 엔진과 비주얼 스튜디오에서 프로젝트 생성 및 빌드 오류를 겪고 계시군요. 오류의 원인은 다양한데, 주로 호환성 및 버전의 문제일 가능성이 높습니다. 다음은 해결을 위한 몇 가지 제안입니다:
Visual Studio 및 MSVC 버전 확인:
Windows SDK 및 .NET 버전:
Visual Studio 설치 옵션 점검:
빌드 환경 재설정:
컴파일러 설정 확인:
[x64] SharedPCH.Engine.Cpp20.cpp에서 “Detected compiler newer than Visual Studio 2022” 메시지가 있다는 것은 사용 중인 컴파일러 버전이 최신이라는 의미이며, Unreal 엔진의 특정 헤더 파일에서 발생하는 경고 및 오류를 해결하기 위해 엔진 소스 코드를 수정할 수도 있습니다.유사한 문제를 겪으신 분들의 경험이 도움이 될 수 있습니다. 아래 링크를 참고해주시면 추가적인 팁을 얻으실 수 있습니다:
문제를 해결하는 데 도움이 되길 바랍니다. 추가적으로 궁금한 점이 있으시면, 이어서 질문해 주세요. 곧 지식공유자께서 답변해 주실 것입니다.
저는 질문자님의 이해를 돕고자 지식공유자님의 기존 답변을 참고하여 유사한 답변 링크를 추천해드리고 있습니다. 현재 베타 기능으로 답변이 만족스럽지 않을 수 있는 점 양해 부탁드립니다. 🙏
추가적으로 궁금한 점이 있으시면, 이어서 질문해 주세요. 곧 지식공유자께서 답변해 주실 것입니다.