Hot-reloadable files are expected to contain a hyphen (UE5.4 fom source code)

I found adding the follow argument “Hot-Reload” does works!!

-ModuleWithSuffix=MyProjectName,XXXX

Where XXXX seems to be a random number (but different to preexistent in Win64 folder)

Complete command:

...\Build.bat" -ModuleWithSuffix=MyProjectName,XXXX MyProjectNameEditor Win64 Development "...\MyProjectName.uproject" -waitmutex

It woks with CMD:

Now i need it work with Rider…

Any Idea to get that is welcome!!

Thank you so much!!


EDITED 1:


Here i found a solution for vscode in Linux… i need the same but for Rider in Windows (JetBrains Rider 2024.1.4)


EDITED 2:


Where can i modify this? it is read only…

I have a bat file and it does work…

@echo off

set UNREALDIR=C:\UnrealEngine-5.4

::give a random number between 0000 and 9999
set /A NUM=%RANDOM% %% 9999-0000

::Clean Compilation
set "WITHOUTEDITOR=CatharsisEditor Win64 Development "%USERPROFILE%\Desktop\UNREAL PROJECT\Catharsis544\Catharsis.uproject" -waitmutex -NoHotReload"

::Hot Reload
set "WITHEDITOR= -ModuleWithSuffix=Catharsis,%NUM%  CatharsisEditor Win64 Development "%USERPROFILE%\Desktop\UNREAL PROJECT\Catharsis544\Catharsis.uproject" -waitmutex"

TASKLIST | FINDSTR "UnrealEditor.exe" && set ARGUMENTS=%WITHEDITOR% || set ARGUMENTS=%WITHOUTEDITOR%

call "%UNREALDIR%\Engine\Build\BatchFiles\Build.bat" %ARGUMENTS%

pause

I just need Rider use it

Thank you!!