針對 OpenXR 進行疑難排解OpenXR troubleshooting

以下是使用 Windows Mixed Reality OpenXR 執行時間開發 OpenXR 應用程式時的一些疑難排解秘訣。Here are some troubleshooting tips when developing an OpenXR app using the Windows Mixed Reality OpenXR Runtime. 如果您有任何其他有關 OpenXR 1.0 規格的問題,請造訪 Khronos OpenXR 論壇#openxr 頻道的時差If you have any other questions about the OpenXR 1.0 specification, visit the Khronos OpenXR Forums or Slack #openxr channel.

注意

目前 Windows Mixed Reality OpenXR 執行時間與 x86 應用程式有已知的問題。There are known issues in the current Windows Mixed Reality OpenXR runtime with x86 apps. 您現在應該建立 x64 的桌面 OpenXR 應用程式。You should build desktop OpenXR apps for x64 at the moment.

OpenXR 應用程式未啟動 Windows Mixed RealityOpenXR app not starting Windows Mixed Reality

如果您的 OpenXR 應用程式未啟動 Windows Mixed Reality 當您執行它時,Windows Mixed Reality OpenXR 執行時間可能不會設定為使用中執行時間。If your OpenXR app isn't starting Windows Mixed Reality when you run it, the Windows Mixed Reality OpenXR Runtime may not be set as the active runtime. 遵循 Windows Mixed Reality 耳機的入門 指示來修正問題。Follow the instructions for getting started with OpenXR for Windows Mixed Reality headsets to fix the issue.

您也可以執行 適用于 Windows Mixed Reality 的 OpenXR 開發人員工具 ,以取得系統 Windows Mixed Reality OpenXR 執行時間狀態的疑難排解協助。You can also run the OpenXR Developer Tools for Windows Mixed Reality to get troubleshooting help on the state of your systems Windows Mixed Reality OpenXR Runtime.