Garbage collection can't cleanup world?

Whenever I host a listen server I’m never able to go back to the main menu without the game crashing.

The error i get is:

[0031.68] Exit: IpNetDriverSteamworks_0 shut down
[0031.68] Exit: IpNetDriverSteamworks_1 shut down
[0031.70] Log: World coldmap1.TheWorld not cleaned up by garbage collection!
[0034.86] Log: === Critical error: ===
Fatal error!

Address = 0x1156b2f (filename not found) [in C:\UDK\UDK-2014-08\Binaries\Win32\UDK.exe]
Address = 0x10a0803 (filename not found) [in C:\UDK\UDK-2014-08\Binaries\Win32\UDK.exe]

How can I check what references aren’t being cleared up?

I would delete all actors, destroy then force the force garbage collection? Did you try ?

are you using postprocess materials? if so you’ll probably need to clean the postprocess chain before map change

in your playercontroller class there is a function called Destroyed() i made a new function called CleanUpForQuit(); and added that to the bottom of the Destroyed() function. then in the new functon i got rid of all my custom made actors. like loading screens, menus, and weblinks if you made any.

example code i used to get rid of loading screen

if(LoadingScreen != none )
  LoadingScreen.RenderTexture = None;
  LoadingScreen = none;

Thanks for the help. It was the auth delegates in AccessControl that were causing the problem.

I just needed to call:


in ClearOnlineDelegates() in my player controller.

Awesome something new I know.