Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot build in hololens with mixed reality toolkit #11

Open
iryu89 opened this issue Jul 21, 2019 · 6 comments
Open

Cannot build in hololens with mixed reality toolkit #11

iryu89 opened this issue Jul 21, 2019 · 6 comments

Comments

@iryu89
Copy link

iryu89 commented Jul 21, 2019

Hi,

First of all thanks for the potree solution, I can import the point cloud inside unity.
But when I try to build I cannot see the point cloud. It was succesfully load in unity editor but when i build i couldnt see in hololens.

This is the error that I suspect relate to this issue.

Reference rewriter: Error: field System.Numerics.Quaternion Windows.Perception.People.JointPose::Orientation doesn't exist in target framework. It is referenced from Microsoft.MixedReality.Toolkit.Providers.WindowsMixedReality.dll at System.Void Microsoft.MixedReality.Toolkit.WindowsMixedReality.Input.WindowsMixedRealityArticulatedHand::UpdateHandData(UnityEngine.XR.WSA.Input.InteractionSourceState).
UnityEngine.Debug:LogError(Object)
PostProcessWinRT:RunReferenceRewriter() (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1064)
PostProcessWinRT:Process() (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:217)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

Thanks

@SFraissTU
Copy link
Owner

SFraissTU commented Jul 23, 2019

Hi!
Sorry, I don't have any experience with Hololens or similar toolkits. So I find it hard to give you any advice here. The error also seems to appear in classes that have nothing to do with my project. Maybe Hololens requires special project settings etc. A quick google search shows me that several people using Hololens got this error message also in other projects, and apparently it can be ignored.
I am not really able to take a closer look at this or attempt to fix this as I do not have a Hololens.

Other people have definitely managed to get the project running in VR. I hope to get my hand on an ocolus this autumn to finally test this myself.

@iryu89
Copy link
Author

iryu89 commented Jul 23, 2019

Hi,

Thanks for your respond.Maybe I can try to build it self without mixed reality toolkit. I hope you can get your Oculus.Thanks

@akharroubi
Copy link

Hi,

I tested this project with Oculus Rift VR last summer, and it worked wonderfully,

Thank you Simon for sharing

@maradanovic
Copy link

Hi @iryu89, did you manage to do it?
I'm trying to deploy on HoloLens but no luck so far. Any help would be much appreciated.

@iryu89
Copy link
Author

iryu89 commented Jul 3, 2021 via email

@maradanovic
Copy link

Thanks, @iryu89. For anyone else stumbling upon this, I managed to do it by placing the potree cloud in Unity's StreamingAssets.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants