Search Issue Tracker
Fixed in 2020.2.X
Fixed in 2019.3.X, 2020.1.X
Votes
0
Found in
2018.4.2f1
2019.2
2019.3
2020.1
Issue ID
1172032
Regression
Yes
Shadowmap memory size is reported inconsistently by the Profiler in different Unity versions
How to reproduce:
1. Open tester-attached project (NewUnityProject.zip)
2. Build and Run the project in development mode
3. In the Editor open the Profiler window and profile the built player
4. Select the Memory module, Detailed view and take a memory sample
5. Navigate to Not Saved/RenderTexture/Shadowmap
6. Note the Shadowmap size
7. Capture a snapshot of the player via RenderDoc/Xcode
8. Calculate Shadowmap size and compare the results
Expected result: the Shadowmap size is reported correctly by the Memory profiler
Actual result: the Shadowmap size is reported incorrectly by the Memory profiler
Reproducible with: 2018.4.2f1, 2018.4.16f1, 2019.2.19f1, 2019.3.0f6, 2020.1.0a20
Not reproducible with: 2017.4.36f1, 2018.4.1f1
Notes:
Shadowmap sizes were tested with builds from the same project, because Editor reported different sizes as well
The following Shadowmap sizes are reported when comparing Unity Profiler with RenderDoc:
Player Screen Resolution: 2560 x 1440
----------------------------------------------------------------------
Ultra Quality:
2017.4.36f1 - 32 MB
RenderDoc - 32 MB(4096x4096 1 mips - R16_TYPELESS)
2018.4.16f1 - 96 MB
RenderDoc - 32 MB(4096x4096 1 mips - R16_TYPELESS)
2019.2.19f1 - 64 MB
RenderDoc - 32 MB(4096x4096 1 mips - R16_TYPELESS)
2019.3.0f6 - 64 MB
RenderDoc - 32 MB(4096x4096 1 mips - R16_TYPELESS)
2020.1.0a21 - 64 MB
RenderDoc - 32 MB(4096x4096 1 mips - R16_TYPELESS)
----------------------------------------------------------------------
Medium Quality:
2017.4.36f1 - 8 MB
RenderDoc - 8 MB(2048x2048 1 mips - R16_TYPELESS)
2018.4.16f1 - 24 MB
RenderDoc - 8 MB(2048x2048 1 mips - R16_TYPELESS)
2019.2.19f1 - 16 MB
RenderDoc - 8 MB(2048x2048 1 mips - R16_TYPELESS)
2019.3.0f6 - 16 MB
RenderDoc - 8 MB(2048x2048 1 mips - R16_TYPELESS)
2020.1.0a21 - 16 MB
RenderDoc - 8 MB(2048x2048 1 mips - R16_TYPELESS)
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
- Cameras overlay sometimes show “No Cameras” for a split second instead of “Main Camera” when clicked to move the overlay
- Sprite Mode defaults to "Multiple" instead of "Single" when switching the Texture Type to "Sprite (2D and UI)"
- Adaptive Probe Volume “Open” button closes the existing RPAsset window and opens a new RPAsset window instead of focusing the existing RPAsset window
- A specific project freezes when Content Size Fitter's Horizontal Fit is set to "Min Size" and it contains double ellipses followed by a CJK character
- [Android][iOS] The Input field caret moves back to the end of the text when typing
Resolution Note (fix version 2020.2):
The bug that reported shadow map sizes incorrect was identified and fixed.
Fixed in 2020.2.0a2
Resolution Note (fix version 2020.1):
The bug that reported shadow map sizes incorrect was identified and fixed.
Fixed in 2020.1.0b1
Resolution Note (fix version 2019.3):
The bug that reported shadow map sizes incorrect was identified and fixed.