UE4.25 dbsbuild error: template path is not valid

Hi!

I’ve recently installed 4.25 and now I’m not able to even create an blank C++ project :frowning:

I was using 4.20.3 prior to that with no issue (I reinstalled it to check and a from scratch C++ project just compiles)

Here is the window I get after creating a C++ project:
“dbsbuild: error: template path is not valid: invalid Folder UE_4.25\Engine\Programs\UnrealBuildTool\SndbsTemplates”

If I open in Visual Studio, it will the same output when compiling the project:

So I don’t know what to do :frowning:

I really have no folder “SndbsTemplates” in UnrealBuildTool (even if I create an empty one, I still got the same error which is weird)

“Funny” thing is that I use SNDBS for unrelated Unreal project, so I have SNDBS installed on my machine… but I was hoping that “UE_4.25\Engine\Source\Programs\UnrealBuildTool\Configuration\BuildConfiguration.cs” bAllowSNDBS = false would have skipped any SNDBS step.

I’ve tried installing Windows SDK 10.0.18362 and NET 4.6.2 Developer Pack just to be sure to have all prerequisite, with no luck.

Do you ever experienced similar issue?
And how to fix it?

Thanks!

Hi!
Changing the default value of bAllowSNDBS to false in UE_4.25\Engine\Source\Programs\UnrealBuildTool\Configuration\BuildConfiguration.cs will only affect the build system if you were to recompile the UnrealBuildTool before using it.
What you need to do instead is change the value in one of the BuildConfiguration.xml files described on this page: https://docs.unrealengine.com/en-US/…ion/index.html

I was running into the same issue as you and this configuration fixed it:


<?xml version="1.0" encoding="utf-8" ?>
<Configuration xmlns="https://www.unrealengine.com/BuildConfiguration">
  <BuildConfiguration>
    <bAllowSNDBS>false</bAllowSNDBS>
  </BuildConfiguration>
</Configuration>


Cheers