arfoundation-samples icon indicating copy to clipboard operation
arfoundation-samples copied to clipboard

Memory leak in iOS , ARFoundation 3 preview 5

Open weacw opened this issue 7 years ago • 3 comments

When I load a blank scene, the memory is 160 M+, and after the ARFoundation session is created, the memory is 500 M+, and then all ARFoundation sessions are destroyed, and the memory is reduced to 300 M+.

Detial:

  • iOS 13.2.2
  • iPhone 11
  • Unity 2019.3 B11
  • URP/LWRP-7.1.5
  • Xcode 11.2.1
截屏2019-11-16下午11 28 01 截屏2019-11-16下午11 29 06

截屏2019-11-16下午11 29 37

weacw avatar Nov 16 '19 15:11 weacw

I has same problem, can you think solution the issue ?

littleqiang-go avatar Nov 29 '19 03:11 littleqiang-go

I has same problem, can you think solution the issue ?

尝试 ARSession.Reset() 会对内存有比较大的减少 ,但还是没解决根本性泄露问题。

weacw avatar Nov 29 '19 05:11 weacw

Some memory leaks were fixed during the preview cycle. Is this reproducible on the verified version of ARFoundation 3? (Latest is 3.1.3)

tdmowrer avatar Jun 15 '20 22:06 tdmowrer