Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.

How to use the SpectatorView with unity 2019 LTS version (unity 2019.4.x) ? #442

Open
Bathur opened this issue Jan 13, 2021 · 3 comments
Open

Comments

@Bathur
Copy link

Bathur commented Jan 13, 2021

@chrisfromwork
Dear Contributors,

I noticed that this repo has not been updated for a long time.
Its availability is already low in the current environment.

I am currently trying to use it on the unity 2019 LTS version (unity 2019.4.x)
I also found a lot of developers like me.

But this process is more difficult.
Some dependencies of this repository are outdated:
Such as:

  1. The unity package referenced in the repo.
  • ARFoundation
  • ARSubsystems
  • ARCore
  • ARKit
  1. The ASA SDK referenced in the repo is out of date.
  2. The MRTK referenced in the repo is out of date.

I read previous issues and history discussions on slack,
and learned that ASA and MRTK had different requirements for ARFoundation ,
but it should be resolved now.

BTW,ASA SDK seems to force all clients to upgrade to 2.7.0 or higher.
The following is the release notice of ASA SDK 2.7.0 version for your reference.

https://github.com/Azure/azure-spatial-anchors-samples/releases/tag/v2.7.0

So, I wonder if you are free to update the dependencies of this repository?
Hope it can support unity 2019 LTS version (unity 2019.4.x)

Or can anyone provide some information about the above dependencies,
especially the recommended version of the unity package.

The version used by the repo will cause quite a few errors in unity 2019 LTS version (unity 2019.4.x)

Thanks for any help!

@Bathur Bathur changed the title The repo has not been updated for too long. Low availability. What additional settings do I need to do to use SpectatorView with Unity 2019 LTS(Unity 2019.4.x)? Jan 15, 2021
@Bathur Bathur changed the title What additional settings do I need to do to use SpectatorView with Unity 2019 LTS(Unity 2019.4.x)? How to use the SpectatorView with unity 2019 LTS version (unity 2019.4.x) ? Jan 15, 2021
@Efaq
Copy link

Efaq commented Jan 15, 2021

I'm also strongly interested in this issue, trying to work with Hololens 2 and the newest / close to newest software stack but I'm having all sorts of errors and unmatching documentation.

@here101
Copy link

here101 commented Jan 18, 2021

I happen to try to sovle the problem. Using the required version(2019.2) hit me but I doubt using the way would cause more problem to the project. I don't know how to do now. The sample :SpectatorView.Example.Unity (This sample shows how to use QR Code detection to spatially align devices in the physical world.) woule be error in the unity 2019.4. I don't know why. I don't know whether the ASA SDK upgrade in your issue lead to the problem.

@Joon-Jung
Copy link

Joon-Jung commented Jan 24, 2021

I spent whole day to solve this with Unity 2019.4 and somehow managed to build the application and run it on HoloLens 1 by updating the ARfoundation and ARcore related dependencies to the versions of "2019.4 verified". However, I also found that the application crashes when the android istrying to connect to the HoloLens as an spectator with Azure's spatial anchor. It seems like the ASA SDK caused an exception when they were trying to sync the coordinates.
I downgraded the project to 2018.4 and found that the v1.1.0 with this instruction and the latest MRTK (at the time I am writing this the version is v2.5.3) worked fine as intended - apply spectator view after importing MRTK and remove example folder of ARcore. So, my recommendation is that use 2018.4 if you don't need any new functions provided with 2019.4. It will save your life.

EDIT: I have HoloLens 2 but not tested, but I guess it will work fine with it, too.

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

No branches or pull requests

4 participants