Search Issue Tracker
By Design
Votes
0
Found in
2019.4
2020.3
2021.1
2021.2
2021.2.0a19
Issue ID
1339857
Regression
No
Profiling sampler/recorder does not work in the non Developer Build
How to reproduce:
1. Open the attached "SRPBatcherBenchmark3" project
2. Open the "scene_lwbench1" Scene
3. Open the Build Settings (File->Build Settings...)
4. Make sure Development Build is unchecked
5. Make sure that the "scene_lwbench1" Scene is in the list of Scenes to Build
6. Build and Run
Expected results: SRP Batcher code path Shader calls (All objects and Shadows) are not 0
Actual results: SRP Batcher code path Shader calls (All objects and Shadows) are 0
Reproducible with: 2019.4.28f1, 2020.3.11f1, 2021.1.10f1, 2021.2.0a19
Could not test with: 2018.4 because URP/HDRP were not yet available
Notes:
- The issue is not reproducible in the Developers Build
- The issue has been tested and reproduced on Metal, OpenGLCore, OpenGLES3, Direct3D11, Direct3D12
- Reproducible on both HDRP and URP (all versions)
- The timing is 0ms in the Editor starting Unity 2021.2.0a19
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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Resolution Note:
ProfilerMarker and CustomeSample api URP/HDRP use is stripped out in release build and the Recorder functionality is unable to obtain relevant metrics.
We don't have plans atm to expose release mode data.