Search Issue Tracker
By Design
Votes
0
Found in
2017.4
2019.2.8f1
2020.1
Issue ID
1215290
Regression
No
Loading a mesh that is used only for collision allocates Metal memory
How to reproduce:
1. Open the user-supplied "TestProject.zip" Unity project
2. Build for iOS, open the build on Xcode and deploy on an iOS 13+ device
3. In the menu bar, click Debug > Capture GPU Frame
4. In the Debug navigator, open Memory and inspect the table
Expected result: the Combined Mesh Buffer is loaded and the "Time since Last Bound" value is "Now", but no other buffers for these meshes are loaded
Actual result: the Combined Mesh Buffer is loaded alongside separate meshes "italy_basket_b" and "italy_bar_chair", whose "Time since Last Bound" is "Never"
Reproducible with: 2017.4.37f1, 2018.4.18f1, 2019.3.3f1, 2020.1.0a25
Reproduces on:
Standalone
VLNQA00160 iPhone 6S iOS 13.3.1
VLNQA00220, Samsung Galaxy Note9 (SM-N960F), Android 8.1.0, CPU: Exynos 9 Series 9810, GPU: Mali-G72
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
- "Rendering Debugger" displays incorrect overdraw count when using "Unlit/Texture" shader
- Scene and Game views break when the Editor window is snapped with the Microsoft PowerToys
- Materials do not transfer texture when the "Shader" parameter is changed from "Unlit/Texture" to "Universal Render Pipeline/Unlit"
- [Linux][Vulkan] Crash when opening searchable dialog
- The "Shader error in 'AE/Leaves': "Undefined punctual shadow filter algorithm"" error appears when build completes on a specific project
Resolution Note:
Currently, static batching shouldn't be used for the physics meshes exactly for this reason.