UnrealBuildTool Error when compiling (4.12)

Trying to compile in Unreal Editor 4 (Conan Exiles Dev Kit Version) and it’s throwing me this error when compiling:

  • Could not read build version
  • Creating makefile for hot reloading (no existing makefile)
  • ERROR: System.NullReferenceException: Object reference not set to instance of object.
  • at UnrealBuildTool.RulesAssembly.CreateTargetRules(String TargetName,TargetInfo Target, Boolean binEditorRecompile, FileReference& TargetFileName)
  • at UnrealBuildTool.RulesAssembly.CreateTargetRules(String TargetName,TargetInfo Target, Boolean binEditorRecompile, FileReference& TargetFileName)
  • at UnrealBuildTool.UEBuildTarget.CrateTarget(TargetDescriptor Desc)
  • at UnrealBuildTool.UnrealBuildTool.RunUBT(Strong], Arguments, FileReference ProjectFile)

Any help with this issue would be most welcome, thanks!