Controller is stucked at one position in Simulator

Hello,

  1. I noticed that the ray emerging from the controller is stuck at the origin (0, 0, 0) position. The controller is apparently moveable, but the ray is not and is fixed to the origin. I tried changing the position of the GameController inside the XR Rig using the Unity editor, but it is also stuck at the origin.

  2. As a solution, I tried installing older versions, but then it showed an error stating 'Hub is not compatible with an older version, please update'.

  3. I tried again using the new version, but while installing, it kept showing this error:
    image

  4. I tried uninstalling the MLHUB along with all data enclosed in the MagicLeap folder inside the C drive, and then reinstalling everything freshly, but it kept showing this error.
    image

  5. Does ML HUB 3 provide a simulator? I tried exploring and found that I can download packages for the simulator, but I didn't find a way to use the simulator.

Unity Editor version: 2022.3.21f1

ML2 OS version:
image

Unity SDK version: 2.0.0
Host OS: Windows

Probably for 1st problem this warning may help you to get to the cause:

No active UnityEngine.XR.ARSubsystems.XRRaycastSubsystem is available. This feature is either not supported on the current platform, or you may need to enable a provider in Project Settings > XR Plug-in Management.
UnityEngine.XR.Interaction.Toolkit.XRRayInteractor:Awake () (at ./Library/PackageCache/com.unity.xr.interaction.toolkit@2.5.2/Runtime/Interaction/Interactors/XRRayInteractor.cs:942)

Are you using Magic Leap Application Simulator for Unity? The reason why the ray position keeps shifting back is because By default the ray follows the controller input device, and unless the input device changes it's position, it will always snap back to the controller pose. Are you using Device Mode inside the app simulator?

Are you testing this in the Unity Examples?

ML Hub 3 does not support app simulator since App simulator has been deprecated and does not support OpenXR

Do you mind retrying to download the App Simulator and SDK packages for the MLHub ?

I am not aware of 'Device mode' in the Magic Leap simulator. where can I find that?

Currently, I have downloaded ML Hub3 and using the simulator in Unity.

App Simulator is not supported in Magic Leap Hub 3 , so you will need to make sure the older version of MLHub is installed along with the App Simulator components.

I was referring to Device Mode as in setting the target to Device instead of Simulator.

Note there is a typo in the title of the second link . It says C-API but it is actually for Unity Editor

I have been using Simulator mode.

I don't have a Magic Leap 2 on hand, so I can't use 'Device mode'. I watched a YouTube video where everything worked fine for their versions. I tried installing those same versions of MLSDK, the simulator, and the Unity SDK, but MLHUB kept prompting me to upgrade to the latest version, saying, "Not compatible, please upgrade to the latest."

Could you help identify the cause of this warning? It seems to be the reason why it's not working. I have downloaded the XR Interaction Toolkit packages and everything else in Unity, but I still don't know why it isn't working.

No active UnityEngine.XR.ARSubsystems.XRRaycastSubsystem is available. This feature is either not supported on the current platform, or you may need to enable a provider in Project Settings > XR Plug-in Management .
UnityEngine.XR.Interaction.Toolkit.XRRayInteractor:Awake () (at ./Library/PackageCache/com.unity.xr.interaction.toolkit@2.5.2/Runtime/Interaction/Interactors/XRRayInteractor.cs:942)

Additionally, I am not able to enable 'Follow Head pose'.

image