GijsTempel / care-up

CareUp Game
0 stars 0 forks source link

Update the code to have disposal for web requests #1969

Open Acvarium opened 1 year ago

Acvarium commented 1 year ago

We need to move the project to new version of Unity. One of the things, that is the issue and the new requirements in Unity 2021 is proper disposal for web requests to avoid memory leaks:

https://docs.unity3d.com/2021.2/Documentation/ScriptReference/Networking.UnityWebRequest.Dispose.html

I created new branch (update_unity_2022), where the project is fully reimported, all of the packages are updated and added extra tools to detect potential memory leaks. With that we can find all of the lines that has to be updated to the new requirements

GijsTempel commented 1 year ago

@Acvarium @Hunter13ua Is this done?