Skip to content

XR_ERROR_ACTIONSETS_ALREADY_ATTACHED #1

Description

@RemiArnaud

Thanks a lot for putting this together. Varjo just released 3.4 that includes the XR_HTCX_vive_tracker_interaction extension.

When testing the OpenXRViveTracker I have the following problem:

  1. xrCreateActionSet is called in PostCreateInstance - at plugin initialization
  2. xrAttachSessionActionSets is called by FOpenXRInput::Tick() as bActionsBound is false on the first Tick
  3. xrSuggestInteractionProfileBindings is called in OnBeginSession
    this results in XR_ERROR_ACTIONSETS_ALREADY_ATTACHED error as per the specification:
    "If the action set for any action referenced in the suggestedBindings parameter has been included in a call to xrAttachSessionActionSets, the implementation must return XR_ERROR_ACTIONSETS_ALREADY_ATTACHED."

its a bummer that Tick() gets called before OnBeginSession, but the order of execution does not work as xrSuggestInteractionProfileBindings needs to be called before xrAttachSessionActionSets

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions