diff --git a/Scripts/Controls/ReorderableList/ReorderableListElement.cs b/Scripts/Controls/ReorderableList/ReorderableListElement.cs index e772346..fc01c40 100644 --- a/Scripts/Controls/ReorderableList/ReorderableListElement.cs +++ b/Scripts/Controls/ReorderableList/ReorderableListElement.cs @@ -129,7 +129,7 @@ namespace UnityEngine.UI.Extensions var canvas = _draggingObject.GetComponentInParent(); Vector3 worldPoint; RectTransformUtility.ScreenPointToWorldPointInRectangle(canvas.GetComponent(), eventData.position, - canvas.renderMode != RenderMode.ScreenSpaceOverlay ? canvas.worldCamera, out worldPoint); + canvas.renderMode != RenderMode.ScreenSpaceOverlay ? canvas.worldCamera : null, out worldPoint); _draggingObject.position = worldPoint; //Check everything under the cursor to find a ReorderableList