Skip to content

SecureMR Provider Creation Fails on Pico 4 Ultra Enterprise #3

@Redfoxbox

Description

@Redfoxbox

SecureMR Provider Creation Fails on Pico 4 Ultra Enterprise with ERROR_VALIDATION_FAILURE
Environment

Device: Pico 4 Ultra Enterprise
Unity Version: 6000.0.39f1
PXR Unity SDK Version: 3.2.4
Target API Level: 35
Min API Level: 29
Android OS: 14 (API 34)
Build Configuration: Release, IL2CPP, ARM64

Issue Description
The SecureMR Provider fails to initialize on Pico 4 Ultra Enterprise devices, throwing a validation failure error. This results in continuous NullReferenceExceptions as the pipeline attempts to use the null provider.
Error Details
Error Unity Failed to create SecureMR Provider: Failed to create SecureMRProvider ERROR_VALIDATION_FAILURE
InvalidOperationException: Failed to create SecureMRProvider ERROR_VALIDATION_FAILURE
at provider = new Provider(vstWidth, vstHeight);
at PicoXR.SecureMR.Demo.MinimalApp.CreateProvider ()
Followed by repeated:
NullReferenceException: Object reference not set to an instance of an object.
at Unity.XR.PXR.SecureMR.TensorMapping.Set (Unity.XR.PXR.SecureMR.Tensor localTensorReference, Unity.XR.PXR.SecureMR.Tensor globalTensor)
at PicoXR.SecureMR.Demo.MinimalApp.RunPipeline ()
Additional Context from Logs
[PxrUnityNative] [PICOSecureMR.cpp][CreateSecureMRFramework][41]: checkPointerArgIsNotNull arg error:xrCreateSecureMrFrameworkPICOmust not be nullptr
Questions

Device Compatibility: Is SecureMR officially supported on pico 4 ultra enterprise devices? The documentation doesn't clearly specify device compatibility.
Missing Dependencies: Are there specific enterprise configurations, permissions, or runtime components required for SecureMR that might be missing?
API Availability: Is xrCreateSecureMrFrameworkPICO available on all Pico 4 variants, or only on specific SKUs?

Expected Behavior

SecureMR Provider should initialize successfully on supported devices
If not supported, the SDK should provide a clear capability check method
Graceful fallback when SecureMR is unavailable

Actual Behavior

Provider creation fails with validation error
No clear indication of why validation fails
Application continues to attempt pipeline execution with null provider

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions