BoatAttack icon indicating copy to clipboard operation
BoatAttack copied to clipboard

A Native Collection has not been disposed, resulting in a memory leak error.

Open wuhuwuhu234 opened this issue 5 years ago • 2 comments
trafficstars

Hi, I got another memory leak error everytime start play mode. (compare to this #87. I also tried oahc09's solution)

图片 I follow the info to water.cs and found this: https://github.com/Verasl/BoatAttack/blob/261ba5ceee9fd5be4af5e3e48ad4480cf49df92b/Packages/com.verasl.water-system/Scripts/Water.cs#L88 Then I uncomment these two lines and don't get this error again. I am using Unity 2019.3.11f1, burst 1.2.3, com.unity.collections 0.5.1, com.unity.jobs 0.2.4, com.unity.mathematics 1.1.0

wuhuwuhu234 avatar Apr 29 '20 12:04 wuhuwuhu234

This solved it for me. Thanks

joshmarnold avatar May 26 '20 22:05 joshmarnold