Hello,
when creating a custom XR plugin it took me a while to figure out that the package.json:keywords must contain the “xreditorsubsystem” tag for it to be discovered. I didnt see this mentioned in the docs anywhere and its the first time I find keywords beeing used as feature toggle.
STRP:
- open xr input sample project
- create a script with SubsystemManager.GetSubsystemDescriptors(inputDescs); and ensure at least 1 XR InputSubsystem is found (input0 in the samples)
- close the editor and remove the “xreditorsubsystem” in the “XR SDK Input Sample” package.json
- re-open the project - note that the subsystem is not discovered anymore
It would be nice to add this to the docs (obviously the keyword is present in the sample packages so it’s confusing that things dont work or stop working when you start building a plugin in a new or your own packages that dont have that keyword)