MicrosoftDocs / mixed-reality

Mixed Reality documentation
Creative Commons Attribution 4.0 International
173 stars 181 forks source link

The type or namespace name 'AnchorModuleScript' could not be found #687

Open JeromevDEV opened 1 year ago

JeromevDEV commented 1 year ago

I'm currently following this tutorial https://learn.microsoft.com/en-us/windows/mixed-reality/develop/unity/tutorials/mr-learning-sharing-03

I imported PUN from the asset store and also the two .unitypackage which are MRTK.HoloLens2.Unity.Tutorials.Assets.MultiUserCapabilities.2.7.2 and MRTK.HoloLens2.Unity.Tutorials.Assets.GettingStarted.2.7.2.

However I keep getting the following error : Assets\MRTK.Tutorials.MultiUserCapabilities\Scripts\SharingModuleScript.cs(7,17): error CS0246: The type or namespace name 'AnchorModuleScript' could not be found (are you missing a using directive or an assembly reference?)

The error appears when I import the MRTK.HoloLens2.Unity.Tutorials.Assets.MultiUserCapabilities.2.7.2 . I found a similar issue on Stackoverflow which didn't help because then even more errors appeared.


Document Details

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

hanishapatel commented 1 year ago

Could you find a solution? I am facing the exact same issue. Please help me if you solved it.

JeromevDEV commented 1 year ago

I later found out it wasn't possible to do that using Unity 2019 and since I'm using HoloLens 1 I couldn't use higher version of Unity than the 2019.

I gave up on this solution and use Azure Spatial Anchor Cloud with a backend to share the elements

hanishapatel commented 1 year ago

Oh. Thank you.

On Wed, Feb 22, 2023 at 2:55 AM JeromevDEV @.***> wrote:

I later found out it wasn't possible to do that using Unity 2019 and since I'm using HoloLens 1 I couldn't use higher version of Unity than the 2019.

I gave up on this solution and use Azure Spatial Anchor Cloud with a backend to share the elements

— Reply to this email directly, view it on GitHub https://github.com/MicrosoftDocs/mixed-reality/issues/687#issuecomment-1439645553, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQNIO2RMVPD6VHNQWVJIDGLWYXH7RANCNFSM6AAAAAASOMAJSQ . You are receiving this because you commented.Message ID: @.***>