Generating project files with either Rider or Visual Studio results in following error
- Exception while generating include data for UnrealEditor: System.ArgumentNullException: Value cannot be null. (Parameter ‘element’)
Full Log:
Running C:/Program Files/Epic Games/UE_5.3/Engine/Build/BatchFiles/Build.bat -projectfiles -project="C:/Users/user/Documents/Unreal Projects/Lyra53/Lyra53.uproject" -game -rocket -progress -log="C:\Users\user\Documents\Unreal Projects\Lyra53/Saved/Logs/UnrealVersionSelector-2023.10.15-03.44.36.log"
Using bundled DotNet SDK version: 6.0.302
Running UnrealBuildTool: dotnet "..\..\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll" -projectfiles -project="C:/Users/user/Documents/Unreal Projects/Lyra53/Lyra53.uproject" -game -rocket -progress -log="C:\Users\user\Documents\Unreal Projects\Lyra53/Saved/Logs/UnrealVersionSelector-2023.10.15-03.44.36.log"
Log file: C:\Users\user\Documents\Unreal Projects\Lyra53\Saved\Logs\UnrealVersionSelector-2023.10.15-03.44.36.log
Log file: C:\Users\user\AppData\Local\UnrealBuildTool\Log_GPF.txt
Generating VisualStudio2022 project files:
Discovering modules, targets and source code for project...
LyraGameEOS and dynamic target options are disabled when packaging from an installed version of the engine
Compiling GameFeaturePlugins in branch ++UE5+Release-5.3
Binding IntelliSense data...
Exception while generating include data for UnrealEditor: System.ArgumentNullException: Value cannot be null. (Parameter 'element')
at System.Attribute.GetCustomAttributes(MemberInfo element, Type attributeType, Boolean inherit)
at System.Reflection.CustomAttributeExtensions.GetCustomAttributes[T](MemberInfo element)
at UnrealBuildTool.ModuleRules.IsValidForTarget(Type ModuleType, ReadOnlyTargetRules TargetRules, String& InvalidReason) in C:\Program Files\Epic Games\UE_5.3\Engine\Source\Programs\UnrealBuildTool\Configuration\ModuleRules.cs:line 1623
at UnrealBuildTool.UEBuildTarget.AddAllValidModulesToTarget(ILogger Logger) in C:\Program Files\Epic Games\UE_5.3\Engine\Source\Programs\UnrealBuildTool\Configuration\UEBuildTarget.cs:line 3886
at UnrealBuildTool.UEBuildTarget.PreBuildSetup(ILogger Logger) in C:\Program Files\Epic Games\UE_5.3\Engine\Source\Programs\UnrealBuildTool\Configuration\UEBuildTarget.cs:line 3354
at UnrealBuildTool.UEBuildTarget.Create(TargetDescriptor Descriptor, Boolean bSkipRulesCompile, Boolean bForceRulesCompile, Boolean bUsePrecompiled, UnrealIntermediateEnvironment IntermediateEnvironment, ILogger Logger) in C:\Program Files\Epic Games\UE_5.3\Engine\Source\Programs\UnrealBuildTool\Configuration\UEBuildTarget.cs:line 1366
at UnrealBuildTool.UEBuildTarget.Create(TargetDescriptor Descriptor, Boolean bSkipRulesCompile, Boolean bForceRulesCompile, Boolean bUsePrecompiled, ILogger Logger) in C:\Program Files\Epic Games\UE_5.3\Engine\Source\Programs\UnrealBuildTool\Configuration\UEBuildTarget.cs:line 1233
at UnrealBuildTool.ProjectFileGenerator.<>c__DisplayClass82_0.<GenerateIntelliSenseData>b__0(Int32 TargetIndex) in C:\Program Files\Epic Games\UE_5.3\Engine\Source\Programs\UnrealBuildTool\ProjectFiles\ProjectFileGenerator.cs:line 2134
Binding IntelliSense data... 75%
Creating common properties file...
Creating common properties file... 0%
Writing project files...
I’ve tried verifying unreal, updating visual studio and dozen other things, making new project or blank project, same issue.
This results in rider not working with unreal at all
Any help/advice would be great
- Thanks