microsoft / MixedRealityToolkit-Unity

This repository is for the legacy Mixed Reality Toolkit (MRTK) v2. For the latest version of the MRTK please visit https://github.com/MixedRealityToolkit/MixedRealityToolkit-Unity
https://aka.ms/mrtkdocs
MIT License
6k stars 2.12k forks source link

The skybox is visible, even if you set the clear flags to solid color on the main camera #9037

Closed whitetigerhelix closed 9 months ago

whitetigerhelix commented 3 years ago

The skybox is being turned on after I disable it.

Unity 2019.4.13 and MRTK 2.5.1 for HL2 (with and without XR SDK)

Following the instructions here.. create new project add MRTK 2.5.1 via packages/manifest.json accept recommended changes switch platform to UWP accept recommended changes again start a new scene MRTK | Add To Scene And Configure on main camera, set clear flags to Solid color hit Play button --> main camera clear flags are returned to Sky Box.

keveleigh commented 3 years ago

This is a feature of the camera profile

https://microsoft.github.io/MixedRealityToolkit-Unity/Documentation/CameraSystem/CameraSystemOverview.html#display-settings

the Unity reports itself as an "opaque" device, so our profile sets the camera accordingly. I'd update the opaque settings to whatever you want the editor to look like.

skyzdev commented 3 years ago

can we switch camera profiles at runtime or switch between skybox and solid color at runtime?

stale[bot] commented 2 years ago

This issue has been marked as stale by an automated process because it has not had any recent activity. It will be automatically closed in 30 days if no further activity occurs. If this is still an issue please add a new comment with more recent details and repro steps.

IssueSyncBot commented 9 months ago

We appreciate your feedback and thank you for reporting this issue.

Microsoft Mixed Reality Toolkit version 2 (MRTK2) is currently in limited support. This means that Microsoft is only fixing high priority security issues. Unfortunately, this issue does not meet the necessary priority and will be closed. If you strongly feel that this issue deserves more attention, please open a new issue and explain why it is important.

Microsoft recommends that all new HoloLens 2 Unity applications use MRTK3 instead of MRTK2.

Please note that MRTK3 was released in August 2023. It features an all-new architecture for developing rich mixed reality experiences and has a minimum requirement of Unity 2021.3 LTS. For more information about MRTK3, please visit https://www.mixedrealitytoolkit.org.

Thank you for your continued support of the Mixed Reality Toolkit!