Search Issue Tracker

Active

Under Consideration for 6000.5.X

Votes

0

Found in

6000.0.68f1

6000.3.11f1

6000.4.0b9

6000.5.0a7

Issue ID

UUM-137242

Regression

No

User Reporting package allocates per-frame coroutine (GC Alloc) even when MetricsGatheringMode is Disabled

Operate Solutions

-

Reproduction steps:
1. Open the attached project "ReproProj"
2. Open the “/Assets/Scenes/SampleScene.unity” Scene
3. Enter the Play Mode
4. Open Profiler
5. Enable Deep Profiling
6. Search for “UserReportingClient“
7. Wait a few seconds
8. Select a frame in Profiler
9. Observe

Expected result: “UserReportingClient.Update()”, “UserReportingClient.SampleClientMetric()“ and UserReportingSceneHelper.UpdateClientByFrame() [Coroutine: MoveNext] has GC Alloc of 0 B
Actual result: “UserReportingClient.Update()” and “UserReportingClient.SampleClientMetric()“ are present with the GC Alloc of 80-120 B

Reproducible with: 6000.0.68f1, 6000.3.11f1, 6000.4.0f1, 6000.5.0a7

Reproducible on:
Play Mode
Windows Standalone Player

Testing environment: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested

Note:
- note that UserReportingSceneHelper.UpdateClientByFrame() [Coroutine: MoveNext] is also running every frame

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.