So, no idea what is going on. I originally thought I was only having problems updating my projects from 4.14.3 to 4.15.1, so I was going to just start from scratch in 4.15.1. Well, guess what? I can’t. This does not happen in previous versions. Only 4.15. Blank Code projects work just fine. I can add another C++ class just fine. I tried to verify my install, it took a little bit, it downloaded some stuff, nothing changed.
Every time I try to create a C++ class in a blank Blueprint project I get a pop-up saying, it was created but could not be compiled and then this error msg in output log, which is also the same message that occurs when trying to rebuild/regenerate project:
Running C:/Program Files/Epic Games/UE_4.15/Engine/Binaries/DotNET/UnrealBuildTool.exe -projectfiles -project="H:/Hello/Test/Test.uproject" -game -rocket -progress
Discovering modules, targets and source code for project...
ERROR: System.UnauthorizedAccessException: Access to the path 'C:\Program Files\Epic Games\UE_4.15\Engine\Intermediate\ProjectFiles\Timestamp' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at 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)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
at System.IO.File.Create(String path)
at UnrealBuildTool.UnrealBuildTool.RunUBT(String[] Arguments, FileReference ProjectFile)
This is kind of annoying.
Repro steps:
Just watch video please: OP 4.15 Bug - YouTube
- 4.15 Blank Blueprint Project
- Add C++ Class
- Get Rekt