You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Basic Hololens 2 application throws an error, whenever I make the pinch/click motion in order to move a object with the object manipulator component.
The error is:
"Could not create a device for 'OpenXR Right Hand (XRInputV1)' (exception: System.StackOverflowException: The requested operation caused a stack overflow.
at (wrapper managed-to-native) System.Object.__icall_wrapper_ves_icall_array_new_specific(intptr,int)"
Steps to reproduce the behavior:
Create a 3D Unity project with URP.
Import MRTK3 and OpenXR plugin with the Microsoft Mixed Reality Feature Tool.
Configure the project. Enable OpenXR and configure the project for Hololens 2 and UWP.
Create simple scene. Add a MRTK XR Rig, MRTKInputSimulator and Cube with the Object Manipulator component.
Enable Hologhraphic Remoting for Play Mode.
Start the app and watch it open from the Hololens 2.
Find the cube and start moving it around.
As soon as you pinch the cube the aforementioned error shows up in the console, but you can still move the cube.
Expected behavior:
The error does not appear when you try to move the cube.
My setup:
Unity Version 2022.2.10f1
MRTK Version 3.0
Target platform:
HoloLens 2
Additional context:
If I build the application and deploy it to the Hololens 2, it crashes as soon as i perform the "pinch to move action" on the cube.
I provide the Log file:
This issue has been migrated a new MRTK repository, and the status of this issue will now be tracked at the following location:
Description:
Basic Hololens 2 application throws an error, whenever I make the pinch/click motion in order to move a object with the object manipulator component.
The error is:
"Could not create a device for 'OpenXR Right Hand (XRInputV1)' (exception: System.StackOverflowException: The requested operation caused a stack overflow.
at (wrapper managed-to-native) System.Object.__icall_wrapper_ves_icall_array_new_specific(intptr,int)"
Steps to reproduce the behavior:
Expected behavior:
The error does not appear when you try to move the cube.
My setup:
Target platform:
Additional context:
If I build the application and deploy it to the Hololens 2, it crashes as soon as i perform the "pinch to move action" on the cube.
I provide the Log file:
UnityPlayer (2).log
This is the "full" error message:
Could not create a device for 'OpenXR Right Hand (XRInputV1)' (exception: System.StackOverflowException: The requested operation caused a stack overflow.
at (wrapper managed-to-native) System.Object.__icall_wrapper_ves_icall_array_new_specific(intptr,int)
at System.Array.Resize[T] (T[]& array, System.Int32 newSize) [0x00029] in <5d4cbfbeb62e454f98e19b231866113e>:0
at UnityEngine.InputSystem.Layouts.InputDeviceBuilder.AddChildren (UnityEngine.InputSystem.InputDevice+ControlBitRangeNode& parent, UnityEngine.InputSystem.InputDevice+ControlBitRangeNode left, UnityEngine.InputSystem.InputDevice+ControlBitRangeNode right) [0x00020] in .\Library\PackageCache\[email protected]\InputSystem\Devices\InputDeviceBuilder.cs:1129
at UnityEngine.InputSystem.Layouts.InputDeviceBuilder.InsertControlBitRangeNode (UnityEngine.InputSystem.InputDevice+ControlBitRangeNode& parent, UnityEngine.InputSystem.InputControl control, System.Int32& controlIndiciesNextFreeIndex, System.UInt16 startOffset) [0x0002d] in .\Library\PackageCache\[email protected]\InputSystem\Devices\InputDeviceBuilder.cs:972
at UnityEngine.InputSystem.Layouts.InputDeviceBuilder.InsertControlBitRangeNode (UnityEngine.InputSystem.InputDevice+ControlBitRangeNode& parent, UnityEngine.InputSystem.InputControl control, System.Int32& controlIndiciesNextFreeIndex, System.UInt16 startOffset) [0x0016d] in .\Library\PackageCache\[email protected]\InputSystem\Devices\InputDeviceBuilder.cs:1010
at UnityEngine.InputSystem.Layouts.InputDeviceBuilder.InsertControlBitRangeNode (UnityEngine.InputSystem.InputDevice+ControlBitRangeNode& parent, UnityEngine.InputSystem.InputControl control, System.Int32& controlIndiciesNextFreeIndex, System.UInt16 startOffset) [0x0016d] in .\Library\PackageCache\[email protected]\InputSystem\Devices\InputDeviceBuilder.cs:1010
at UnityEngine.InputSystem.Layouts.InputDeviceBuilder.InsertControlBitRangeNode (UnityEngine.InputSystem.InputDevice+ControlBitRangeNode& parent, UnityEngine.InputSystem.InputControl control, System.Int32& controlIndiciesNextFreeIndex, System.UInt16 startOffset) [0x0016d] in .\Library\PackageCache\[email protected]\InputSystem\Devices\InputDeviceBuilder.cs:1010
at UnityEngine.InputSystem.Layouts.InputDeviceBuilder.InsertControlBitRangeNode (UnityEngine.InputSystem.InputDevice+ControlBitRangeNode& parent, UnityEngine.InputSystem.InputControl control, System.Int32& controlIndiciesNextFreeIndex, System.UInt16 startOffset) [0x0016d] in .\Library\PackageCache\[email protected]\InputSystem\Devices\InputDeviceBuilder.cs:1010
at UnityEngine.InputSystem.Layouts.InputDeviceBuilder.InsertControlBitRangeNode (UnityEngine.InputSystem.InputDevice+ControlBitRangeNode& parent, UnityEngine.InputSystem.InputControl control, System.Int32& controlIndiciesNextFreeIndex, System.UInt16 startOffset) [0x0016d] in .\Library\PackageCache\[email protected]\InputSystem\Devices\InputDeviceBuilder.cs:1010
at UnityEngine.InputSystem.Layouts.InputDeviceBuilder.InsertControlBitRangeNode (UnityEngine.InputSystem.InputDevice+ControlBitRangeNode& parent, UnityEngine.InputSystem.InputControl control, System.Int32& controlIndiciesNextFreeIndex, System.UInt16 startOffset) [0x0016d] in .\Library\PackageCache\[email protected]\InputSystem\Devices\InputDeviceBuilder.cs:1010
at UnityEngine.InputSystem.Layouts.InputDeviceBuilder.InsertControlBitRangeNode (UnityEngine.InputSystem.InputDevice+ControlBitRangeNode& parent, UnityEngine.InputSystem.InputControl control, System.Int32& controlIndiciesNextFreeIndex, System.UInt16 startOffset) [0x0016d] in .\Library\PackageCache\[email protected]\InputSystem\Devices\InputDeviceBuilder.cs:1010
at UnityEngine.InputSystem.Layouts.InputDeviceBuilder.InsertControlBitRangeNode (UnityEngine.InputSystem.InputDevice+ControlBitRangeNode& parent, UnityEngine.InputSystem.InputControl control, System.Int32& controlIndiciesNextFreeIndex, System.UInt16 startOffset) [0x0016d] in .\Library\PackageCache\[email protected]\InputSystem\Devices\InputDeviceBuilder.cs:1010
at UnityEngine.InputSystem.Layouts.InputDeviceBuilder.InsertControlBitRangeNode (UnityEngine.InputSystem.InputDevice+ControlBitRangeNode& parent, UnityEngine.InputSystem.InputControl control, System.Int32& controlIndiciesNextFreeIndex, System.UInt16 startOffset) [0x0016d] in .\Library\PackageCache\[email protected]\InputSystem\Devices\InputDeviceBuilder.cs:1010
at UnityEngine.InputSystem.Layouts.InputDeviceBuilder.InsertControlBitRangeNode (UnityEngine.InputSystem.InputDevice+ControlBitRangeNode& parent, UnityEngine.InputSystem.InputControl control, System.Int32& controlIndiciesNextFreeIndex, System.UInt16 startOffset) [0x0016d] in .\Library\PackageCache\[email protected]\InputSystem\Devices\InputDeviceBuilder.cs:1010
at UnityEngine.InputSystem.Layouts.InputDeviceBuilder.InsertControlBitRangeNode (UnityEngine.InputSystem.InputDevice+ControlBitRangeNode& parent, UnityEngine.InputSystem.InputControl control, System.Int32& controlIndiciesNextFreeIndex, System.UInt16 startOffset) [0x0016d] in .\Library\PackageCache\[email protected]\InputSystem\Devices\InputDeviceBuilder.cs:1010
at UnityEngine.InputSystem.Layouts.InputDeviceBuilder.InsertControlBitRangeNode (UnityEngine.InputSystem.InputDevice+ControlBitRangeNode& parent, UnityEngine.InputSystem.InputControl control, System.Int32& controlIndiciesNextFreeIndex, System.UInt16 startOffset) [0x0016d] in .\Library\PackageCache\[email protected]\InputSystem\Devices\InputDeviceBuilder.cs:1010
at UnityEngine.InputSystem.Layouts.InputDeviceBuilder.InsertControlBitRangeNode (UnityEngine.InputSystem.InputDevice+ControlBitRangeNode& parent, UnityEngine.InputSystem.InputControl control, System.Int32& controlIndiciesNextFreeIndex, System.UInt16 startOffset) [0x0016d] in .\Library\PackageCache\[email protected]\InputSystem\Devices\InputDeviceBuilder.cs:1010
at UnityEngine.InputSystem.Layouts.InputDeviceBuilder.InsertControlBitRangeNode (UnityEngine.InputSystem.InputDevice+ControlBitRangeNode& parent, UnityEngine.InputSystem.InputControl control, System.Int32& controlIndiciesNextFreeIndex, System.UInt16 startOffset) [0x0016d] in .\Library\PackageCache\[email protected]\InputSystem\Devices\InputDeviceBuilder.cs:1010
at UnityEngine.InputSystem.Layouts.InputDeviceBuilder.InsertControlBitRangeNode (UnityEngine.InputSystem.InputDevice+ControlBitRangeNode& parent, UnityEngine.InputSystem.InputControl control, System.Int32& controlIndiciesNextFreeIndex, System.UInt16 startOffset) [0x0016d] in .\Library\PackageCache\[email protected]\InputSystem\Devices\InputDeviceBuilder.cs:1010
at UnityEngine.InputSystem.Layouts.InputDeviceBuilder.InsertControlBitRangeNode (UnityEngine.InputSystem.InputDevice+ControlBitRangeNode& parent, UnityEngine.InputSystem.InputControl control, System.Int32& controlIndiciesNextFreeIndex, System.UInt16 startOffset) [0x0016d] in .\Library\PackageCache\[email protected]\InputSystem\Devices\InputDeviceBuilder.cs:1010
at UnityEngine.InputSystem.Layouts.InputDeviceBuilder.InsertControlBitRangeNode (UnityEngine.InputSystem.InputDevice+ControlBitRangeNode& parent, UnityEngine.InputSystem.InputControl control, System.Int32& controlIndiciesNextFreeIndex, System.UInt16 startOffset) [0x0016d] in .\Library\PackageCache\[email protected]\InputSystem\Devices\InputDeviceBuilder.cs:1010
at UnityEngine.InputSystem.Layouts.InputDeviceBuilder.InsertControlBitRangeNode (UnityEngine.InputSystem.InputDevice+ControlBitRangeNode& parent, UnityEngine.InputSystem.InputControl control, System.Int32& controlIndiciesNextFreeIndex, System.UInt16 startOffset) [0x0016d] in .\Library\PackageCache\[email protected]\InputSystem\Devices\InputDeviceBuilder.cs:1010
at UnityEngine.InputSystem.Layouts.InputDeviceBuilder.InsertControlBitRangeNode (UnityEngine.InputSystem.InputDevice+ControlBitRangeNode& parent, UnityEngine.InputSystem.InputControl control, System.Int32& controlIndiciesNextFreeIndex, System.UInt16 startOffset) [0x0016d] in .\Library\PackageCache\[email protected]\InputSystem\Devices\InputDeviceBuilder.cs:1010
at UnityEngine.InputSystem.Layouts.InputDeviceBuilder.InsertControlBitRangeNode (UnityEngine.InputSystem.InputDevice+ControlBitRangeNode& parent, UnityEngine.InputSystem.InputControl control, System.Int32& controlIndiciesNextFreeIndex, System.UInt16 startOffset) [0x0016d] in .\Library\PackageCache\[email protected]\InputSystem\Devices\InputDeviceBuilder.cs:1010
at UnityEngine.InputSystem.Layouts.InputDeviceBuilder.InsertControlBitRangeNode (UnityEngine.InputSystem.InputDevice+ControlBitRangeNode& parent, UnityEngine.InputSystem.InputControl control, System.Int32& controlIndiciesNextFreeIndex, System.UInt16 startOffset) [0x0016d] in .\Library\PackageCache\[email protected]\InputSystem\Devices\InputDeviceBuilder.cs:1010
at UnityEngine.InputSystem.Layouts.InputDeviceBuilder.InsertControlBitRangeNode (UnityEngine.InputSystem.InputDevice+ControlBitRangeNode& parent, UnityEngine.InputSystem.InputControl control, System.Int32& controlIndiciesNextFreeIndex, System.UInt16 startOffset) [0x0016d] in .\Library\PackageCache\[email protected]\InputSystem\Devices\InputDeviceBuilder.cs:1010
at UnityEngine.InputSystem.Layouts.InputDeviceBuilder.InsertControlBitRangeNode (UnityEngine.InputSystem.InputDevice+ControlBitRangeNode& parent, UnityEngine.InputSystem.InputControl control, System.Int32& controlIndiciesNextFreeIndex, System.UInt16 startOffset) [0x0016d] in .\Library\PackageCache\[email protected]\InputSystem\Devices\InputDeviceBuilder.cs:1010
at UnityEngine.InputSystem.Layouts.InputDeviceBuilder.InsertControlBitRangeNode (UnityEngine.InputSystem.InputDevice+ControlBitRangeNode& parent, UnityEngine.InputSystem.InputControl control, System.Int32& controlIndiciesNextFreeIndex, System.UInt16 startOffset) [0x0016d] in .\Library\PackageCache\[email protected]\InputSystem\Devices\InputDeviceBuilder.cs:1010
at UnityEngine.InputSystem.Layouts.InputDeviceBuilder.InsertControlBitRangeNode (UnityEngine.InputSystem.InputDevice+ControlBitRangeNode& parent, UnityEngine.InputSystem.InputControl control, System.Int32& controlIndiciesNextFreeIndex, System.UInt16 startOffset) [0x0016d] in .\Library\PackageCache\[email protected]\InputSystem\Devices\InputDeviceBuilder.cs:1010
at UnityEngine.InputSystem.Layouts.InputDeviceBuilder.InsertControlBitRangeNode (UnityEngine.InputSystem.InputDevice+ControlBitRangeNode& parent, UnityEngine.InputSystem.InputControl control, System.Int32& controlIndiciesNextFreeIndex, System.UInt16 startOffset) [0x0016d] in .\Library\PackageCache\[email protected]\InputSystem\Devices\InputDeviceBuilder.cs:1010
at UnityEngine.InputSystem.Layouts.InputDeviceBuilder.InsertControlBitRangeNode (UnityEngine.InputSystem.InputDevice+ControlBitRangeNode& parent, UnityEngine.InputSystem.InputControl control, System.Int32& controlIndiciesNextFreeIndex, System.UInt16 startOffset) [0x0016d] in .\Library\PackageCache\[email protected]\InputSystem\Devices\InputDeviceBuilder.cs:1010
at UnityEngine.InputSystem.Layouts.InputDeviceBuilder.InsertControlBitRangeNode (UnityEngine.InputSystem.InputDevice+ControlBitRangeNode& parent, UnityEngine.InputSystem.InputControl control, System.Int32& controlIndiciesNextFreeIndex, System.UInt16 startOffset) [0x0016d] in .\Library\PackageCache\[email protected]\InputSystem\Devices\InputDeviceBuilder.cs:1010
at UnityEngine.InputSystem.Layouts.InputDeviceBuilder.InsertControlBitRangeNode (UnityEngine.InputSystem.InputDevice+ControlBitRangeNode& parent, UnityEngine.InputSystem.InputControl control, System.Int32& controlIndiciesNextFreeIndex, System.UInt16 startOffset) [0x0016d] in .\Library\PackageCache\[email protected]\InputSystem\Devices\InputDeviceBuilder.cs:1010
at UnityEngine.InputSystem.Layouts.InputDeviceBuilder.InsertControlBitRangeNode (UnityEngine.InputSystem.InputDevice+ControlBitRangeNode& parent, UnityEngine.InputSystem.InputControl control, System.Int32& controlIndiciesNextFreeIndex, System.UInt16 startOffset) [0x0016d] in .\Library\PackageCache\[email protected]\InputSystem\Devices\InputDeviceBuilder.cs:1010
at UnityEngine.InputSystem.Layouts.InputDeviceBuilder.InsertControlBitRangeNode (UnityEngine.InputSystem.InputDevice+ControlBitRangeNode& parent, UnityEngine.InputSystem.InputControl control, System.Int32& controlIndiciesNextFreeIndex, System.UInt16 startOffset) [0x0016d] in .\Library\PackageCache\[email protected]\InputSystem\Devices\InputDeviceBuilder.cs:1010
at UnityEngine.InputSystem.Layouts.InputDeviceBuilder.InsertControlBitRangeNode (UnityEngine.InputSystem.InputDevice+ControlBitRangeNode& parent, UnityEngine.InputSystem.InputControl control, System.Int32& controlIndiciesNextFreeIndex, System.UInt16 startOffset) [0x0016d] in .\Library\PackageCache\[email protected]\InputSystem\Devices\InputDeviceBuilder.cs:1010
at UnityEngine.InputSystem.Layouts.InputDeviceBuilder.InsertControlBitRangeNode (UnityEngine.InputSystem.InputDevice+ControlBitRangeNode& parent, UnityEngine.InputSystem.InputControl control, System.Int32& controlIndiciesNextFreeIndex, System.UInt16 startOffset) [0x0016d] in .\Library\PackageCache\[email protected]\InputSystem\Devices\InputDeviceBuilder.cs:1010
at UnityEngine.InputSystem.Layouts.InputDeviceBuilder.InsertControlBitRangeNode (UnityEngine.InputSystem.InputDevice+ControlBitRangeNode& parent, UnityEngine.InputSystem.InputControl control, System.Int32& controlIndiciesNextFreeIndex, System.UInt16 startOffset) [0x0016d] in .\Library\PackageCache\[email protected]\InputSystem\Devices\InputDeviceBuilder.cs:1010
at UnityEngine.InputSystem.Layouts.InputDeviceBuilder.InsertControlBitRangeNode (UnityEngine.InputSystem.InputDevice+ControlBitRangeNode& parent, UnityEngine.InputSystem.InputControl control, System.Int32& controlIndiciesNextFreeIndex, System.UInt16 startOffset) [0x0016d] in .\Library\PackageCache\[email protected]\InputSystem\Devices\InputDeviceBuilder.cs:1010
at UnityEngine.InputSystem.Layouts.InputDeviceBuilder.InsertControlBitRangeNode (UnityEngine.InputSystem.InputDevice+ControlBitRangeNode& parent, UnityEngine.InputSystem.InputControl control, System.Int32& controlIndiciesNextFreeIndex, System.UInt16 startOffset) [0x0016d] in .\Library\PackageCache\[email protected]\InputSystem\Devices\InputDeviceBuilder.cs:1010
at UnityEngine.InputSystem.Layouts.InputDeviceBuilder.InsertControlBitRangeNode (UnityEngine.InputSystem.InputDevice+ControlBitRangeNode& parent, UnityEngine.InputSystem.InputControl control, System.Int32& controlIndiciesNextFreeIndex, System.UInt16 startOffset) [0x0016d] in .\Library\PackageCache\[email protected]\InputSystem\Devices\InputDeviceBuilder.cs:1010
at UnityEngine.InputSystem.Layouts.InputDeviceBuilder.InsertControlBitRangeNode (UnityEngine.InputSystem.InputDevice+ControlBitRangeNode& parent, UnityEngine.InputSystem.InputControl control, System.Int32& controlIndiciesNextFreeIndex, System.UInt16 startOffset) [0x0016d] in .\Library\PackageCache\[email protected]\InputSystem\Devices\InputDeviceBuilder.cs:1010
at UnityEngine.InputSystem.Layouts.InputDeviceBuilder.InsertControlBitRangeNode (UnityEngine.InputSystem.InputDevice+ControlBitRangeNode& parent, UnityEngine.InputSystem.InputControl control, System.Int32& controlIndiciesNextFreeIndex, System.UInt16 startOffset) [0x0016d] in .\Library\PackageCache\[email protected]\InputSystem\Devices\InputDeviceBuilder.cs:1010
at UnityEngine.InputSystem.Layouts.InputDeviceBuilder.InsertControlBitRangeNode (UnityEngine.InputSystem.InputDevice+ControlBitRangeNode& parent, UnityEngine.InputSystem.InputControl control, System.Int32& controlIndiciesNextFreeIndex, System.UInt16 startOffset) [0x0016d] in .\Library\PackageCache\[email protected]\InputSystem\Devices\InputDeviceBuilder.cs:1010
at UnityEngine.InputSystem.Layouts.InputDeviceBuilder.
The text was updated successfully, but these errors were encountered: