How can I solve "Pure virtual function being called while application was running" exception/crash?

Same, and I’m working on a single player tittle.