def load(self):
        """ Loads all plugins and their settings, and also constructs instances
        of the main plugin classes for all enabled plugins """
        self.debug("Loading plugin settings")
        self.load_base_settings("/$$rp/rpplugins")
        self.load_setting_overrides("/$$rpconfig/plugins.yaml")

        if self.requires_daytime_settings:
            self.load_daytime_overrides("/$$rpconfig/daytime.yaml")

        self.debug("Creating plugin instances ..")
        for plugin_id in self.settings:
            handle = self._load_plugin(plugin_id)
            if handle:
                self.instances[plugin_id] = handle
            else:
                self.disable_plugin(plugin_id)
 Loads all plugins and their settings, and also constructs instances
        of the main plugin classes for all enabled plugins 
metadrive/render_pipeline/rpcore/pluginbase/manager.py