错误
在运行别人的Unity HDRP项目的时候会提示:
D3D11 is currently the only graphics API compatible with the Oculus XR Plugin on desktop platforms. Please change the preferred Graphics API setting in Player Settings.
UnityEditor.EditorApplication:Internal_PlayModeStateChanged (UnityEditor.PlayModeStateChange)


解决方式
-
打开Window>Render Pipline>Render Pipeline Wizard

-
检查HDRP和HDRP+VR和,HDRP+DXR中有没有错误,如果有就点击Fixed。

-
再次运行,如果过还不行,
-
在Unity编辑器中,选择“Edit”菜单,然后选择“Project Settings”
-
在“Project Settings”窗口中,选择“Player”选项卡。

-
在“Player Settings”面板中,展开“Other Settings”部分。
-
在“Other Settings”部分中,找到“Rendering”设置。
-
找到“Auto Graphics API for Windows” 勾选。

-
然后再次运行,试试?
附件,项目的部分设置
Player




XR Plug-in Managerment


3万+

被折叠的 条评论
为什么被折叠?



