IMC and Input Actions for 2-D Galaga clone

The cast to the controller might be failing because of the order things are loaded. Try putting a delay at the start of beginplay or write it like this;