MicrosoftDocs / mixed-reality

Mixed Reality documentation
Creative Commons Attribution 4.0 International
174 stars 184 forks source link

The Step: Click the left mouse button to start the tap-to-place process. Doesn't work. #372

Closed Secret-Lin closed 3 years ago

Secret-Lin commented 3 years ago

[Enter feedback here] The Step: Click the left mouse button to start the tap-to-place process. Doesn't work. (Solved)


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Secret-Lin commented 3 years ago

Besides, Press-and-hold the mouse and drag the mouse do not change the camera view, it ony change the view in Scene.

Secret-Lin commented 3 years ago

Well, there is an error happen while in play mode: NullReferenceException: Object reference not set to an instance of an object Microsoft.MixedReality.Toolkit.MixedRealitySceneContent.InitializeSceneContent () (at Library/PackageCache/com.microsoft.mixedreality.toolkit.foundation@f9119e214301-1624605940213/Core/Utilities/SceneContent/MixedRealitySceneContent.cs:115) Microsoft.MixedReality.Toolkit.MixedRealitySceneContent+d__8.MoveNext () (at Library/PackageCache/com.microsoft.mixedreality.toolkit.foundation@f9119e214301-1624605940213/Core/Utilities/SceneContent/MixedRealitySceneContent.cs:75) UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at <72beca6012c7404d8521ba134a35bf68>:0)

It says the MixedRealitySceneContent has an object reference and it is set to non-object. But I can't find that reference and I can't solve it.

veeruby-developer commented 3 years ago

these errors does not seem to be from the tutorial implementation, can you provide us more details, like Unity version, MRTK version, and are you using openXR or XRSDK or LegacyWSA and also which is the MRTK profile you used?

hferrone commented 3 years ago

@Secret-Lin Can you send us some full logs and detailed implementation instructions on how you're setup?

Secret-Lin commented 3 years ago

these errors does not seem to be from the tutorial implementation, can you provide us more details, like Unity version, MRTK version, and are you using openXR or XRSDK or LegacyWSA and also which is the MRTK profile you used?

For Unity, it is 2019.4.28f1c1. For MRTK, it is latest version, which is 2.7.2 for Foundation. I think I use the XRSDK as the toturial suggests.

@Secret-Lin Can you send us some full logs and detailed implementation instructions on how you're setup?

I think I strictly follow the toturial and what logs do you want? l am a freshman in this area. -v-

Secret-Lin commented 3 years ago

Well! Problem Solved! In the first and second step of toturial. I followed the ch-veision. Then, I reallize it has some problem then I switch to en-veision. But I do not redo the first two steps. Today, I redo the first two steps, the problem is solved. Anyway, Thanks for your reply and help!! -v-