Hi
Actor positioning doesn’t work if base actor use async scene, repro steps:
- Create a sample fps project in 4.6.1
- Put somewhere on scene two StaticMesh’/Game/StarterContent/Shapes/Shape_Cube.Shape_Cube’ for example
- On the first cube turn on “Simulate Physics” and turn off “Start Awake” options from Physics section of actor properties, then mark Use Async scene
- Try drop from content browser another static mesh StaticMesh’/Game/StarterContent/Props/SM_Bush.SM_Bush’ for example on the first and second cube
- Observe the issue
I think the problem is here:
FActorPositionTraceResult FActorPositioning::TraceWorldForPosition(const UWorld& InWorld, const FSceneView& InSceneView, const FVector& RayStart, const FVector& RayEnd, const TArray<AActor*>* IgnoreActors)
FCollisionQueryParams Param(TEXT("DragDropTrace"), true);
Param should have set bTraceAsyncScene = true;
Regards