Search Issue Tracker
Fixed in 2021.2.X
Votes
0
Found in
2020.3
2020.3.0f1
2021.1
2021.2
Issue ID
1321964
Regression
No
[Profiler] ProfilerRecorder gives invalid values in standalone Build
Steps to reproduce:
1. Download and open project "ProfilerRecorderBugTest.zip"
2. Make sure that "ProfilerScene" is open
3. Enter Play Mode
4. Notice the ProfilerRecorder values in Game View
5. Exit Play Mode
6. Go to File -> Build Settings and ensure “Scenes/ProfilerScene” is set for “Scenes in Build”, if not hit “Add Open Scenes”
7. Click “Build and Run”
8. Notice the ProfilerRecorder values in the Build
Expected Result: All values displayed by the ProfilerRecorder are greater than 0 MB
Actual Result: ProfilerRecorder displays “GPU Memory Usage”and “GPU Reserved Memory” as 0 MB
Reproducible with: 2020.3.2f1, 2021.1.0f1, 2021.2.0a10
Could not test with: 2018.4.33f1, 2019.4.23f1 (ProfilerRecorder not available)
Notes:
Issue was reproducible on MacOS Catalina(10.15.7) and on Windows 10
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
- Mouse input is registered incorrectly in Custom RP when downscaling Render Target and rendering Overlay UI before final upscale
- Time.deltaTime is locked to the display's refresh rate when the built Player is moved to a Secondary Display and Windowed Mode is used
- Crash on RaiseException when importing a specific asset
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
Resolution Note (fix version 2021.2):
The issue was fixed in the documentation (https://docs.unity3d.com/Manual/ProfilerMemory.html)