How to reproduce
1. Open the attached Project "StaticBatchTest.zip"
2. Build the Scene "CarScene" for iOS
3. Open Instruments and select Allocations
4. Add the "Metal Resource Events" track
5. Profile the built App for ~7sec
6. In the "Metal Resource Events" track switch from "Resource Events Calltree" to "Resource Events"
7. Observe the size of "Combined Mesh"
Expected Result: Combined Mesh takes up ~1-2MiB
Actual Result: Combine Mesh takes up ~12MiB
Reproducible with: 2021.3.12f1, 2021.3.44f1, 2022.3.48f1, 6000.0.21f1
Reproduced on:
- iPhone 13 Pro (iOS 17.6.1)
Notes:
- Sometimes the increase does not appear, however, upon rerunning the app, it appears