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

ScrollingObjectCollection does not take global scale into account for clipping #8418

Closed JYBA1 closed 9 months ago

JYBA1 commented 4 years ago

Overview

I noticed that while updating a collection using the ScrollingObjectCollection that the clipping bounds were much larger than they should be. Turns out this was because somewhere up the hierarchy I had an object at scale 2,2,2 and that was causing the clipping box to be twice the size.

Expected behavior

Clipping box should only be big enough to fit the buttons in.

Actual behavior

Clipping box was too large

Steps to reproduce

(Links to sample github project preferred)

  1. Create an empty gameobject, set it's scale to 2,2,2.
  2. Add a scrollableObjectcollection to it and add some elements.
  3. Click Update Collection in the inspector
  4. Observe the Clipping Bounds

Unity editor version

201.4.6f1

Mixed Reality Toolkit release version

2.4.0

vaoliva commented 4 years ago

Hi @JYBA. The Scrolling Object Collection is being revamped in order to be graduated from an experimental feature and I believe this issue has being tackled by giving the user more freedom to work with the masking object. You should expect some changes soon.

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 visithttps://www.mixedrealitytoolkit.org.

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