SpawnActorfromClass Rotation not working as expected

Hi, ive been trying to spawn a few actors using SpawnActorfromClass blueprint Node, however they dont seem to be spawning with correct rotation that im supplying them.

below image shows 6 actors spawned with rotations that SHOULD be same as Arrow component attached to bounding box you also see.

Here is my BP script. Im getting world rotation of that Arrow component and supplying it to SpawnActorfromClass node, but it only ever seems to work from Editor viewport when i run a non dedicated server. You can see in above Image that one Actor is oriented correctly.

Does anyone have any idea if this is a bug or am i doing something wrong here??

Hi DevilsD,

I attempted to reproduce this in 4.8 but I couldn’t get your results. Getting World Rotation of an Arrow component is taken correctly by SpawnActor node. Have you tried this outside of your project in a new test project yet?

Im not sure if this was clear, i think i missed point to tell you that those are all separate network test clients. Their player character is spawned and then are possessed at that location.

Would you be willing to recreate this issue in a test project and post it here?

Ok, so i believe ive narrowed issue down to “Use Controller Rotation Yaw” and “Use Pawn Control Rotation” checkboxs on playercharacter and its attached camera respectively. Since first person is perspective im using this seems to be required. During testing i turned these off and playercharacters were spawning with correct rotation but obviously now camera will not move with mouse nor will playercharacter model now move.

Im unsure as to how to get around this, im positive its not a bug now, only my misunderstanding.

Also thinking further ahead this leads me to believe that Controller of playercharacter is not orienting to rotation that is being supplied when spawning playercharacter.

Is there a way around all this?

I did try rotating players Controller but that seemed to have no effect at all.

Hi DevilsD,

Can you recreate this in a test project and upload that somewhere like Dropbox or Google Drive for me? I haven’t been able to reproduce this behavior but I can’t see enough of your setup. Thanks!

Hi DevilsD,

We haven’t heard back for you in a while, so I’m resolving this post for tracking purposes. If you’re still experiencing this issue and can provide a test project for us or any additional information, please feel free to reply and we’ll continue investigating. Thanks!