Open hypoxiastars opened 3 months ago
Same here, and I see there is a lot of people with this issue...
My workaround is (Unreal 5.3):
Looks like they have an issue in the way they tell the UnrealBuildTool to build the plugin, wrong parameters.
Getting the same thing in 5.4. Honestly have never had the rider plugin ever just be able to install after a fresh install of the ide. It either gives me this same error message or gets stuck at 73% when installing for hours. idea.log
@linqen unfortunately, we use officially provided tools by Epic Games and use their recommended arguments :( Starting with UE 5.3+, UBT changed the way it processes and compiles managed dependencies (aka build.cs and target.cs files), but this issue doesn't look like it.
@hypoxiastars what's your version of Rider? Would you be so kind as to try verifying UE installation and trying again? Epic Games Launcher > UE 5.3 >... > Verify And try to install it once again?
@omgAyane in your case, you get an internal compiler crash (the message should be visible in the RiderLink installation panel). It's either:
Oh interesting okay. I'm using ue5.4 and have VS2022 17.9.5. VS and Rider were both installed on my C drive. Which has 712gb free of 930gb.
@omgAyane huh... Do you have swap enabled and what's your RAM size? I used to see the message with VC internal crash all the time during UE4.20-4.22 era, but I thought it became much better lately. It was mostly because UE is trying to compile all the files in a single pass using Unity blobs, and we were working this around with decreasing the size of the blob.
64gb of RAM. Where can I check for the disk swap is enabled? Is that a page file thing?
Running AutomationTool... Using bundled DotNet SDK version: 6.0.302 Starting AutomationTool... Parsing command line: BuildPlugin -Unversioned -Plugin=C:\Users\27149\AppData\Local\Temp\UnrealLink\Kiboxub\RiderLink.uplugin -Package=C:\Users\27149\AppData\Local\Temp\UnrealLink\Jirakaf Initializing script modules... Unhandled exception: System.Exception: Script module "E:\UE_5.3\Engine\Binaries\DotNET\AutomationTool\AutomationScripts\CookedEditor\CookedEditor.Automation.dll" not found for record "E:\UE_5.3\Engine\Intermediate\ScriptModules\CookedEditor.Automation.json" at UnrealBuildBase.CompileScriptModule.Build(RulesFileType RulesFileType, HashSet
1 FoundProjects, IEnumerable
1 BaseDirectories, IEnumerable1 DefineConstants, BuildFlags BuildFlags, Boolean& bBuildSuccess, Action
1 OnBuildingProjects, ILogger Logger) in E:\UE_5.3\Engine\Source\Programs\Shared\EpicGames.Build\System\CompileScriptModules.cs:line 350 at UnrealBuildBase.CompileScriptModule.InitializeScriptModules(RulesFileType RulesFileType, String ScriptsForProjectFileName, List1 AdditionalScriptsFolders, Boolean bForceCompile, Boolean bNoCompile, Boolean bUseBuildRecords, Boolean& bBuildSuccess, Action
1 OnBuildingProjects, ILogger Logger) in E:\UE_5.3\Engine\Source\Programs\Shared\EpicGames.Build\System\CompileScriptModules.cs:line 196 at AutomationToolDriver.Program.MainProc() in E:\UE_5.3\Engine\Source\Programs\AutomationTool\Program.cs:line 478 AutomationTool executed for 0h 0m 0s AutomationTool exiting with ExitCode=1 (Error_Unknown) BUILD FAILED 无法为 E:\UE_5.3 构建 RiderLink 插件 Failed to build RiderLink plugin