Creating a Controller in GameState fails
I've got a custom class that derives from GameState. I have a function to advance the game to the next "phase", which should spawn a new controller and switch the player to this controller.
When I try and create a new controller via the NewObject function, the game instantly crashes and this is printed to the output:
And the code in question...
Currently a little rough around the edges as I have been attempting to get some sort of solution.
Is there any reason I cannot instantiate a new controller? I have tried in my GameMode derivative too, with the same error.
asked Feb 13 '15 at 09:06 PM in C++ Programming
Follow this question
Once you sign in you will be able to subscribe for any updates here