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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
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.