Can't test game when using spawn actor with class?

So i’m trying to add a gun mesh to the camera by using a spawn actor with class node but when I go to test to see if it works I get an error saying errors/warnings reported while playing in editor. Does anyone know what is causing this error.

please dont post your question multiple times. you already posted this same thing a few hours ago. duplicate threads increases the time it takes to solve your issue and makes it harder on others in the future who may have the same issue. if you feel your question has gone too long without a response then you can try bumping it. also if no responses check your question, it may be ambiguous or lack information for people to work with.