unrealbuild function:
function unrealbuild{
UNR_PATH=PathToUnrealEngine;
RANDNUM=$(( ( RANDOM % 1000 ) + 1000 ));
CURR_DIR=pwd
;
PROJ_NAME=$(basename ${1%.uproject});
${UNR_PATH}/Engine/Build/BatchFiles/Linux/Build.sh $PROJ_NAME -ModuleWithSuffix=$PROJ_NAME,$RANDNUM Linux Development -editorrecompile -canskiplink “${CURR_DIR}/${PROJ_NAME}.uproject” -progress
}
If I omit this line(‘ModuleWithSuffix=$PROJ_NAME,$RANDNUM’) from the uneralbuild function then it compile the c++ source file without having any error. However, it also disable the hot reload function.
*** The above build function works for 4.19 version with hot reload.
*** I found this line throw this build exception.
*** Also, I didn’t figure out the problem from my log file. link text