As I understand it, they are created automatically when loading resources or something similar, because nowhere in my code do I create worlds whose names contain LoadingWorld. The question is, can I delete them after the download is complete, or do I need them later for something else?
public static void WorldsClear(WorldFlags flag = WorldFlags.Streaming)
{
Chat.Clear();
bool needMore = true;
while (needMore)
{
needMore = false;
if (World.All.Count > 0)
{
for (int i = 0; i < World.All.Count; i++)
{
var world = World.All[i];
if (world.Flags == flag)
{
Chat.Msg($"[Disposing] " +
$"Name:{world.Name} " +
$"Flags:{world.Flags}");
world.Dispose();
needMore = true;
break;
}
}
}
}
}