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

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

Open
JeromevDEV opened this issue Nov 29, 2022 · 3 comments
Open

Comments

@JeromevDEV
Copy link

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
Copy link

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

@JeromevDEV
Copy link
Author

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
Copy link

hanishapatel commented Feb 27, 2023 via email

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

No branches or pull requests

2 participants