stride3d / stride3d/stride

Class with IMaterialEmissiveFeature cannot be serialized when reloading assemblies

Open
#2,909 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C#
Stars
7.8k
Forks
1.2k
Avg merge
2d 17h
Merged PRs (30d)
49

Description

Release Type: Official Release

Version: 4.2.1.2442

Platform(s): Windows (Game Studio)

Describe the bug
Soft reloading when a class implementing IMaterialEmissiveFeature+MaterialFeature crashes Game Studio.

To Reproduce
Steps to reproduce the behavior:

Expected behavior
No crash.

Log and callstacks
SimpleWater crash report.txt

Additional context
Need to find if inheriting MaterialFeature causes this, I doubt the interface could cause this.

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 with the attached SimpleWater crash report and the source files copied from the StrideSimpleWater project, then reproduce the failure in Game Studio by reloading assemblies after adding MaterialWaterEmissiveMapFeature to a PBR Metallic material. Trace the serialization or reload path implicated by the crash; done means the same project reloads assemblies without crashing.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.