stride3d / stride3d/stride

Single project game - RootRenderFeature cannot get properly deserialized

Open
#880 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area-Asset bug priority-Low work-estimate-M
Dominant language
C#
Stars
7.8k
Forks
1.2k
Avg merge
2d 17h
Merged PRs (30d)
49

Description

Release Type: GitHub
Version: master
Platform(s): Windows (likely independent)

Describe the bug
I'm getting an exception right after game.Run()

Unexpected exception while loading asset [GraphicsCompositor]. Reason: No serializer available for type id
54f417d01d5b7c8dffd4a010bd6664b6 and base type Stride.Rendering.RootRenderFeature.

To Reproduce
Steps to reproduce the behavior:

  1. Create a new .NET Console project, add Stride.Engine and Stride.Core.Assets.CompilerApp packages via nuget reference
  2. Create a solution file and add the project
  3. Open solution in GameStudio, add default GameSettings, MainScene, GraphicsCompositor and link them together.
  4. Run game

I know it's not a common setup, but it should be possible to use Stride with just one project.
You can see my small project in this repo: https://github.com/manio143/Stride.Diagnostics.Sentry

Expected behavior
The game should start normally.

Log and callstacks
https://sentry.io/share/issue/049752bf1ba44815972e31c2255eec9a/

Additional context
A followup to #879

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure from a single .NET Console project and trace the exception raised after game.Run() while loading GraphicsCompositor. Inspect how RootRenderFeature serialization is registered or discovered in this one-project setup. Done means the project starts normally without the deserialization exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.