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
- Frame Debugger is not disabled when switching Scenes if the Frame Debugger window is not open during the transition
- Standalone Profiler Targets another Project if a Standalone Profiler was launched in it before when switching between Edit or Play Mode Targets
- Crash on ForwardRenderLoopJob when opening a specific project
- [Android] Memory leak and eventual crash on Snapdragon 8 Gen 1+ devices when a Clear Pass is executed after Framebuffer Fetch
- PhysicsRaycaster ray length is incorrect when casting from rotated Camera
Resolution Note:
Currently, static batching shouldn't be used for the physics meshes exactly for this reason.