UBT Failing

I use Rider on MacOS 27.2.1 and Unreal 5.8.4. Unreal Build Tool started refusing to build my C++ Unreal project with an error about an argument called ShouldHotReloadFromIDE being null. It hasn’t done this before and I’ve tried everything I know (invalidated all caches, deleted temporary folders, tried cloning again from git, going back to a previous version) yet nothing works. Building from Terminal works with additional parameter -NoHotReloadFromIDE, but adding the same parameter to RIder build’s optional parameters does nothing. This doesn’t happen on other devices.

0>Unhandled exception: ArgumentException: The value cannot be an empty string. (Parameter 'path')
0>   at System.ArgumentException.ThrowNullOrEmptyException(String argument, String paramName)
0>   at System.IO.Path.GetFullPath(String path)
0>   at EpicGames.Core.FileReference..ctor(String inPath)
0>   at UnrealBuildTool.HotReload.ShouldDoHotReloadFromIDE(BuildConfiguration BuildConfiguration, TargetDescriptor TargetDesc, ILogger Logger)
0>   at UnrealBuildTool.HotReload.GetDefaultMode(TargetDescriptor TargetDescriptor, TargetMakefile Makefile, BuildConfiguration BuildConfiguration, ILogger Logger)
0>   at UnrealBuildTool.HotReload.Setup(TargetDescriptor TargetDescriptor, TargetMakefile Makefile, List`1 Actions, BuildConfiguration BuildConfiguration, ILogger Logger)
0>   at UnrealBuildTool.BuildMode.BuildAsync(List`1 Targets, BuildConfiguration BuildConfiguration, BuildOptions Options, FileReference WriteOutdatedActionsFile, CppDependencyCache cppDependencyCache, ILogger Logger, String ActionTypeFilter, ActionExecutor executor)
0>   at UnrealBuildTool.BuildMode.ExecuteAsync(CommandLineArguments Arguments, ILogger Logger)
0>   at UnrealBuildTool.BuildMode.ExecuteAsync(CommandLineArguments Arguments, ILogger Logger)
0>   at UnrealBuildTool.UnrealBuildTool.Main(String[] ArgumentsArray)
0>
0>Result: Failed (OtherCompilationError)