Skip to content
This repository was archived by the owner on Jul 19, 2024. It is now read-only.
This repository was archived by the owner on Jul 19, 2024. It is now read-only.

SpectatorViewManager won't compile on Unity 2017.4 #262

@Ybalrid

Description

@Ybalrid

Hi,

I don't know if it's known currently, but the spectator view package will not work on Unity 2017.4 (generate build error). This error is logged in the editor Console :

Assets/Addons/HolographicCameraRig/Scripts/SpectatorViewManager.cs(154,52): error CS0619: `UnityEngine.XR.WSA.HolographicSettings.ActivateLatentFramePresentation(bool)' is obsolete: `Support for toggling latent frame presentation has been removed'

This is due to the first line of the Start method of the manager:

UnityEngine.XR.WSA.HolographicSettings.ActivateLatentFramePresentation(true);

It appear to me that the code is using functionally that no longer exists in Unity.

Commenting that line fixes the build, but now I'm unsure with the compatibility of the Spectator View code and current version of Unity now. Latest commit message says that compatibility for "2017.2+", so 2017.4 should work... Right?

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions