I can't able to create the new c++ project in unreal 5

Building ObstacleAssaultEditor…
Using Visual Studio 2022 14.39.33519 toolchain (C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519) and Windows 10.0.22621.0 SDK (C:\Program Files (x86)\Windows Kits\10).
[Adaptive Build] Excluded from ObstacleAssault unity file: MovingPlatform.cpp, ObstacleAssault.cpp
Determining max actions to execute in parallel (4 physical cores, 8 logical cores)
Executing up to 4 processes, one per physical core
Requested 1.5 GB free memory per action, 2.69 GB available: limiting max parallel actions to 1
Building 9 actions with 1 process…
[1/9] Compile SharedPCH.Engine.ShadowErrors.cpp
C:\Program Files\Epic Games\UE_5.0\Engine\Source\Runtime\Core\Public\Containers\StringConv.h(1048): error C2440: ‘’: cannot convert from ‘const From *’ to ‘TStringConversion<TStringConvert<From,To>,128>’
with
[
From=TCHAR
]
C:\Program Files\Epic Games\UE_5.0\Engine\Source\Runtime\Core\Public\Containers\StringConv.h(1048): note: ‘TStringConversion<TStringConvert<From,To>,128>::TStringConversion’: no overloaded function could convert all the argument types
with
[
From=TCHAR,
To=ANSICHAR
]
C:\Program Files\Epic Games\UE_5.0\Engine\Source\Runtime\Core\Public\Containers\StringConv.h(689): note: could be ‘TStringConversion<TStringConvert<From,To>,128>::TStringConversion(const StringConv::FUnused *)’
with
[
From=TCHAR,
To=ANSICHAR
]
C:\Program Files\Epic Games\UE_5.0\Engine\Source\Runtime\Core\Public\Containers\StringConv.h(1048): note: ‘TStringConversion<TStringConvert<From,To>,128>::TStringConversion(const StringConv::FUnused *)’: cannot convert argument 1 from ‘const From *’ to ‘const StringConv::FUnused *’
with
[
From=TCHAR,
To=ANSICHAR
]
and
[
From=TCHAR
]
C:\Program Files\Epic Games\UE_5.0\Engine\Source\Runtime\Core\Public\Containers\StringConv.h(1048): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or parenthesized function-style cast
C:\Program Files\Epic Games\UE_5.0\Engine\Source\Runtime\Core\Public\Containers\StringConv.h(737): note: or ‘TStringConversion<TStringConvert<From,To>,128>::TStringConversion(FromRangeType &&)’
with
[
From=TCHAR,
To=ANSICHAR
]
C:\Program Files\Epic Games\UE_5.0\Engine\Source\Runtime\Core\Public\Containers\StringConv.h(698): note: or ‘TStringConversion<TStringConvert<From,To>,128>::TStringConversion(const SrcBufferType *,int32)’
with
[
From=TCHAR,
To=ANSICHAR
]
C:\Program Files\Epic Games\UE_5.0\Engine\Source\Runtime\Core\Public\Containers\StringConv.h(677): note: or ‘TStringConversion<TStringConvert<From,To>,128>::TStringConversion(const SrcBufferType *)’
with
[
From=TCHAR,
To=ANSICHAR
]
C:\Program Files\Epic Games\UE_5.0\Engine\Source\Runtime\Core\Public\Containers\StringConv.h(1048): note: while trying to match the argument list ‘(const From *)’
with
[
From=TCHAR
]
C:\Program Files\Epic Games\UE_5.0\Engine\Source\Runtime\Core\Public\Containers\StringConv.h(1048): note: the template instantiation context (the oldest one first) is
C:\Program Files\Epic Games\UE_5.0\Engine\Source\Runtime\Core\Public\Misc\SecureHash.h(75): note: see reference to function template instantiation ‘auto StringCast<ANSICHAR,128,TCHAR>(const From *)’ being compiled
with
[
From=TCHAR
]
C:\Program Files\Epic Games\UE_5.0\Engine\Source\Runtime\Core\Public\Containers\StringConv.h(1048): error C2440: ‘’: cannot convert from ‘const From *’ to ‘TStringConversion<TStringConvert<From,To>,128>’
with
[
From=ANSICHAR
]
C:\Program Files\Epic Games\UE_5.0\Engine\Source\Runtime\Core\Public\Containers\StringConv.h(1048): note: ‘TStringConversion<TStringConvert<From,To>,128>::TStringConversion’: no overloaded function could convert all the argument types
with
[
From=ANSICHAR,
To=TCHAR
]
C:\Program Files\Epic Games\UE_5.0\Engine\Source\Runtime\Core\Public\Containers\StringConv.h(689): note: could be ‘TStringConversion<TStringConvert<From,To>,128>::TStringConversion(const StringConv::FUnused *)’
with
[
From=ANSICHAR,
To=TCHAR
]
C:\Program Files\Epic Games\UE_5.0\Engine\Source\Runtime\Core\Public\Containers\StringConv.h(1048): note: ‘TStringConversion<TStringConvert<From,To>,128>::TStringConversion(const StringConv::FUnused *)’: cannot convert argument 1 from ‘const From *’ to ‘const StringConv::FUnused *’
with
[
From=ANSICHAR,
To=TCHAR
]
and
[
From=ANSICHAR
]
C:\Program Files\Epic Games\UE_5.0\Engine\Source\Runtime\Core\Public\Containers\StringConv.h(1048): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or parenthesized function-style cast
C:\Program Files\Epic Games\UE_5.0\Engine\Source\Runtime\Core\Public\Containers\StringConv.h(737): note: or ‘TStringConversion<TStringConvert<From,To>,128>::TStringConversion(FromRangeType &&)’
with
[
From=ANSICHAR,
To=TCHAR
]
C:\Program Files\Epic Games\UE_5.0\Engine\Source\Runtime\Core\Public\Containers\StringConv.h(698): note: or ‘TStringConversion<TStringConvert<From,To>,128>::TStringConversion(const SrcBufferType *,int32)’
with
[
From=ANSICHAR,
To=TCHAR
]
C:\Program Files\Epic Games\UE_5.0\Engine\Source\Runtime\Core\Public\Containers\StringConv.h(677): note: or ‘TStringConversion<TStringConvert<From,To>,128>::TStringConversion(const SrcBufferType *)’
with
[
From=ANSICHAR,
To=TCHAR
]
C:\Program Files\Epic Games\UE_5.0\Engine\Source\Runtime\Core\Public\Containers\StringConv.h(1048): note: while trying to match the argument list ‘(const From *)’
with
[
From=ANSICHAR
]
C:\Program Files\Epic Games\UE_5.0\Engine\Source\Runtime\Core\Public\Containers\StringConv.h(1048): note: the template instantiation context (the oldest one first) is
C:\Program Files\Epic Games\UE_5.0\Engine\Source\Runtime\TypedElementFramework\Public\Elements\Framework\TypedElementData.h(64): note: see reference to function template instantiation ‘auto StringCast<TCHAR,128,ANSICHAR>(const From *)’ being compiled
with
[
From=ANSICHAR
]
[2/9] Resource Default.rc2
LogInit: Warning: Still incompatible or missing module: ObstacleAssault
LogCore: Engine exit requested (reason: EngineExit() was called)
LogExit: Preparing to exit.

Have a look at this and see if it is the same issue:

Compiling issue. UE5.3 - Unreal Courses / Ask - GameDev.tv

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.

Privacy & Terms