The Compile Single File option in UnrealVS fails if the Engine is located in a directory where there is a space somewhere in the path to the Engine's root directory.


Steps to Reproduce

This requires that the Engine be installed in a location where there is a space in a folder name (eg. D:\Test Installation\UnrealEngine)


  1. Open the solution for a code project in Visual Studio.
  2. Open any code file from the project.
  3. Click the Compile Single File button in the UnrealVS toolbar (this button may need to be added to the toolbar first).

The build fails with an error similar to 'D:\Test' is not recognized as an internal or external command, operable program or batch file.

The build completes successfully.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-64752 in the post.

Login to Vote

ComponentUE - Foundation - Cpp Tools
Affects Versions4.
Target Fix4.21
Fix Commit4426569
Main Commit4450599
Release Commit4426569
CreatedOct 3, 2018
ResolvedOct 4, 2018
UpdatedOct 17, 2018
View Jira Issue