Search Issue Tracker
In Progress
Fix In Review for 6000.3.X, 6000.4.0a4
Votes
0
Found in
6000.0.59f1
6000.2.7f1
6000.3.0b4
6000.4.0a1
Issue ID
UUM-121201
Regression
Yes
GC.Alloc is called by ProbeVolume.OnDrawGizmos() when playing
How to reproduce:
- Create a new 3D HDRP Sample project
- Enable Gizmos in the Game view (on the top right)
- Open the Window → Analysis → Profiler window
- Enable Deep Profiling and Call Stacks
- Enter Play Mode
- Search for “GC.Alloc“ in the CPU Usage Hierarchy and select any one of the results
- To the right of the Profiler Hierarchy, change "No Details" to "Calls"
- Observe the 'Called From' section on the right on the Profiler
Expected result: No calls to GC.Alloc are made from ProbeVolumes.OnDrawGizmos()
Actual result: GC.Alloc is called from ProbeVolumes.OnDrawGizmos()
Reproducible in: 2023.1.0a1, 6000.0.59f1, 6000.2.7f1, 6000.3.0b4, 6000.4.0a1
Could not test in: 2022.2.0a18
Reproduced on: Windows 11 Pro (24H2)
Not reproduced on: No other environment tested
Notes:
- ProbeVolume.OnDrawGizmos() Allocate ~96 B each frame
- Could not reproduce on a project that was created in 2023.1.0a1
- Only reproduces if Gizmos are enabled
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- List item remains highlighted when selecting field in another item
- [iOS] [Android] External library generics fail during IL2CPP build
- Animator State’s Multiplier field shows a Parameter that no longer exists when the Parameter was assigned and then deleted
- Shadows disappear and come back after couple frames when using OnDemand Shadows and OnDemand Reflection
- “Delete Selected Items” is still active in the menu when Label is not selected in New Sprite Library Asset window
Add comment