BP TickEvent and Code Tick can not exist the same time

I write the tick function override in my game mode class with code, It work fine!
but when I add a BP tick event, it not work! When I get rid the tick code, the tick event became to work.
Is it a bug? Version 4.2.1