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
- Assets are created in the Package folders when creating assets via custom buttons in the Inspector window or other windows
- “Select” windows are named differently on Windows and macOS
- [Windows] No minimum “Select” window size
- Enabling “Editor Extension Authoring” in UI Builder doesn’t dirty the document and saving with shortcut doesn’t persist the state
- WebRequest.Create() function fails with "URI prefix is not recognized" errors when the project is built for Linux Standalone or Windows Dedicated Server
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.