diff --git a/Source/Editor/SceneGraph/GUI/ActorTreeNode.cs b/Source/Editor/SceneGraph/GUI/ActorTreeNode.cs index 14f11ceef..9cfe5b7bd 100644 --- a/Source/Editor/SceneGraph/GUI/ActorTreeNode.cs +++ b/Source/Editor/SceneGraph/GUI/ActorTreeNode.cs @@ -698,6 +698,10 @@ namespace FlaxEditor.SceneGraph.GUI if (thisHasScene != otherHasScene) return false; + // Reject dragging actors between prefab windows (different roots) + if (!thisHasScene && ActorNode.Root != actorNode.Root) + return false; + // Reject dragging parents and itself return actorNode.Actor != null && actorNode != ActorNode && actorNode.Find(Actor) == null; }