Is this after moving the events over to your own project? Something might not have been copied correctly if it works in the vanilla project.