SetupInputComponent crash my project on play

MyMainMenu may be nullptr, however what is generating the access violation is the name of the action or the axis.