Skip to content

Cannot build webgl on multiplatform project #869

@theDoubi125

Description

@theDoubi125

I work on a project where I must build a VR version using steamVR, and a webgl version that uses keyboard + mouse. The problem is that once I import the steamVR package, it adds automatically openVR, which is not handled in webgl but unity still tries to include it. The problem comes from the fact that the elements in the Runtime folder (openvr_api, ucrtbased, XRSDKOpenVR) from the openVR package do not exclude the WebGL platform, and as it is in a scoped package, the user cannot change it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions