Packaged game crash when loading level (Access violation - code c0000005)

You didn’t need to add code to your project if it didn’t already have code. If you still have a copy of the project that doesn’t have code, I’d suggest going back to using that. If you don’t, create a new project and migrate your content from your old project to it.

Adding code when you don’t plan to do anything with it will only complicate things and cause you more headaches down the line if you’re not sure what to do with it.