Open
Description
When loading the list of API layers from HKEY_LOCAL_MACHINE\SOFTWARE\Khronos\OpenXR\1\ApiLayers\Implicit
, the OpenXR loader will silently fail upon parsing a bad key. This can be reproduced by doing the following:
- Add a DWORD key for API Layer number 1
- Add a REG_SZ key (bad key)
- Add a DWORD key for API Layer number 2
API Layer number 2 will not be loaded, but no error message is emitted (checked with both VS debugger and DebugView). This can cause very troublesome situations for API layer developers, especially when the "bad key" in question is the (Default) key not being set to an empty value (because that key is largely invisible to the naked eye).