Tech Blog [Month 2 - Week 3]
- Ryan Vafiadis
- Feb 19, 2017
- 1 min read
Was stuck trying to solve an issue with a major memory leak that was causing a crash. Initially there was the confusion on how memory was even being leaked in C#, at one point we thought it may have been the nav mesh causing the leak or that it was at least correlated. I took the time to look through the master branch and check when the leak was first introduced. It seemed to be first introduced when name functionality was implemented. I took some precautions in the name manager by using statics for name lists. I'm currently under the impression that memory leaks are now caused by the panels for both the AI health and name on the prefab. I''m still not entirely sure why this is occurring nor what the fix would be. Will continue to look into it further.
Comentarios