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:

  1. Create a new 3D HDRP Sample project
  2. Enable Gizmos in the Game view (on the top right)
  3. Open the Window → Analysis → Profiler window
  4. Enable Deep Profiling and Call Stacks
  5. Enter Play Mode
  6. Search for “GC.Alloc“ in the CPU Usage Hierarchy and select any one of the results
  7. To the right of the Profiler Hierarchy, change "No Details" to "Calls"
  8. 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

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.