Search Issue Tracker

Fixed

Fixed in 9.1.1, 10.1.2

Votes

0

Found in [Package]

9.1.0

10.1.1

Issue ID

DANB-613

Regression

No

The hierarchyCount counts the number of all Transforms in the Hierarchy when the root GameObject is nested

Package: 2D Animation

-

How to reproduce:
1. Open the “HierarchyCount“ project
2. Open the “_Simple“ scene
3. Open Window -> Analysis -> Memory Profiler
4. Enter Play Mode
5. In the Memory Profiler, press "Capture New Snapshot"
6. In the Snapshot, navigate to All of Memory and enter "Boris" into the search bar
7. Under Managed -> Managed Objects ->UnityEngine.U2D.Animation.SpriteSkin, select "Boris"
8. Expand the hierarchyCache field and observe the _buckets size

Expected result: _buckets size is 23
Actual result: _buckets size is over 23

Reproducible with:  9.1.0 (2022.3.26f1), 10.1.1 (2023.2.20f1, 6000.0.0b16)

Reproducible on: Windows 10, macOS 13.6.3
Not reproducible on: No other environment tested

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.