Only happens when Run Dedicated Server UNchecked and camera reattached to root mesh, not crashes if camera reattached to springarm that attached to root mesh. Editor crashes without report.
Reproduce in default project:
NewProject->Blueprint->Vehicle(with starter content)
1.Create new blueprint(“NewBlueprint”) based on Actor.
1a.Add any skeletel mesh(add socket “Camera”) as root component.
2.Add socket “attach” to Sedan mesh
3.Open Sedan blueprint and change switchcamera logic with this:
In PIE after SwitchCamera action fired, new actor will be spawned, attached to vehicle, and camera will be attached to it.
Then when vehicle will try to move, editor will crash without crash report.
I have a few questions for you that will help narrow down what issue it is that you are experiencing.
Quick questions:
Could you clarify a couple of the steps that you posted? (1a.Add any skeletel mesh(add socket “Camera”) as root component. Add socket “attach” to Sedan mesh. Are you adding sockets to the skeletal mesh? Could you elaborate on these two steps?)
Could you provide screen shots of any other blueprints involved with this issue?
I notice that you said these steps are for a blank project, have you been able to reproduce this issue in a clean project?
1.sockets are added in Sedan_Skeleton. I have used sedan’s mesh also for actor that will be attached to pawn vehicle, because it’s only one sk mesh in Vehicle default project
In my particular project it’s a tank vehicle(pawn) and turret(actor), during gameplay on listen server I spawned turret and attached it to my tank, then I move(AttachTo) camera from vehicle to turret, and it works fine until I start to move vehicle, which leads to crash.
I was able to reproduce this issue on our end. I have written up a report (UE-21007) and I have submitted it to the developers for further consideration. I will provide updates with any pertinent information as it becomes available. Thank you for your time and information.