Collects all objects belonging to the specified Layers.
It is called at least once on every runtime start.