WindowsMixedReality | The Windows Mixed Reality platform components | Augmented Reality library
kandi X-RAY | WindowsMixedReality Summary
kandi X-RAY | WindowsMixedReality Summary
The Windows Mixed Reality Extension for the XRTK - Mixed Reality Toolkit.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of WindowsMixedReality
WindowsMixedReality Key Features
WindowsMixedReality Examples and Code Snippets
Community Discussions
Trending Discussions on WindowsMixedReality
QUESTION
I am trying to build a project with unity3d 2018.3.13f1 and MRTK v2 RC1. First I got the errors shown in this SO-post and followed the answers there, so got the windows insider SDK and the errors resolved. Now I get a new amount of them:
Nevermind the last error, I had just forgotten to delete the last build.
The first error is quite long so I wont post the full text.
Reference Rewriter found some errors while running with command "--target=Temp\StagingArea\Data\Managed\Assembly-CSharp.dll" "--target=Temp\StagingArea\Data\Managed\Unity.XR.WindowsMR.dll" "--target=Temp\StagingArea\Data\Managed\Unity.TextMeshPro.dll" "--target=Temp\StagingArea\Data\Managed\Unity.Analytics.DataPrivacy.dll" "--target=Temp\StagingArea\Data\Managed\Microsoft.MixedReality.Toolkit.Utilities.Gltf.dll"
Second and third error:
Reference rewriter: Error: field
System.Numerics.Vector3 Windows.Perception.People.HandMeshVertex::Position
doesn't exist in target framework.
Reference rewriter: Error: field
System.Numerics.Vector3 Windows.Perception.Spatial.SpatialRay::Direction
doesn't exist in target framework. It is referenced from Microsoft.MixedReality.Toolkit.Providers.WindowsMixedReality.dll at System.Void
I have checked this, this and this post and tried their solutions but have not gotten it to work yet.
Any help to solve this is appreciated! Tell me if some info is missing.
Edit
Tried building again and got the same errors as above except the last one as explained above as well. This time console say that the build was succeeded even though all the errors.
...ANSWER
Answered 2019-Apr-30 at 08:20Do you have the reference/nuget for system.numerics? You can find it here System.Numerics.Vectors Nuget
QUESTION
The problem
To sum up, both Unity and Visual Studio 2017 builds the project, deploys the project, but once opening the app, nothing appears, not even a Unity splash screen. However making the bloom gesture on HoloLens proved that the app is "open" and closable, but that's as far as it gets.
What we tried
Our deployment target is a HoloLens 1 running the latest OS for said device (10.0.17763.380).
We went through the provided solution here:
MRTK (V2) Need to update Hololens?
As can be seen in below image:
NOTE: Images below shows Visual Studio 2019, but we tested both cases with Visual Studio 2017 AND Visual Studio 2019.
We installed the Windows 10 Insider Preview SDK (Pardon the Danish)
And tried to follow the solution provided here: Cannot build with MRTK v2.0.0-RC1
Which seems to conflict with what the other answer to the problem seemed to be.
This solution-attempt however provided another error, saying that the deployment target (HoloLens 1) had to run OS 10.0.18326, which makes sense as this OS does not exist for this particular device as far as we know. We're as previously mentioned, running on the latest OS which is 10.0.17763.
As far as changing the C# language to 7.2, we had troubles dealing with that as all guides says to access the language from Build in the Solution Properties but we were unable to find this tab. Here's what happens when we attempt to press "Properties" after right-clicking the projectname.sln in the Visual Studio hierarchy:
However, we hoped we could change the language settings as in here:
but as you can see, there's no "Build" tab, and what we see looks a bit far from what we're suggested should be shown.
What we hoped for
A working HoloLens 1 app that can be opened up, like with the MRTK v2 Beta version.
What actually happens
As mentioned in the problem, the app gets built and deployed, but not only is it filled with errors, nothing appears on opening the built app.
Unity errors can be seen here:
ANSWER
Answered 2019-Apr-19 at 06:32The errors starting with "Reference Rewriter" are benign and can safely be ignored, (tracked by this bug).
It's possible that your SampleScene that you are building is actually empty, in other words has no content. It may be a good idea to try instead to build and deploy the HandInteractionAllExample scene, located at Assets\MixedRealityToolkit.Examples\Demos\HandTracking\Scenes\HandInteractionExamples.unity.
Otherwise, your steps are looking correct. Please also see this answer for instructions on how to build a UWP using MRTK v2.
QUESTION
I am facing issue when I build the MixedRealityToolkit-Unity(V2) sample project,I faced the following error :
Assets\MixedRealityToolkit.Providers\WindowsMixedReality\WindowsMixedRealityArticulatedHand.cs(418,73): error CS0246: The type or namespace name 'HandJointKind' could not be found (are you missing a using directive or an assembly reference?)
Assets\MixedRealityToolkit.Providers\WindowsMixedReality\WindowsMixedRealityArticulatedHand.cs(111,17): error CS0246: The type or namespace name 'HandMeshObserver' could not be found (are you missing a using directive or an assembly reference?)
Assets\MixedRealityToolkit.Providers\WindowsMixedReality\WindowsMixedRealityArticulatedHand.cs(382,33): error CS0246: The type or namespace name 'HandJointKind' could not be found (are you missing a using directive or an assembly reference?)
Assets\MixedRealityToolkit.Providers\WindowsMixedReality\WindowsMixedRealityArticulatedHand.cs(412,26): error CS0246: The type or namespace name 'JointPose' could not be found (are you missing a using directive or an assembly reference?)
I am running on Windows 10 Insider preview with OS build : 18362.30 Version : 1903
Also I double checked with build setting Minimum SDK is 10.0.10240.0 Target SDK version is “Latest installed”
I am using mrtk_development branch for the MixedRealityToolkit-Unity.
Can any one help me or guide me if I am missing any steps here for the set-up.
Thanks.
...ANSWER
Answered 2019-Apr-16 at 20:32These errors look like Unity is actually not using the latest installed SDK. Have you tried the following:
- Restart your computer (not kidding).
- Delete your old Build/UWP folder.
- Delete Unity's Library folder (under YourProject/Library).
- Re-open Unity, and try to build again.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install WindowsMixedReality
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page