Unity AppDomain unload in editor

Hi,

it appears when running and stopping the game in the editor, the Unity editor does not unload the child AppDomain used by the game session (FriendlyName: Unity Child Domain).

The only way I can get it to unload the AppDomain is when modifying a script and with that forcing a Unity recompile. That will unload the AppDomain of the last game session, even though it’s been stopped way before that.

Is there a way to force Unity to unload the AppDomain upon stopping the game in the editor?

Thanks for any ideas.
Matthias

Did you ever find an answer to this? I’m having trouble with the same thing.