It sounds as though you have multiple issues happening (the projectiles and the character issue). I will focus on the projectile issue here since that is the title of the post, however you should create a separate post for the issue with the character pawn/follow actor. This will make it easier to search and find information on the bugs easier in the future.
As for the projectiles, how are you setting the collision for the projectiles? How do they interact inside the editor with Play In Editor vs running as Standalone? Can you post the full code (source and header) for the projectile so we can see how it is setup and how it works?
If I understand correctly you’re using pawns for your projectiles, correct? A better option would be to use actors instead. A pawn is used primarily for something that will be controlled by either the player or AI whereas an actor represents objects in the world (doors, chairs, etc). Since the player wouldn’t control the projectiles it would be best to set them as an actor. You may want to take a look at the ProjectileMovementComponent source and header files for the first person template project for an example of how to setup a projectile through code.
All actor are smashed into 1 place. But when I see the actor location through GetActorLocation() and display it on the screen, it shows the curret location. But here the actors are jammed into 1 place and not moving.
Are the three rows of actors in the first picture the projectiles you mentioned or are they other actors? Could you explain the images help me understand what’s happening in the game. If possible could you send a copy of your project so that I can look at the problem and code directly? If you can upload the project to dropbox you can send me a private message on the forums with the link to access it.
I’ve not heard from you in a few days. For now I will be marking this post as resolved for tracking purposes. If you’re still having problems with the projectiles in your game, please feel free to reopen the post with a comment and we will continue to investigate. Be sure to include any information that could hep us reproduce the issue including a sample project if possible.
I’m still looking into the behavior differences of your project. Something I noticed is that when in PIE mode the actors (player/shields/enemies) will move along the board and you can see the board scrolling by. I’ve not found the reason, but when playing in Standalone I noticed that the board does not scroll at all. Not sure where this functionality is set up but that may be something to look into. Additionally, the issue of the projectiles not moving forward in a packaged product seems to be caused by the projectile’s speed not being set properly when it’s spawned. Again I’ve not been able to find why but hopefully this gives you an idea of where to look. I will continue to try and find the root problem but hopefully this is enough for you to continue moving forward with the project.
I’m glad you were able to find what was causing this problem. If you use CreateDefaultSubobject instead of CreateEditorOnlyDefaultSubobject do you then get the same behavior between editor and standalone modes? If you are still having issues with different behavior between play modes feel free to comment here and we will investigate further.