Closed IssueSyncBot closed 1 year ago
MaxWang-MS
Cannot repro with Unity 2018.4.26f1, so it seems to be a Unity bug.
wiwei
Doesn't seem to be specific to UPM, can also repro this in .unitypackages
wiwei
Also can confirm, even using Highlighter.Highlight on some basic things that should work (i.e. Hierarchy -> GameObject) doesn't work, so there's probably a regression here in 2019 Unity.
Removing from 2.5 milestone, we can file a bug on Unity for this one.
stale[bot]
This issue has been marked as stale by an automated process because it has not had any recent activity. It will be automatically closed in 30 days if no further activity occurs. If this is still an issue please add a new comment with more recent details and repro steps.
AMollis
@marlenaklein-msft can you please check if this is still reproducible?
marlenaklein-msft
Tested the MRTK3 HandInteractionExamples.unity scene with Unity 2020.3.44 to see if this repros for MRTK3. Pressing the 'Go to component' button under the constraints section of Object Manipulator highlights the component id under Constraint Manager, but pressing the 'Go to component' button under Constraint Manager produces a similar "Item Min Max Scale Constraint (Script) not found in window Inspector" error.
marlenaklein-msft
Bugs with highlight not disappearing and not scrolling to the right place in some versions of Unity.
marlenaklein-msft
Fixed with PR #11497
Original issue opened by:
MaxWang-MS
Describe the bug
The "Go to component" button under the constraints section of the Object Manipulator on many GameObjects (e.g. all in the bounding box section and all but the earth in the manipulation interaction section) in the HandInteractionExamples scene is not working. When pressed, the following warning appear in the console:
Item Min Max Scale Constraint (Script) not found in window Inspector. UnityEditor.Highlighter:Highlight(String, String) Microsoft.MixedReality.Toolkit.Utilities.Editor.InspectorUIUtility:DrawComponentTypeFoldout(GameObject, Boolean, String) (at Assets/MRTK/Core/Inspectors/Utilities/InspectorUIUtility.cs:742) Microsoft.MixedReality.Toolkit.Editor.ObjectManipulatorInspector:OnInspectorGUI() (at Assets/MRTK/SDK/Editor/Inspectors/UX/ObjectManipulator/ObjectManipulatorInspector.cs:133) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
It seems that all GameObjects with the Object Manipulator attached and at least one constraint set there are affected.
To reproduce
Expected behavior
The button should work.
Your setup
ISSUE MIGRATION
Issue migrated from: https://github.com/microsoft/MixedRealityToolkit-Unity/issues/8554