Repository navigation
Open
Labels
area-GameStudioarea-PluginsPlugin system: companion packages, editor and engine extension points, plugin authoringenhancementNew feature or request
Description
With the plugin system (#3535 to #3547), a plugin is a NuGet package with optional companion packages (Assets, Editor) that Game Studio loads. But a user has no proper way to find a plugin and add it: Add dependency lists the packages the session already knows, and anything else means editing the .csproj by hand.
Related: #1197 (community marketplace). Tracked in #3581.
Proposal: a plugin browser in Game Studio, like NuGet in Visual Studio
- Source: a NuGet search over the feeds configured for the solution (resolved the way restore sees them), query
tags:stride-plugin. Thestride-plugintemplate already sets that tag. Stride's own optional packages (Bepu, Video, Particles, UI...) get the tag too. - Compatibility: read from the plugin's dependency on
Stride.Engine(no new metadata). Show only the versions built for the game's Stride version, and say so when there is none. - Views: Browse (search, name, description, author, icon, downloads, project link) and Installed (version, update available, remove), for each game project (the Game library, not the executable).
- Install: add the
PackageReferenceshaped like theStride.Engineone, restore, and load the companions into the session (this already works: a package that joins the session brings its asset types, templates and editor plugin). Remove: drop the reference, and say a restart is needed. - Updates: a new plugin version shows as "update available". When the game upgrades Stride, the upgrade proposes plugin versions built for the new Stride version, or warns when there is none.
- CLI: the same logic in a shared service, so the
strideCLI can offer it too (stride add plugin <id>?). - UI toolkit: a toolkit-neutral view model, with the view in the WPF layer, so the WPF to Avalonia port only redoes the view.
- Trust: show the source feed, and whether the package comes from the stride3d organization. No gating.
Versioning (already decided)
- A plugin's
Stride.Enginedependency packs as[4.5.0, ), with no upper bound. - Compatible = same major.minor as that lower bound; patch versions are compatible. On a newer minor version, the plugin is "not built for this version" (a minor version can break API).
- Warnings: a log line on every load, and a visible notice once per game, plugin version and Stride version. No build warning.
Open questions
- Stride's own packages in the same list, or a separate "Stride features" tab?
- Offline: cached search results, or local feeds only?
- Should the Launcher show plugins too?
Metadata
Metadata
Assignees
Labels
area-GameStudioarea-PluginsPlugin system: companion packages, editor and engine extension points, plugin authoringenhancementNew feature or request
Activity