Error when building: -waitmutex" exited with code 5 . Please verify that you have sufficient rights to run this command

Hi, I have this problem too. Finally, I fingure it out by moving #include "YourActorName.generated.h" to he bottom of
header file list.
Hope this help.