I am running 0.14.5 in the editor and sometimes get several hundred 'A Native Collection has not been disposed, resulting in a memory leak...' messages.
I am able to duplicate under the following conditions:
Save a game while inside a building.
Load the save you just created.
Exit the game.
The DaggerfallBillboardBatch.OnDestroy() method does not get called on exit in this case.
Can anyone confirm?
A Native Collection has not been disposed...
- DunnyOfPenwick
- Posts: 275
- Joined: Wed Apr 14, 2021 1:58 am
- Location: Southeast US
- numidium3rd
- Posts: 187
- Joined: Sun Mar 25, 2018 12:34 am
- Location: United States
Re: A Native Collection has not been disposed...
I vaguely recall seeing a message like that in the editor but I was preoccupied working on something else so I didn't follow up on it. Since you're seeing the message too it sounds like it could be an issue. Although, since it's happening on exit then the memory should get freed by the OS when the process ends so the memory leak shouldn't become a problem. I'll try tracking that down later today when I'm off work.
Nexus DFU Mods:
https://www.nexusmods.com/daggerfalluni ... user+files
Mod source repo:
https://github.com/numidium/dfu-mods
https://www.nexusmods.com/daggerfalluni ... user+files
Mod source repo:
https://github.com/numidium/dfu-mods
- Interkarma
- Posts: 7247
- Joined: Sun Mar 22, 2015 1:51 am
Re: A Native Collection has not been disposed...
Cheers, I've notified Andrew on PR #2436 to take a look when they can.