AHUD::ReceiveDrawHUD not working on 4.8

Hi, why the ReceiveDrawHUD isn’t working anymore on UE 4.8?

The compiler gives me this error:


Error 1 error C3668: 'AUAHUD::ReceiveDrawHUD' : method with override specifier 'override' did not override any base class methods

ReceiveDrawHUD is intended to be only overriden in blueprints. In C++, you should override DrawHUD instead:



virtual void DrawHUD();


If you need the X and Y resolution of the screen (they were passed to ReceiveDrawHUD but not to DrawHUD), retrieve them using Canvas->SizeX, Canvas->SizeY. Be sure to call Super:: DrawHUD() too!

Thanks, it works!