K
K
Kirill Legend2020-04-08 14:36:57
unreal engine
Kirill Legend, 2020-04-08 14:36:57

C++ project not created in Unreal Engine. What to do?

C++ project not created in Unreal Engine. What to do? Everything is fine with blueprint.
And with c++, an error pops up:
The project could not be compiled. Would you like to open it in Visual Studio?

Running C:/Program Files/Epic Games/UE_4.24/Engine/Binaries/DotNET/UnrealBuildTool.exe Development Win64 -Project="H:/UE4/MyProject/MyProject.uproject" -TargetType=Editor -Progress -NoHotReloadFromIDE
ERROR: Unhandled exception: System.Exception: Unable to open log file for writing (C:\Program Files\Epic Games\UE_4.24\Engine\Programs\UnrealBuildTool\Log.txt) ---> System.UnauthorizedAccessException: ?⪠?? ?? ? ????㯥?? ???? "C:\Program Files\Epic Games\UE_4.24\Engine\Programs\UnrealBuildTool\Log.txt".
? System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
? System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
? System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
? System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
? System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
? System.IO.StreamWriter..ctor(String path)
? Tools.DotNETCommon.Log.AddFileWriter(String Name, FileReference OutputFile) ? D:\Build\++UE4\Sync\Engine\Saved\CsTools\Engine\Source\Programs\DotNETCommon\DotNETUtilities\Log.cs:??ப? 248
--- ????? ??????஢?? ????७???? ?⥪? ?᪫?祭?? ---
? Tools.DotNETCommon.Log.AddFileWriter(String Name, FileReference OutputFile) ? D:\Build\++UE4\Sync\Engine\Saved\CsTools\Engine\Source\Programs\DotNETCommon\DotNETUtilities\Log.cs:??ப? 257
? UnrealBuildTool.BuildMode.Execute(CommandLineArguments Arguments) ? D:\Build\++UE4\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\Modes\BuildMode.cs:??ப? 109
? UnrealBuildTool.UnrealBuildTool.Main(String[] ArgumentsArray) ? D:\Build\++UE4\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\UnrealBuildTool.cs:??ப? 517

here is the full message. I don't have a D drive.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
chupasaurus, 2020-04-08
@chupasaurus

The very first link in the search engine by the name of the engine and the error solves the problem.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question