Transform.FindAncestorComponent is not implemented fully in the MRTK 3 branch. The current implementation falls back to ComponentExtensions.cs here which calls itself recursively, leading to a stack overflow. The previous implementation in MRTK 2 relied on TransformExtensions here which has been removed.
Original issue opened by:
srinjoym
Describe the bug
Transform.FindAncestorComponent
is not implemented fully in the MRTK 3 branch. The current implementation falls back to ComponentExtensions.cs here which calls itself recursively, leading to a stack overflow. The previous implementation in MRTK 2 relied on TransformExtensions here which has been removed.To reproduce
Steps to reproduce the behavior:
ISSUE MIGRATION
Issue migrated from: https://github.com/microsoft/MixedRealityToolkit-Unity/issues/11415