Search Issue Tracker
Not Reproducible
Votes
1
Found in
5.6.2f1
Issue ID
927537
Regression
No
[macOS] Changing scene order by drag and dropping with force touch track pad doesn’t work
Using MacBook Pro with force touch track pad, you can not rearrange scenes in build settings. Other MacBooks without force touch track pads works fine.
To reproduce:
1. Create new Unity project
2. Create couple of scenes
3. Open Build Settings
4. Add those scenes and try to rearrange them using track pad with force touch
Expected result: scenes are rearranged
Actual result: scenes does not rearrange
Reproduced on: 5.4.5p1 5.5.4p1 5.6.1f1 5.6.2p2 2017.1.0f3
Notes: using 2017.2.0b2 produces these errors:
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.BuildPlayerSceneTreeView.GetSceneList () (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPlayerSceneTreeView.cs:255)
UnityEditor.BuildPlayerSceneTreeView.HandleDragAndDrop (DragAndDropArgs args) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPlayerSceneTreeView.cs:141)
UnityEditor.IMGUI.Controls.TreeView+TreeViewControlDragging.DoDrag (UnityEditor.IMGUI.Controls.TreeViewItem parentItem, UnityEditor.IMGUI.Controls.TreeViewItem targetItem, Boolean perform, DropPosition dropPosition) (at /Users/builduser/buildslave/unity/build/Editor/Mono/GUI/TreeView/TreeViewControl/TreeViewControlDragging.cs:41)
UnityEditor.IMGUI.Controls.TreeViewDragging.DragElement (UnityEditor.IMGUI.Controls.TreeViewItem targetItem, Rect targetItemRect, Int32 row) (at /Users/builduser/buildslave/unity/build/Editor/Mono/GUI/TreeView/TreeViewDragging.cs:223)
UnityEditor.IMGUI.Controls.TreeViewController.HandleUnusedMouseEventsForItem (Rect rect, UnityEditor.IMGUI.Controls.TreeViewItem item, Int32 row) (at /Users/builduser/buildslave/unity/build/Editor/Mono/GUI/TreeView/TreeViewController.cs:387)
UnityEditor.IMGUI.Controls.TreeViewController.DoItemGUI (UnityEditor.IMGUI.Controls.TreeViewItem item, Int32 row, Single rowWidth, Boolean hasFocus) (at /Users/builduser/buildslave/unity/build/Editor/Mono/GUI/TreeView/TreeViewController.cs:476)
UnityEditor.IMGUI.Controls.TreeViewController.IterateVisibleItems (Int32 firstRow, Int32 numVisibleRows, Single rowWidth, Boolean hasFocus) (at /Users/builduser/buildslave/unity/build/Editor/Mono/GUI/TreeView/TreeViewController.cs:621)
UnityEditor.IMGUI.Controls.TreeViewController.OnGUI (Rect rect, Int32 keyboardControlID) (at /Users/builduser/buildslave/unity/build/Editor/Mono/GUI/TreeView/TreeViewController.cs:552)
UnityEditor.IMGUI.Controls.TreeView.OnGUI (Rect rect) (at /Users/builduser/buildslave/unity/build/Editor/Mono/GUI/TreeView/TreeViewControl/TreeViewControl.cs:397)
UnityEditor.BuildPlayerWindow.ActiveScenesGUI () (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPlayerWindow.cs:199)
UnityEditor.BuildPlayerWindow.OnGUI () (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPlayerWindow.cs:391)
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:232)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115)
UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at /Users/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:283)
UnityEditor.HostView.Invoke (System.String methodName) (at /Users/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:276)
UnityEditor.HostView.OldOnGUI () (at /Users/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:105)
UnityEngine.Experimental.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt) (at /Users/builduser/buildslave/unity/build/Runtime/UIElements/Managed/IMGUIContainer.cs:127)
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.BuildPlayerSceneTreeView.HandleDragAndDrop (DragAndDropArgs args) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPlayerSceneTreeView.cs:127)
UnityEditor.IMGUI.Controls.TreeView+TreeViewControlDragging.DoDrag (UnityEditor.IMGUI.Controls.TreeViewItem parentItem, UnityEditor.IMGUI.Controls.TreeViewItem targetItem, Boolean perform, DropPosition dropPosition) (at /Users/builduser/buildslave/unity/build/Editor/Mono/GUI/TreeView/TreeViewControl/TreeViewControlDragging.cs:41)
UnityEditor.IMGUI.Controls.TreeViewDragging.DragElement (UnityEditor.IMGUI.Controls.TreeViewItem targetItem, Rect targetItemRect, Int32 row) (at /Users/builduser/buildslave/unity/build/Editor/Mono/GUI/TreeView/TreeViewDragging.cs:223)
UnityEditor.IMGUI.Controls.TreeViewController.HandleUnusedMouseEventsForItem (Rect rect, UnityEditor.IMGUI.Controls.TreeViewItem item, Int32 row) (at /Users/builduser/buildslave/unity/build/Editor/Mono/GUI/TreeView/TreeViewController.cs:387)
UnityEditor.IMGUI.Controls.TreeViewController.DoItemGUI (UnityEditor.IMGUI.Controls.TreeViewItem item, Int32 row, Single rowWidth, Boolean hasFocus) (at /Users/builduser/buildslave/unity/build/Editor/Mono/GUI/TreeView/TreeViewController.cs:476)
UnityEditor.IMGUI.Controls.TreeViewController.IterateVisibleItems (Int32 firstRow, Int32 numVisibleRows, Single rowWidth, Boolean hasFocus) (at /Users/builduser/buildslave/unity/build/Editor/Mono/GUI/TreeView/TreeViewController.cs:621)
UnityEditor.IMGUI.Controls.TreeViewController.OnGUI (Rect rect, Int32 keyboardControlID) (at /Users/builduser/buildslave/unity/build/Editor/Mono/GUI/TreeView/TreeViewController.cs:552)
UnityEditor.IMGUI.Controls.TreeView.OnGUI (Rect rect) (at /Users/builduser/buildslave/unity/build/Editor/Mono/GUI/TreeView/TreeViewControl/TreeViewControl.cs:397)
UnityEditor.BuildPlayerWindow.ActiveScenesGUI () (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPlayerWindow.cs:199)
UnityEditor.BuildPlayerWindow.OnGUI () (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPlayerWindow.cs:391)
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:232)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115)
UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at /Users/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:283)
UnityEditor.HostView.Invoke (System.String methodName) (at /Users/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:276)
UnityEditor.HostView.OldOnGUI () (at /Users/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:105)
UnityEngine.Experimental.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt) (at /Users/builduser/buildslave/unity/build/Runtime/UIElements/Managed/IMGUIContainer.cs:127)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Add comment