Azure / azure-spatial-anchors-samples

Azure Spatial Anchors sample code
Other
293 stars 139 forks source link

Need more operations when setting up sample project #257

Closed drumath2237 closed 3 years ago

drumath2237 commented 3 years ago

Description

Hi. đź‘‹

Lacking some information about setting up Azure Spatial Anchors SDK, there are some errors when open the Unity sample project and thus we cannot build any further. It seemed that it is necessary to refer to the "Configuring Azure Spatial Anchors in a Unity project" page in Quickstart in a document.

By the way, I have another idea to configure the SDK. I used Unity Package Manager to define scoped registry and change manifest.json. This way, it is needless to set up more configurations when we open the project. Please check my fork's commit.

Steps to reproduce the issue

  1. Open this Unity project
  2. Errors occur in console and cannot build

Expected behavior

No errors occur.

Screenshots

If applicable, add screenshots to help explain your problem. image image

Development information (please complete the following information)

AR Device information (please complete the following information):

Additional context

Add any other context about the problem here.

gllebede commented 3 years ago

@drumath2237 Thanks for the feedback! I'll look into it.

gllebede commented 3 years ago

I’ve tried your branch, but I don’t see any build failures. Although my Unity version is slightly newer, and I’ve only tried Android build so far. Did get the “Open this Unity project” reference as a reference to your branch correctly?

gllebede commented 3 years ago

As you can see at this commit the registry been removed from the file: https://github.com/Azure/azure-spatial-anchors-samples/commit/e852b60da8eefcca3673e11fdad854bfccc44b36#diff-9b89002cc901a67e416fe3a195ee5e75b0c74eea5a2902d12447196da4d4c559

Unfortunately, we can’t provide this functionality anymore. But there is an alternative. To simplify the set up process there is new Welcome to the Mixed Reality Feature Tool available.

image

oafolabi-msft commented 3 years ago

@drumath2237 , would you say we can close this issue?

drumath2237 commented 3 years ago

Yes you can. I'm sorry for not being able to reply clearly. Thank you.