Skip to content

Commit 2811fec

Browse files
AlexThivmeta-codesync[bot]
authored andcommitted
Release for updated SDK 81.0.0
Summary: * Add issue template * Video: Disable debug buffer testing on movie player overlays * Passthrough: Remove surface projected PT quad * SpatialAnchors: Add tracking state text to SpatialAnchor sample Reviewed By: tmow-meta Differential Revision: D86133799 fbshipit-source-id: 7a4730cc74d8efea1946984e05d977057ec5e089
1 parent cb69ab4 commit 2811fec

14 files changed

Lines changed: 112 additions & 451 deletions

File tree

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
name: 🐛 Bug Report
2+
description: Report a reproducible bug or regression.
3+
title: '[BUG] '
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: Thank you for taking the time to report an issue!
8+
- type: input
9+
id: version
10+
attributes:
11+
label: Unity version
12+
placeholder: 2022.3.15f1
13+
validations:
14+
required: true
15+
- type: checkboxes
16+
id: where
17+
attributes:
18+
label: Where does the issue occur?
19+
options:
20+
- label: In Unity Editor
21+
required: false
22+
- label: In Quest builds
23+
required: false
24+
- type: textarea
25+
id: description
26+
attributes:
27+
label: Description
28+
description: A clear and concise description of what the bug is.
29+
validations:
30+
required: true
31+
- type: textarea
32+
id: reproduction
33+
attributes:
34+
label: Steps to reproduce
35+
description: The list of steps that reproduce the issue.
36+
validations:
37+
required: true
38+
- type: textarea
39+
id: logs
40+
attributes:
41+
label: Logs
42+
description: |
43+
For in-editor bugs, paste the logs from the "Console" window in the Unity Editor.
44+
For on-device Quest bugs, paste the output of `adb logcat -s "Unity"`
45+
render: text
46+
validations:
47+
required: true
48+
- type: textarea
49+
id: extra
50+
attributes:
51+
label: Additional info
52+
description: Please provide screenshots, a video, or any other relevant information.

Assets/Oculus/OculusProjectConfig.asset

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ MonoBehaviour:
4242
experimentalFeaturesEnabled: 1
4343
insightPassthroughEnabled: 0
4444
_insightPassthroughSupport: 2
45+
isPassthroughCameraAccessEnabled: 0
4546
_processorFavor: 0
4647
systemSplashScreen: {fileID: 2800000, guid: d912e38fd43da354b9b187f8585109d1, type: 3}
4748
systemSplashScreenType: 0

Assets/Resources/SplashScreenSettings.asset

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ MonoBehaviour:
1212
m_Script: {fileID: 11500000, guid: ac8f835de36f47deaa2a10b371655305, type: 3}
1313
m_Name: SplashScreenSettings
1414
m_EditorClassIdentifier:
15-
isContextualPassthroughEnabled: 0
16-
isSystemSplashScreenEnabled: 0
15+
isContextualPassthroughEnabled: 1
16+
isSystemSplashScreenEnabled: 1
1717
isUnityVrSplashScreenEnabled: 0
1818
isUnityLogosSplashScreenEnabled: 0

Assets/StarterSamples/Core/CustomHands/Scripts/Hand.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,6 @@ private void Start()
9999

100100
OVRManager.InputFocusAcquired += OnInputFocusAcquired;
101101
OVRManager.InputFocusLost += OnInputFocusLost;
102-
#if UNITY_EDITOR
103-
OVRPlugin.SendEvent("custom_hand", (SceneManager.GetActiveScene().name == "CustomHands").ToString(),
104-
"sample_framework");
105-
#endif
106102
}
107103

108104
private void OnDestroy()

Assets/StarterSamples/Core/DebugUI/Scripts/DebugUIBuilder.cs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -151,15 +151,6 @@ public void Awake()
151151

152152
GetComponent<OVRRaycaster>().pointer = lp.gameObject;
153153
lp.gameObject.SetActive(false);
154-
#if UNITY_EDITOR
155-
string scene = SceneManager.GetActiveScene().name;
156-
OVRPlugin.SendEvent("debug_ui_builder",
157-
((scene == "DebugUI") ||
158-
(scene == "DistanceGrab") ||
159-
(scene == "OVROverlay") ||
160-
(scene == "Locomotion")).ToString(),
161-
"sample_framework");
162-
#endif
163154
}
164155

165156
public void Show()

Assets/StarterSamples/Core/Locomotion/Scripts/LocomotionController.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,5 @@ void Start()
5959
}
6060

6161
Assert.IsNotNull(CameraRig);
62-
#if UNITY_EDITOR
63-
OVRPlugin.SendEvent("locomotion_controller", (SceneManager.GetActiveScene().name == "Locomotion").ToString(),
64-
"sample_framework");
65-
#endif
6662
}
6763
}

Assets/StarterSamples/Editor/OculusSampleUtil.cs

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -17,39 +17,3 @@
1717
* See the License for the specific language governing permissions and
1818
* limitations under the License.
1919
*/
20-
21-
#if UNITY_EDITOR
22-
using Meta.XR.Samples;
23-
using UnityEditor;
24-
25-
[InitializeOnLoadAttribute]
26-
[MetaCodeSample("StarterSample-Editor")]
27-
public class OculusSampleUtil
28-
{
29-
static OculusSampleUtil()
30-
{
31-
#if UNITY_2017_2_OR_NEWER
32-
EditorApplication.playModeStateChanged += HandlePlayModeState;
33-
#else
34-
EditorApplication.playmodeStateChanged += () =>
35-
{
36-
if (EditorApplication.isPlaying)
37-
{
38-
OVRPlugin.SendEvent("load", OVRPlugin.wrapperVersion.ToString(), "sample_framework");
39-
}
40-
};
41-
#endif
42-
}
43-
44-
#if UNITY_2017_2_OR_NEWER
45-
private static void HandlePlayModeState(PlayModeStateChange state)
46-
{
47-
if (state == PlayModeStateChange.EnteredPlayMode)
48-
{
49-
OVRPlugin.SendEvent("load", OVRPlugin.wrapperVersion.ToString(), "sample_framework");
50-
}
51-
}
52-
#endif
53-
}
54-
55-
#endif

0 commit comments

Comments
 (0)