BoatAttack
BoatAttack copied to clipboard
A Native Collection has not been disposed, resulting in a memory leak error.
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
This solved it for me. Thanks