Unable to test game with spawn actor

So im trying to add a gun mesh to the camera with the spawn actor with class node, but when I do and I try to test to see if it works I get an error saying errors/warnings reported while playing in editor. Does anyone know what’s causing this error.

it should tell you the error in the log. without knowing the error and your code will will be nigh impossible to help. to view the error report theres two options either click the popup when you end play or go to the main level editor screen and there should be a messages section at the bottom center. im trying to explain this off the top of my head so it may be named something different.

Agree, more info is needed, such as code/blueprint example or at least the error.
Also, SpawnActor shouldn’t really be used only for a mesh, only for a class or blueprint that is an actor.