Search Issue Tracker
Fixed
Fixed in 2021.3.30f1, 2022.2.20f1, 2023.1.0b17, 2023.2.0a14
Votes
0
Found in
2021.3.20f1
2022.2.10f1
2023.1.0b8
2023.2.0a5
Issue ID
UUM-31067
Regression
No
CubemapArrays and Cubemaps take up significantly more memory than on other platforms when working with a Windows project
How to reproduce:
1. Open the user’s attached project “CubemapArraySize.zip“
2. Open “SampleScene”
3. Open the Memory Profiler from Window > Analysis
4. Enter Play Mode or Build And Run
5. Capture New Snapshot in the Memory Profiler window
6. Inspect the “CubemapArray” item under the Top Unity Objects Categories section in the Snapshot
Expected result: Item takes up 32 MB of memory
Actual result: Item takes up 192 MB of memory
Reproducible with: 2021.3.20f1, 2022.2.10f1, 2023.1.0b7, 2023.2.0a5
Could not test with: 2020.3.46f1 (error: “Library\PackageCache\com.unity.memoryprofiler@1.0.0\Editor\Containers\MetaDataHelpers.cs(70,82): error CS8124: Tuple must contain at least two elements.”)
Reproduced on: Windows 10 and 11
Not reproduced on: macOS 12.3.1 (Intel)
Notes:
* Script “Test” in the Assets folder creates a CubemapArray m_array of array size 1, dimensions 1024x1024, depth 4 bytes per pixel, with mipmaps. Multiplying that all together one would expect to see that reported as 32MiB, as noted in the code comments
* Cubemap is twice as large than in other platforms
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- ACES Tonemapping causes banding artifacts and negative values in ColorGradingLUT when HDR is enabled and "High Dynamic Range" Grading mode is selected while Android Platform is used
- Android Player freezes when an Audio Source is playing and an incoming call is picked up and then hung up and the Audio Source is started again
- Green success icon is poorly visible in the light Unity theme
- Incorrect input into the Input Field when using Microsoft IME Japanese
- Multiplayer role "ClientAndServer" is displayed without the spaces in the "Play Mode Scenarios" window
Add comment