Open SJOEC opened 11 months ago
UBT-UnrealEditor-Win64-Development.txt
here's the log file
Have the same issue
Hello folks!
What version of UE are you using? I mean, is it from source, or from Epic Games Launcher?
Logs say that the crash happened in the line that doesn't correspond to the UE 5.3.1 from EGS.
If you have custom Unreal Engine version, would you be so kind as to add logs to Engine/Source/Programs/UnrealBuildTool/Configuration/UEBuildTarget.cs
file.
In protected void AddAllValidModulesToTarget(ILogger Logger)
function, add
Logger.LogDebug("Check if {Module} is responsible for crash", ModuleName);
before
if (!ModuleRules.IsValidForTarget(RulesType, Rules, out string? InvalidReason))
line
and share the logs again.
@DecoyRS
I only have this problem when directly trying to open the .uproject with Rider.
Here is my log with the addition: Log_GPF.txt
This is the error Rider is showing:
11:20:01.038: Log file: C:\Users\Nikolai\AppData\Local\UnrealBuildTool\Log_GPF.txt 11:20:01.126: Some Platforms were skipped due to invalid SDK setup: IOS, Android, Linux, LinuxArm64. 11:20:01.126: See the log file for detailed information 11:20:01.131: Generating Rider project files: 11:20:01.623: Writing project files... 11:20:01.623: Exception while generating include data for Target:UnrealEditor, Platform: Win64, Configuration: Development 11:20:01.632: System.ArgumentNullException: Value cannot be null. (Parameter 'element') 11:20:01.632: at System.Attribute.GetCustomAttributes(MemberInfo element, Type attributeType, Boolean inherit) 11:20:01.632: at System.Reflection.CustomAttributeExtensions.GetCustomAttributes[T](MemberInfo element) 11:20:01.632: 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 11:20:01.632: at UnrealBuildTool.UEBuildTarget.AddAllValidModulesToTarget(ILogger Logger) in C:\Program Files\Epic Games\UE_5.3\Engine\Source\Programs\UnrealBuildTool\Configuration\UEBuildTarget.cs:line 3886 11:20:01.632: at UnrealBuildTool.UEBuildTarget.PreBuildSetup(ILogger Logger) in C:\Program Files\Epic Games\UE_5.3\Engine\Source\Programs\UnrealBuildTool\Configuration\UEBuildTarget.cs:line 3354 11:20:01.632: 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 11:20:01.632: at UnrealBuildTool.RiderProjectFile.WriteProjectFile(List
1 InPlatforms, List1 InConfigurations, PlatformProjectGeneratorCollection PlatformProjectGenerators, JsonWriterStyle Minimize, ILogger Logger) in C:\Program Files\Epic Games\UE_5.3\Engine\Source\Programs\UnrealBuildTool\ProjectFiles\Rider\RiderProjectFile.cs:line 110 11:20:03.282: Writing project files... 100%
I'm not sure if we are having the same problem. But I was getting similar error messages, and was able to fix it with these steps:
Basically, try uninstalling everything. Reinstall things with Rider being the final step.
I'm not sure if we are having the same problem. But I was getting similar error messages, and was able to fix it with these steps:
- Uninstall Unreal Engine.
- Uninstall Rider.
- Install Visual Studio
- Install Unreal Engine using Visual Studio as the IDE. UE Editor Preferences - Source Code - Visual Studio
- Made a test C++ project using Visual Studio.
- Install Rider.
Basically, try uninstalling everything. Reinstall things with Rider being the final step.
Thanks. It did work.
Thanks for sharing your insights. I also have the same issue. C'mon...reinstall everything? Anyone got an idea how to get rid of this?
Sorry for leaving my comment here. I have the same issue too.
"Failed to build RiderLink plugin" message show me in Only UE 5.3.2 (But another lastest version of UE is working 4.27 / 5.0 / 5.1 / 5.2)
In my Environment
ps. Sorry for bad english
Hey, check my answer here: https://github.com/JetBrains/UnrealLink/issues/278#issuecomment-2085041689
Hey, check my answer here: #278 (comment)
Sorry. Not working...
Hello folks, sorry for taking forever to get back to this issue. It's been years and we're still trying to get a proper repro for this case, as It happens seemingly randomly and it randomly resolves itself after some time e.g. cleaning project doesn't work, rebooting PC doesn't work, leaving PC and doing nothing for couple of hours randomly fixes the issue and allows to update the plugin normally >< Unfortunately, this is not an actionable solution in any shape or form. We're still knee deep in the investigation, though we hope we'll be able to dig to the bottom of it with Epic Games this time.
Hi @DecoyRS , reinstalling the engine worked to me. In my opinion this is related to changes inside the engine and Rider cached information on AppData.
The fix I proposed in my comment didn't even lasted for long...
Hi @DecoyRS , reinstalling the engine worked to me. In my opinion this is related to changes inside the engine and Rider cached information on AppData.
The fix I proposed in my comment didn't even lasted for long...
A little late to the game but wanted to report same here! Reinstalling the 5.4.4 engine worked for me.
Running AutomationTool... Using bundled DotNet SDK version: 6.0.302 Starting AutomationTool... Parsing command line: BuildPlugin -Unversioned -Plugin=C:\Users\johan\AppData\Local\Temp\UnrealLink\Dudovyl\RiderLink.uplugin -Package=C:\Users\johan\AppData\Local\Temp\UnrealLink\Porupuz Initializing script modules... Total script module initialization time: 0.26 s. Executing commands... Copying 394 file(s) using max 64 thread(s) Reading plugin from C:\Users\johan\AppData\Local\Temp\UnrealLink\Porupuz\HostProject\Plugins\RiderLink\RiderLink.uplugin... Building plugin for host platforms: Win64 Running: E:\Unreal\UE_5.3\Engine\Binaries\ThirdParty\DotNet\6.0.302\windows\dotnet.exe "E:\Unreal\UE_5.3\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll" UnrealEditor Win64 Development -Project="C:\Users\johan\AppData\Local\Temp\UnrealLink\Porupuz\HostProject\HostProject.uproject" -plugin="C:\Users\johan\AppData\Local\Temp\UnrealLink\Porupuz\HostProject\Plugins\RiderLink\RiderLink.uplugin" -noubtmakefiles -manifest="C:\Users\johan\AppData\Local\Temp\UnrealLink\Porupuz\HostProject\Saved\Manifest-UnrealEditor-Win64-Development.xml" -nohotreload -log="C:\Users\johan\AppData\Roaming\Unreal Engine\AutomationTool\Logs\E+Unreal+UE_5.3\UBT-UnrealEditor-Win64-Development.txt" Log file: C:\Users\johan\AppData\Roaming\Unreal Engine\AutomationTool\Logs\E+Unreal+UE_5.3\UBT-UnrealEditor-Win64-Development.txt Total execution time: 5.10 seconds Unhandled exception: System.ArgumentNullException: Value cannot be null. (Parameter 'element') at System.Attribute.GetCustomAttributes(MemberInfo element, Type attributeType, Boolean inherit) Failed to build RiderLink plugin for E:\Unreal\UE_5.3 Failed to build RiderLink plugin
I have my projects in the disk "E:".