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

Confusion about setting up Spectatorview with MRTK 2.4.0 and Unity 2019.4.5f1. #441

Open
oddruud opened this issue Dec 11, 2020 · 4 comments

Comments

@oddruud
Copy link

oddruud commented Dec 11, 2020

Hello,

We have a hololens 2 project using the advised combination of MRTK 2.4.0 and Unity 2019.4.5f1. I recently wanted to add SpectatorView such that we could make promotional content using an ARCore or ARKit enabled phone. I followed the setup steps under "Build a package to share with your team", compiling the master branch codebase which resulted in the "com.microsoft.spectatorview.1.2.0" package. I then added this local package to my existing hololens 2 project. This resulted in errors in various classes of arsubsystem such as

Library\PackageCache\[email protected]\Runtime\ImageTrackingSubsystem\XRImageTrackingSubsystem.cs(57,30): error CS0506: 'XRImageTrackingSubsystem.Destroy()': cannot override inherited member 'Subsystem.Destroy()' because it is not marked virtual, abstract, or override

Library\PackageCache\[email protected]\Runtime\SessionSubsystem\XRSessionSubsystem.cs(123,30): error CS0506: 'XRSessionSubsystem.Destroy()': cannot override inherited member 'Subsystem.Destroy()' because it is not marked virtual, abstract, or override

This shows me that SpectatorView is running on an older version of ARFoundation, checking the Spectatorview package json I find that it uses;

"com.unity.xr.arcore": "2.2.0-preview.2",
"com.unity.xr.arfoundation": "2.1.4",
"com.unity.xr.arkit": "2.1.1"

I have tried updating the AR packages here to newer versions but that just results in different errors. So before finding myself too deep into this potential rabbithole I just want to check what is the right course of action here. I am guessing im running into problems since I am using 2019.4.5f1 (as advised for MRTK) while SpectatorView is not compatible with this version of Unity 2019. Correct? Is there a way of making SpectatorView work with MRTK 2.4.0 and Unity 2019.4.5f1?

@piener87
Copy link

piener87 commented Dec 22, 2020

Hello,
I am also interested in this topic.
Can the spectator view be used only with Unity 2018?
Furthermore, the documentation at the website https://microsoft.github.io/MixedReality-SpectatorView/README.html has not yet been updated.

@BeLe07
Copy link

BeLe07 commented Dec 22, 2020

Also interested in this topic because I'm not more able to get it working using Unity 2019.4.16f1.

@oddruud
Copy link
Author

oddruud commented Jan 15, 2021

It looks like this project has been abandoned. I will probably be making my own promotional capture solution using ARFoundation

@jasimmj
Copy link

jasimmj commented Jun 27, 2021

It looks like this project has been abandoned. I will probably be making my own promotional capture solution using ARFoundation

This is sad

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