# Unable to create project files for 4.8 preview 3

**URL:** <https://forums.unrealengine.com/t/unable-to-create-project-files-for-4-8-preview-3/319818>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [May 26, 2015, 6:39pm UTC](https://forums.unrealengine.com/t/unable-to-create-project-files-for-4-8-preview-3/319818 "2015-05-26T18:39:32Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_f28231101](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f28231101](https://forums.unrealengine.com/u/anonymous_user_f28231101)\
**Post date:** [May 26, 2015, 6:39pm UTC](https://forums.unrealengine.com/t/unable-to-create-project-files-for-4-8-preview-3/319818/1 "2015-05-26T18:39:32Z")

</div>

I have a problem updating my project to 4.8 preview 3. I haven’t tested preview 1 or preview 2 so I cannot tell if the problem is specific to preview 3:

When I try to generate the new project files for version 4.8 via the windows right click context menu I get the following error message:

Running F:/Programme/Unreal Engine/4.8/Engine/Binaries/DotNET/UnrealBuildTool.exe -projectfiles -project=“F:/Unreal\_Projects/Unreal\_Space/Unreal\_Space.uproject” -game -rocket -progress  
Discovering modules, targets and source code for game…  
UnrealBuildTool Exception: ERROR: Failed to create temporary batch file to harvest environment variables (“ERROR: Unable to convert path C:\Programme\Microsoft Visual Studio 12.0\Common7\Tools../…/VC/bin/x86\_amd64/vcvarsx86\_amd64.bat to 8.3 format”)

Generating project files for engine version 4.7 and 4.6 works fine so I don’t think there is a problem with the environment variables.

Can anyone help with that?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_41845f4a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_41845f4a](https://forums.unrealengine.com/u/anonymous_user_41845f4a)\
**Post date:** [May 26, 2015, 7:45pm UTC](https://forums.unrealengine.com/t/unable-to-create-project-files-for-4-8-preview-3/319818/2 "2015-05-26T19:45:02Z")

</div>

Hi ,

I attempted taking a project that was made in 4.7.6 and converting it to 4.8 Preview 3 without any issues. Is this only happening on one project or can you get this to happen with multiple, such as a brand new project? Also, what version are you converting from? I’ll need this information to assist you further this with this issue.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_f28231101](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f28231101](https://forums.unrealengine.com/u/anonymous_user_f28231101)\
**Post date:** [May 26, 2015, 9:46pm UTC](https://forums.unrealengine.com/t/unable-to-create-project-files-for-4-8-preview-3/319818/3 "2015-05-26T21:46:39Z")

</div>

Thank you for the quick answer.

I tried several projects. All of them version 4.7. I can switch the engine version back and forth between version 4.7 and 4.6. Only 4.8 does not work.

This is also the case for freshly created projects. If I try to create a 4.8 project, the project creation fails with the same error.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_41845f4a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_41845f4a](https://forums.unrealengine.com/u/anonymous_user_41845f4a)\
**Post date:** [May 27, 2015, 12:16pm UTC](https://forums.unrealengine.com/t/unable-to-create-project-files-for-4-8-preview-3/319818/4 "2015-05-27T12:16:34Z")

</div>

If that is the case, something may of gone wrong with the installation. Can you try uninstalling and reinstalling 4.8 Preview 3? If this doesn’t fix the issue, I’ll continue to assist you, but it would be best to get the most simple solutions out of the way first.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_f28231101](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f28231101](https://forums.unrealengine.com/u/anonymous_user_f28231101)\
**Post date:** [May 27, 2015, 7:18pm UTC](https://forums.unrealengine.com/t/unable-to-create-project-files-for-4-8-preview-3/319818/5 "2015-05-27T19:18:45Z")

</div>

I reinstalled 4.8. This time preview 4 since it was just released. Unfortunatly, the error persists.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_41845f4a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_41845f4a](https://forums.unrealengine.com/u/anonymous_user_41845f4a)\
**Post date:** [May 27, 2015, 7:35pm UTC](https://forums.unrealengine.com/t/unable-to-create-project-files-for-4-8-preview-3/319818/6 "2015-05-27T19:35:49Z")

</div>

Ok, was worth a shot. Up next, can you get your launcher logs? You can see how to do that at the following link.

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — https://unrealcommunity.wiki/! You will be able to find content from...

Other than that, since it may take some time to find out why exactly this is happening by looking at the logs, can you try downloading the source version of 4.8 through Github and seeing if that will work for you? The link below can explain how to do this:

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — https://unrealcommunity.wiki/! You will be able to find content from...

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_f28231101](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f28231101](https://forums.unrealengine.com/u/anonymous_user_f28231101)\
**Post date:** [May 27, 2015, 8:18pm UTC](https://forums.unrealengine.com/t/unable-to-create-project-files-for-4-8-preview-3/319818/7 "2015-05-27T20:18:52Z")

</div>

I attached the logs written while I was trying to create a new project. I briefly looked through the log file but saw nothing related to the failed attempt. However, I might have looked at the wrong places. I tried to create a project two times while logging was active.  
link text

I will try building from source but it might take a while to set everything up.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_41845f4a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_41845f4a](https://forums.unrealengine.com/u/anonymous_user_41845f4a)\
**Post date:** [May 27, 2015, 8:21pm UTC](https://forums.unrealengine.com/t/unable-to-create-project-files-for-4-8-preview-3/319818/8 "2015-05-27T20:21:14Z")

</div>

This is completely a shot in the dark, but can you try running the editor in administrative mode? Seems some things aren’t being loaded and it could be related, according the log is isn’t being ran with the rights enabled.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_f28231101](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f28231101](https://forums.unrealengine.com/u/anonymous_user_f28231101)\
**Post date:** [May 27, 2015, 8:46pm UTC](https://forums.unrealengine.com/t/unable-to-create-project-files-for-4-8-preview-3/319818/9 "2015-05-27T20:46:07Z")

</div>

It did not work. I attached the launcher log from the most recent try.link text

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_f28231101](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f28231101](https://forums.unrealengine.com/u/anonymous_user_f28231101)\
**Post date:** [May 27, 2015, 9:10pm UTC](https://forums.unrealengine.com/t/unable-to-create-project-files-for-4-8-preview-3/319818/10 "2015-05-27T21:10:12Z")

</div>

I tried generating the project files to build from source and got the same error message.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_41845f4a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_41845f4a](https://forums.unrealengine.com/u/anonymous_user_41845f4a)\
**Post date:** [May 28, 2015, 1:25pm UTC](https://forums.unrealengine.com/t/unable-to-create-project-files-for-4-8-preview-3/319818/11 "2015-05-28T13:25:14Z")

</div>

According to your launcher logs, it doesn’t seem like anything is wrong there.

What exactly happens when you try to create a new project on 4.8? What steps do you take and how far do you get before it gives you an error? Does the editor crash? If so I’ll need you to give me your crash logs. You can find out how to get those by reading the information at this link: [A new, community-hosted Unreal Engine Wiki - Announcements - Epic Developer Community Forums](https://wiki.unrealengine.com/Locating_Project_Logs)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_f28231101](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f28231101](https://forums.unrealengine.com/u/anonymous_user_f28231101)\
**Post date:** [May 28, 2015, 2:11pm UTC](https://forums.unrealengine.com/t/unable-to-create-project-files-for-4-8-preview-3/319818/12 "2015-05-28T14:11:07Z")

</div>

I don’t even get to the editor.

After I select the name of the project and press ‘create’ a few directories and files are created. But at the point where usually VS should open I get a small error notification window with the message shown in the first post.

I can successfully create a blueprint project and start the editor but as soon as I add code to the project the project file generation fails again.

If they might be useful, I can upload the editor logs from a created blueprint project.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_41845f4a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_41845f4a](https://forums.unrealengine.com/u/anonymous_user_41845f4a)\
**Post date:** [May 28, 2015, 2:28pm UTC](https://forums.unrealengine.com/t/unable-to-create-project-files-for-4-8-preview-3/319818/13 "2015-05-28T14:28:19Z")

</div>

If I am understanding you correctly, you’re able to create projects based off blueprints, but not able to create projects that are C++ based? I was under the impression that you weren’t able to create any at all. This could narrow down the issue a lot if so.

Edit: Well, just re-read and that is obviously the case. At least now I have a frame of reference of where the issue is happening.

Edit 2: Should have a possible fix shortly

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_41845f4a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_41845f4a](https://forums.unrealengine.com/u/anonymous_user_41845f4a)\
**Post date:** [May 28, 2015, 4:56pm UTC](https://forums.unrealengine.com/t/unable-to-create-project-files-for-4-8-preview-3/319818/14 "2015-05-28T16:56:23Z")

</div>

Try merging this into your source version of the editor:  
.com/EpicGames/UnrealEngine/commit/f7528b69d25b5258626aabb6b6e70ce715dc40ef  
You can either manually do the merge by removing/adding the specified code or you can merge it using Github. After that, try compiling and see if it’ll work. It will take some time to compile however as this will be compiling the entire editor.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_f28231101](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f28231101](https://forums.unrealengine.com/u/anonymous_user_f28231101)\
**Post date:** [May 28, 2015, 8:09pm UTC](https://forums.unrealengine.com/t/unable-to-create-project-files-for-4-8-preview-3/319818/15 "2015-05-28T20:09:32Z")

</div>

Great, generating the project files for the source version is now working. Thank you very much.

Is there also a way to make this work for my existing projects?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_41845f4a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_41845f4a](https://forums.unrealengine.com/u/anonymous_user_41845f4a)\
**Post date:** [May 28, 2015, 8:11pm UTC](https://forums.unrealengine.com/t/unable-to-create-project-files-for-4-8-preview-3/319818/16 "2015-05-28T20:11:19Z")

</div>

This will be eventually integrated into one of the new versions of the editor, but for now, using the source version of the editor will be the only workaround. You may be able to convert your projects over, but be sure to make a copy first just in case they’re not compatible.

---

<div class="post-metadata">

**Author:** ![Skrox](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Skrox](https://forums.unrealengine.com/u/Skrox)\
**Post date:** [June 13, 2015, 5:16pm UTC](https://forums.unrealengine.com/t/unable-to-create-project-files-for-4-8-preview-3/319818/17 "2015-06-13T17:16:26Z")

</div>

I’m having the same problem as where I can successfully create blueprint projects but c++ projects give me a compile error before it even creates them. I would try the fix you suggested but github is giving me 404.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_41845f4a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_41845f4a](https://forums.unrealengine.com/u/anonymous_user_41845f4a)\
**Post date:** [June 15, 2015, 1:42pm UTC](https://forums.unrealengine.com/t/unable-to-create-project-files-for-4-8-preview-3/319818/18 "2015-06-15T13:42:33Z")

</div>

If the Github link gives you a 404, this means you’re not signed into your Github account. Try signing in and then clicking the Github link.
