Single project game - RootRenderFeature cannot get properly deserialized
Nobody has claimed this yet.
- 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:
- Create a new .NET Console project, add
Stride.EngineandStride.Core.Assets.CompilerApppackages via nuget reference - Create a solution file and add the project
- Open solution in GameStudio, add default GameSettings, MainScene, GraphicsCompositor and link them together.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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