Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/quest sdk no boundary #737

Merged
merged 6 commits into from
Jul 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ jobs:
targetPlatform: StandaloneOSX
vrsdk: Monoscopic
cache: MacOS
packages_to_remove: com.meta.xr.sdk.core

- name: Android OpenXR
targetPlatform: Android
Expand All @@ -228,7 +229,7 @@ jobs:
cache: Android_Vulkan
extraoptions: -btb-il2cpp
versionSuffix: 1
extra_defines: OCULUS_SUPPORTED USE_QUEST_PACKAGE_NAME
extra_defines: OCULUS_SUPPORTED USE_QUEST_PACKAGE_NAME ENABLE_CONTEXTUAL_BOUNDARYLESS_APP

- name: Android Pico
targetPlatform: Android
Expand Down
13 changes: 13 additions & 0 deletions Assets/Editor/BuildTiltBrushPostProcess.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,19 @@ public void OnPostGenerateGradleAndroidProject(string path)
);
#endif

#if ENABLE_CONTEXTUAL_BOUNDARYLESS_APP
UnityEngine.Debug.Log("Add com.oculus.feature.CONTEXTUAL_BOUNDARYLESS_APP");
AddOrRemoveTag(doc,
androidNamespaceURI,
"/manifest",
"uses-feature",
"com.oculus.feature.CONTEXTUAL_BOUNDARYLESS_APP",
true,
true,
"required", "true"
);
#endif

