AlexanderDzhoganov / ComfyTextures

Unreal Engine ⚔️ ComfyUI - Automatic texturing using generative diffusion models
MIT License
549 stars 65 forks source link

Failed to build in VS2022 #11

Open jennnital opened 3 months ago

jennnital commented 3 months ago

Please attach the editor logs from <ProjectDir>\Saved\Logs\MyProject.log. Build started at 10:31... 1>------ Build started: Project: ScriptGeneratorUbtPlugin.ubtplugin, Configuration: Development Any CPU ------ 2>------ Skipped Build: Project: UE5, Configuration: BuiltWithUnrealBuildTool Win64 ------ 2>Project not selected to build for this solution configuration 3>------ Build started: Project: UE5Rules, Configuration: Development Any CPU ------ 4>------ Build started: Project: MyProject, Configuration: Development_Editor x64 ------ 5>------ Build started: Project: BuildGraph.Automation, Configuration: Development Any CPU ------ 6>------ Build started: Project: AutomationScripts.Automation, Configuration: Development Any CPU ------ 1>ScriptGeneratorUbtPlugin.ubtplugin -> C:\Program Files\Epic Games\UE_5.3\Engine\Binaries\DotNET\UnrealBuildTool\Plugins\ScriptGeneratorUbtPlugin\ScriptGeneratorUbtPlugin.dll 4>Using bundled DotNet SDK version: 6.0.302 4>Running UnrealBuildTool: dotnet "....\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll" MyProjectEditor Win64 Development -Project="C:\Users...\Documents\ComfyTextures\MyProject.uproject" -WaitMutex -FromMsBuild 4>Log file: C:\Users...\AppData\Local\UnrealBuildTool\Log.txt 4>Using 'git status' to determine working set for adaptive non-unity build (C:\Users...\Documents\ComfyTextures). 4>Creating makefile for MyProjectEditor (no existing makefile) 5>C:\Program Files\Epic Games\UE_5.3\Engine\Source\Programs\AutomationTool\BuildGraph\BgScriptReader.cs(1640,37,1640,42): error CS8604: Possible null reference argument for parameter 'other' in 'void HashSet.UnionWith(IEnumerable other)'. 5>Done building project "BuildGraph.Automation.csproj" -- FAILED. 3>C:\Program Files\Epic Games\UE_5.3\Engine\Source\ThirdParty\Windows\VisualStudioDTE\VisualStudioDTE.Build.cs(55,26,55,140): warning CA1416: This call site is reachable on all platforms. 'Registry.GetValue(string, string?, object?)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416) 3>C:\Program Files\Epic Games\UE_5.3\Engine\Source\ThirdParty\NVIDIA\Rivermax\RivermaxLib.build.cs(17,33,17,142): warning CA1416: This call site is reachable on all platforms. 'Registry.GetValue(string, string?, object?)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416) 3>C:\Program Files\Epic Games\UE_5.3\Engine\Source\ThirdParty\Windows\XInput\XInput.Build.cs(27,10,27,92): warning CA1416: This call site is reachable on all platforms. 'WindowsExports.TryGetWindowsSdkDir(string, out Version?, out DirectoryReference?)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416) 3>C:\Program Files\Epic Games\UE_5.3\Engine\Plugins\Developer\VisualStudioCodeSourceCodeAccess\Source\VisualStudioCodeSourceCodeAccess\VisualStudioCodeSourceCodeAccess.Build.cs(42,51,42,75): warning CA1416: This call site is reachable on all platforms. 'RegistryHive.ClassesRoot' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416) 3>C:\Program Files\Epic Games\UE_5.3\Engine\Plugins\Developer\VisualStudioCodeSourceCodeAccess\Source\VisualStudioCodeSourceCodeAccess\VisualStudioCodeSourceCodeAccess.Build.cs(42,77,42,100): warning CA1416: This call site is reachable on all platforms. 'RegistryView.Registry32' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416) 3>C:\Program Files\Epic Games\UE_5.3\Engine\Plugins\Developer\VisualStudioCodeSourceCodeAccess\Source\VisualStudioCodeSourceCodeAccess\VisualStudioCodeSourceCodeAccess.Build.cs(42,27,42,101): warning CA1416: This call site is reachable on all platforms. 'RegistryKey.OpenBaseKey(RegistryHive, RegistryView)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416) 3>C:\Program Files\Epic Games\UE_5.3\Engine\Plugins\Developer\VisualStudioCodeSourceCodeAccess\Source\VisualStudioCodeSourceCodeAccess\VisualStudioCodeSourceCodeAccess.Build.cs(42,27,42,120): warning CA1416: This call site is reachable on all platforms. 'RegistryKey.OpenSubKey(string)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416) 3>C:\Program Files\Epic Games\UE_5.3\Engine\Source\Runtime\Core\Core.Build.cs(211,36,211,146): warning CA1416: This call site is reachable on all platforms. 'Registry.GetValue(string, string?, object?)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416) 6>C:\Program Files\Epic Games\UE_5.3\Engine\Source\Programs\AutomationTool\Scripts\CheckForHacks.cs(87,26,87,45): error CA2017: Number of parameters supplied in the logging message template do not match the number of named placeholders (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2017) 6>Done building project "AutomationScripts.Automation.csproj" -- FAILED. 3>UE5Rules -> C:\Program Files\Epic Games\UE_5.3\Engine\Intermediate\Build\BuildRulesProjects\UE5Rules\bin\Development\UE5Rules.dll 3>Done building project "UE5Rules.csproj". 7>------ Build started: Project: UE5ProgramRules, Configuration: Development Any CPU ------ 7>C:\Program Files\Epic Games\UE_5.3\Engine\Source\Programs\Shared\EpicGames.Perforce.Native\DotNetPerforceLib.Target.cs(5,14,5,37): warning CA1050: Declare types in namespaces (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1050) 7>C:\Program Files\Epic Games\UE_5.3\Engine\Source\Programs\Shared\EpicGames.Perforce.Native\DotNetPerforceLib.Build.cs(5,14,5,31): warning CA1050: Declare types in namespaces (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1050) 4>Target is up to date 4>Total execution time: 4.18 seconds 7>UE5ProgramRules -> C:\Program Files\Epic Games\UE_5.3\Engine\Intermediate\Build\BuildRulesProjects\UE5ProgramRules\bin\Development\UE5ProgramRules.dll 7>Done building project "UE5ProgramRules.csproj". 8>------ Build started: Project: MarketplaceRules, Configuration: Development Any CPU ------ 8>MarketplaceRules -> C:\Program Files\Epic Games\UE_5.3\Engine\Intermediate\Build\BuildRulesProjects\MarketplaceRules\bin\Development\MarketplaceRules.dll 9>------ Build started: Project: MyProjectModuleRules, Configuration: Development Any CPU ------ 9>MyProjectModuleRules -> C:\Users...\Documents\ComfyTextures\Intermediate\Build\BuildRulesProjects\MyProjectModuleRules\bin\Development\MyProjectModuleRules.dll ========== Build: 6 succeeded, 2 failed, 40 up-to-date, 1 skipped ========== ========== Build completed at 10:32 and took 09.435 seconds ==========

JimWang151 commented 2 months ago

hey,bro.same as me.How you solve this issue?