Search Issue Tracker
Fixed
Fixed in 2022.2.0b8, 2023.1.0a3
Votes
0
Found in
2022.2.0a13
Issue ID
UUM-2990
Regression
No
ExternalGraphicsProfiler.h exposes 392 profiler markers to release players without kAvailabilityNonDevelopment flag set
While looking at the profiler stats enumeration issue discovered by user (see https://fogbugz.unity3d.com/f/cases/1376913/) I've found that Apple platforms overrides PROFILER_MARKER globally with PROFILER_MARKER_MASTER pulling the PlatformProfiler.h define in ExternalGraphicsProfiler.h.
That creates few tech debt issues:
1. Profiler markers on OSX/iOS becomes semi-randomly release markers depending on build order and manifest a bug mentioned by a user.
2. The behavior is inconsistent with other platforms where we expose release mode markers explicitly and with documentation.
How to repro:
1. Enable Markers_HaveValidFlagsInDevAndReleasePlayers_OSX test from ProfilerEditorTests (Modules/Profiler/Editor/Tests)
2. Run Markers_HaveValidFlagsInDevAndReleasePlayers_OSX test from ProfilerEditorTests.
Actual Result: Test fails. Error is thrown - e.g. "Marker XR.BlitDepth has 'AvailabilityNonDevelopment' in Non Development Player, but 'Default' in Development Player\! Please keep those consistent". Flags of XR.BlitDepth do not match between dev and release players.
Expected Result: Test succeeds
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- A different Font Asset is applied when the original Font Asset is deleted while UI Builder is open
- [Android][BiRP] Depth processing is handled incorrectly on certain Android devices when using 2 camera's
- [APV] Cancelling Display Dialog Error is thrown after Adaptive Probe Volumes tab is open in Lighting Window
- [APV] NullReferenceException is thrown when baking Adaptive Probe Volume for a Terrain with Non-GI Contributing Tree Prototypes and multiple APV objects with different LayerMasks are present on the scene
- Hands are not recognized when using Hololens 2
Resolution Note (fix version 2023.1.0a3):
https://github.cds.internal.unity3d.com/unity/unity/pull/11640