#if FORCE_HEADTRACKING
UnityEngine.Debug.Log("Add android.hardware.vr.headtracking");
AddOrRemoveTag(doc,
Expand Down
7 changes: 4 additions & 3 deletions Assets/Oculus/OculusProjectConfig.asset
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ MonoBehaviour:
handTrackingSupport: 0
handTrackingFrequency: 0
handTrackingVersion: 0
multimodalHandsControllersSupport: 0
anchorSupport: 1
mikeage marked this conversation as resolved.
Show resolved Hide resolved
sharedAnchorSupport: 1
renderModelSupport: 0
Expand All @@ -27,10 +26,12 @@ MonoBehaviour:
eyeTrackingSupport: 0
virtualKeyboardSupport: 0
sceneSupport: 1
boundaryVisibilitySupport: 0
disableBackups: 0
enableNSCConfig: 0
securityXmlPath:
skipUnneededShaders: 0
enableIL2CPPLTO: 0
focusAware: 1
requiresSystemKeyboard: 0
experimentalFeaturesEnabled: 0
Expand All @@ -40,5 +41,5 @@ MonoBehaviour:
systemSplashScreen: {fileID: 0}
systemSplashScreenType: 0
_systemLoadingScreenBackground: 0
ovrPluginMd5Win64: c48997b21953ed048a386c4b9048abd8
ovrPluginMd5Android: 65acd2172a25fc3c956f0376ec0704c4
ovrPluginMd5Win64: 33685b25e1b4f2b6c1632069bc88783632496c19eda9b55641c321c119bdf68c
ovrPluginMd5Android: b9e59102e373e2d7a97cd1dbe38cac15e89ec54c0a32b98491b3d09d93ccda7d
3 changes: 0 additions & 3 deletions Assets/Plugins/Android/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,4 @@
<uses-permission android:name="android.permission.READ_PHONE_STATE" tools:node="remove"/>
<uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE"/>
<uses-permission android:name="com.oculus.permission.USE_SCENE" />
<uses-feature
android:name="com.oculus.feature.CONTEXTUAL_BOUNDARYLESS_APP"
android:required="true" />
</manifest>
51 changes: 41 additions & 10 deletions Assets/XR/Settings/Open XR Package Settings.asset
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,26 @@ MonoBehaviour:
company: Unity
priority: 0
required: 0
--- !u!114 &-6188679329620277984
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 81954520b8bbd2f458104fe69f5a7680, type: 3}
m_Name: MetaXRSpaceWarp Android
m_EditorClassIdentifier:
m_enabled: 0
nameUi: Meta XR Space Warp
version: 1.0.0
featureIdInternal: com.meta.openxr.feature.spacewarp
openxrExtensionStrings: XR_FB_space_warp
company: Meta
priority: 0
required: 0
--- !u!114 &-5585190116095795567
MonoBehaviour:
m_ObjectHideFlags: 0
Expand Down Expand Up @@ -419,12 +439,17 @@ MonoBehaviour:
XR_FB_swapchain_update_state_vulkan XR_FB_composition_layer_alpha_blend XR_KHR_composition_layer_depth
XR_KHR_composition_layer_cylinder XR_KHR_composition_layer_cube XR_KHR_composition_layer_equirect2
XR_KHR_convert_timespec_time XR_KHR_visibility_mask XR_FB_render_model XR_FB_spatial_entity
XR_FB_spatial_entity_query XR_FB_spatial_entity_storage XR_META_performance_metrics
XR_FB_scene XR_FB_spatial_entity_container XR_FB_scene_capture XR_FB_face_tracking
XR_FB_eye_tracking XR_FB_keyboard_tracking XR_FB_passthrough XR_FB_triangle_mesh
XR_FB_spatial_entity_user XR_FB_spatial_entity_query XR_FB_spatial_entity_storage
XR_FB_spatial_entity_storage_batch XR_META_spatial_entity_mesh XR_META_performance_metrics
XR_FB_spatial_entity_sharing XR_FB_scene XR_FB_spatial_entity_container XR_FB_scene_capture
XR_FB_face_tracking XR_FB_face_tracking2 XR_FB_eye_tracking XR_FB_eye_tracking_social
XR_FB_body_tracking XR_META_body_tracking_full_body XR_META_body_tracking_calibration
XR_META_body_tracking_fidelity XR_FB_keyboard_tracking XR_FB_passthrough XR_FB_triangle_mesh
XR_FB_passthrough_keyboard_hands XR_OCULUS_audio_device_guid XR_FB_common_events
XR_FB_space_warp XR_FB_hand_tracking_capsules XR_FB_hand_tracking_mesh XR_FB_hand_tracking_aim
XR_FB_touch_controller_pro XR_FB_touch_controller_proximity '
XR_FB_hand_tracking_capsules XR_FB_hand_tracking_mesh XR_FB_hand_tracking_aim
XR_FB_touch_controller_pro XR_FB_touch_controller_proximity XR_FB_composition_layer_depth_test
XR_FB_haptic_amplitude_envelope XR_FB_haptic_pcm XR_META_spatial_entity_persistence
XR_META_spatial_entity_discovery XR_META_boundary_visibility XR_META_headset_id '
company: Meta
priority: 0
required: 0
Expand Down Expand Up @@ -592,6 +617,7 @@ MonoBehaviour:
- {fileID: 7875633773414566808}
- {fileID: 3409825189635461668}
- {fileID: -7871932882014305355}
- {fileID: -6188679329620277984}
- {fileID: 6457187213107907505}
- {fileID: -1562417761177608366}
- {fileID: -568313750252970699}
Expand Down Expand Up @@ -627,12 +653,17 @@ MonoBehaviour:
XR_FB_swapchain_update_state_vulkan XR_FB_composition_layer_alpha_blend XR_KHR_composition_layer_depth
XR_KHR_composition_layer_cylinder XR_KHR_composition_layer_cube XR_KHR_composition_layer_equirect2
XR_KHR_convert_timespec_time XR_KHR_visibility_mask XR_FB_render_model XR_FB_spatial_entity
XR_FB_spatial_entity_query XR_FB_spatial_entity_storage XR_META_performance_metrics
XR_FB_scene XR_FB_spatial_entity_container XR_FB_scene_capture XR_FB_face_tracking
XR_FB_eye_tracking XR_FB_keyboard_tracking XR_FB_passthrough XR_FB_triangle_mesh
XR_FB_spatial_entity_user XR_FB_spatial_entity_query XR_FB_spatial_entity_storage
XR_FB_spatial_entity_storage_batch XR_META_spatial_entity_mesh XR_META_performance_metrics
XR_FB_spatial_entity_sharing XR_FB_scene XR_FB_spatial_entity_container XR_FB_scene_capture
XR_FB_face_tracking XR_FB_face_tracking2 XR_FB_eye_tracking XR_FB_eye_tracking_social
XR_FB_body_tracking XR_META_body_tracking_full_body XR_META_body_tracking_calibration
XR_META_body_tracking_fidelity XR_FB_keyboard_tracking XR_FB_passthrough XR_FB_triangle_mesh
XR_FB_passthrough_keyboard_hands XR_OCULUS_audio_device_guid XR_FB_common_events
XR_FB_space_warp XR_FB_hand_tracking_capsules XR_FB_hand_tracking_mesh XR_FB_hand_tracking_aim
XR_FB_touch_controller_pro XR_FB_touch_controller_proximity '
XR_FB_hand_tracking_capsules XR_FB_hand_tracking_mesh XR_FB_hand_tracking_aim
XR_FB_touch_controller_pro XR_FB_touch_controller_proximity XR_FB_composition_layer_depth_test
XR_FB_haptic_amplitude_envelope XR_FB_haptic_pcm XR_META_spatial_entity_persistence
XR_META_spatial_entity_discovery XR_META_boundary_visibility XR_META_headset_id '
company: Meta
priority: 0
required: 0
Expand Down
2 changes: 1 addition & 1 deletion Packages/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"dependencies": {
"com.ixxy.unitysymmetry": "https://github.com/IxxyXR/unity-symmetry.git?nocache=7#upm",
"com.meta.xr.sdk.core": "https://github.com/icosa-mirror/com.meta.xr.sdk.core.git#60.0.0-openbrush",
"com.meta.xr.sdk.core": "https://github.com/icosa-mirror/com.meta.xr.sdk.core.git#66.0.0-openbrush",
"com.meta.xr.sdk.platform": "60.0.0",
"com.unity.2d.sprite": "1.0.0",
"com.unity.2d.tilemap": "1.0.0",
Expand Down
4 changes: 2 additions & 2 deletions Packages/packages-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
"hash": "4f87195d54ccefe076678cb83a296b3f0428fc53"
},
"com.meta.xr.sdk.core": {
"version": "https://github.com/icosa-mirror/com.meta.xr.sdk.core.git#60.0.0-openbrush",
"version": "https://github.com/icosa-mirror/com.meta.xr.sdk.core.git#66.0.0-openbrush",
"depth": 0,
"source": "git",
"dependencies": {},
"hash": "0feb415034b094e4622efa4e5b3f2c87ded2d2f3"
"hash": "25b32e5b6dacc484be3eed179ea3d2d21d55b9d1"
},
"com.meta.xr.sdk.platform": {
"version": "60.0.0",
Expand Down
Loading