Search Issue Tracker

Not Reproducible

Votes

0

Found in

6000.0.26f1

6000.1.0a7

Issue ID

UUM-86714

Regression

Yes

[Editor][XR] Empty window in OpenXR (Project Settings) when Desktop is set to active platform

--

-

*Steps to reproduce (video attached):*

1. Open attached project

2. Navigate to *Project Settings* -> *XR Plugin Management*  click on Android tab (make Android active platform)

3. Navigate to -> *OpenXR* and set platform to Desktop (Windows, Max, Linux settings)

*Actual results:* OpenXR settings window is empty and errors thrown in console 

*Expected results:* OpenXR shows settings

*Reproducible with versions:* 6000.0.26f1

*Not reproducible with versions:* 2023.2.20f1

*Tested on (OS):* MacOS 14.6

*Notes:*
* Errors in console:
** IOException: Operation not permitted
Rethrow as UnauthorizedAccessException: Access to the path '/Applications/Unity/6000.0.26f1_ccb7c73d2c02_x64/Unity.app/Contents/MonoBleedingEdge/etc/mono/registry/LocalMachine' is denied.
System.IO.FileSystem.CreateDirectory (System.String fullPath) (at <a6d715f5ce8c4754a140b50ff638878a>:0)
System.IO.Directory.CreateDirectory (System.String path) (at <a6d715f5ce8c4754a140b50ff638878a>:0)
Microsoft.Win32.KeyHandler..ctor (Microsoft.Win32.RegistryKey rkey, System.String basedir, System.Boolean is_volatile) (at <a6d715f5ce8c4754a140b50ff638878a>:0)
Rethrow as SecurityException: No access to the given key
Microsoft.Win32.KeyHandler..ctor (Microsoft.Win32.RegistryKey rkey, System.String basedir, System.Boolean is_volatile) (at <a6d715f5ce8c4754a140b50ff638878a>:0)
Microsoft.Win32.KeyHandler..ctor (Microsoft.Win32.RegistryKey rkey, System.String basedir) (at <a6d715f5ce8c4754a140b50ff638878a>:0)
Microsoft.Win32.KeyHandler.Lookup (Microsoft.Win32.RegistryKey rkey, System.Boolean createNonExisting) (at <a6d715f5ce8c4754a140b50ff638878a>:0)
Microsoft.Win32.UnixRegistryApi.OpenSubKey (Microsoft.Win32.RegistryKey rkey, System.String keyname, System.Boolean writable) (at <a6d715f5ce8c4754a140b50ff638878a>:0)
Microsoft.Win32.RegistryKey.OpenSubKey (System.String name, System.Boolean writable) (at <a6d715f5ce8c4754a140b50ff638878a>:0)
(wrapper remoting-invoke-with-check) Microsoft.Win32.RegistryKey.OpenSubKey(string,bool)
UnityEditor.XR.OpenXR.OpenXRRuntimeSelector.GenerateRuntimeDetectorList () (at ./Library/PackageCache/com.unity.xr.openxr/Editor/OpenXRRuntimeSelector.cs:250)
UnityEditor.XR.OpenXR.OpenXRRuntimeSelector.RefreshRuntimeDetectorList () (at ./Library/PackageCache/com.unity.xr.openxr/Editor/OpenXRRuntimeSelector.cs:243)
UnityEditor.XR.OpenXR.PackageSettingsEditor.OnEnable () (at ./Library/PackageCache/com.unity.xr.openxr/Editor/PackageSettingsEditor.cs:71)
UnityEditor.EditorApplication:Internal_CallDelayFunctions() (at /Users/bokken/build/output/unity/unity/Editor/Mono/EditorApplication.cs:400)
** GUI Error: You are pushing more GUIClips than you are popping. Make sure they are balanced.
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) (at /Users/bokken/build/output/unity/unity/Modules/IMGUI/GUIUtility.cs:219)
** InvalidCastException: Specified cast is not valid.
UnityEditor.EditorGUILayout.BeginScrollView (UnityEngine.Vector2 scrollPosition, System.Boolean alwaysShowHorizontal, System.Boolean alwaysShowVertical, UnityEngine.GUIStyle horizontalScrollbar, UnityEngine.GUIStyle verticalScrollbar, UnityEngine.GUIStyle background, UnityEngine.GUILayoutOption[] options) (at /Users/bokken/build/output/unity/unity/Editor/Mono/EditorGUILayout.cs:1942)
UnityEditor.EditorGUILayout.BeginScrollView (UnityEngine.Vector2 scrollPosition, UnityEngine.GUILayoutOption[] options) (at /Users/bokken/build/output/unity/unity/Editor/Mono/EditorGUILayout.cs:1912)
UnityEditor.EditorGUILayout+ScrollViewScope..ctor (UnityEngine.Vector2 scrollPosition, UnityEngine.GUILayoutOption[] options) (at /Users/bokken/build/output/unity/unity/Editor/Mono/EditorGUILayout.cs:1871)
UnityEditor.SettingsWindow.DrawSettingsPanel () (at /Users/bokken/build/output/unity/unity/Editor/Mono/Settings/SettingsWindow.cs:453)
UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Action onGUIHandler, System.Boolean canAffectFocus) (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/IMGUIContainer.cs:429)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Action onGUIHandler, System.Boolean canAffectFocus) (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/IMGUIContainer.cs:718)
UnityEngine.UIElements.IMGUIContainer.DoIMGUIRepaint () (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/IMGUIContainer.cs:583)
UnityEngine.UIElements.UIR.RenderChainCommand.ExecuteNonDrawMesh (UnityEngine.UIElements.UIR.DrawParams drawParams, System.Single pixelsPerPoint, System.Exception& immediateException) (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/Renderer/UIRenderer/UIRenderers.cs:128)
Rethrow as ImmediateModeException
UnityEngine.UIElements.UIR.RenderChain.Render () (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/Renderer/UIRRenderChain.cs:557)
UnityEngine.UIElements.UIRRepaintUpdater.Render () (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/Renderer/UIRRepaintUpdater.cs:124)
UnityEngine.UIElements.BaseVisualElementPanel.Render () (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/Panel.cs:719)
UnityEngine.UIElements.Panel.Render () (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/Panel.cs:1378)
UnityEditor.UIElements.EditorPanel.Render () (at /Users/bokken/build/output/unity/unity/Modules/UIElementsEditor/EditorPanel.cs:97)
UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/UIElementsUtility.cs:484)
UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& eventHandled) (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/UIElementsUtility.cs:232)
UnityEngine.UIElements.UIEventRegistration.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/UIElementsUtility.cs:76)
UnityEngine.UIElements.UIEventRegistration+<>c.<.cctor>b__1_2 (System.Int32 i, System.IntPtr ptr) (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/UIElementsUtility.cs:30)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& result) (at /Users/bokken/build/output/unity/unity/Modules/IMGUI/GUIUtility.cs:219)

  1. Resolution Note:

    Not reproducible anymore

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.