Closed keveleigh closed 4 years ago
@keveleigh if you're heads down this week on other things, can you redirect this to @MaxWang-MS?
Fixed with #8591
@davidkline-ms I'm going to reopen this for now, to continue tracking the Leap Motion and Oculus asmdefs, which I believe need additional changes to set them up for when the corresponding SDKs are installed. https://github.com/microsoft/MixedRealityToolkit-Unity/pull/8591#issuecomment-696393464
@davidkline-ms Thoughts on adding any configuration checkers to a .npmignore once we get the asmdefs configured correctly in the repo? That way there isn't any confusion or attempt to edit the asmdefs
According to @RogPodge the Oculus integration works just fine when he tested using UPM MRTK. Maybe @RogPodge could take a look?
After some additional testing, I think Unity 2019 might allow you to edit these asmdefs even though they're in immutable folders, but the message in the original post about an invalidated package cache happens in Unity 2020. We should prepare for that and not edit files from UPM wherever possible.
May I recommend having the Oculus asmdefs referenced directly? If the Oculus integration is not there they're not there, but the asmdefs still work. (this is also the preferred way to work with packages that might potentially be there but are not always).
Also I can confirm that the Oculus Integration does not work directly with the current packages (2.5.0-preview.20200922.2). There's that asmdef issue, plus additional documentation issues on how to set up hands.
I'm happy to do a PR to include them.
https://github.com/microsoft/MixedRealityToolkit-Unity/pull/8655
PR up here, still needs manual testing before we push it.
Completed with #8697
Describe the bug
If the asmdefs aren't correctly set up for Unity 2019 before packing for UPM, the auto-config-checkers attempt to edit immutable assets and fail:
This prevents references and asmdef-specific compilation defines from being set, preventing certain code from properly running.
To reproduce
Steps to reproduce the behavior:
Tracking