Class with IMaterialEmissiveFeature cannot be serialized when reloading assemblies
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: 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:
- Create a blank project, copy source files from https://github.com/johang88/StrideSimpleWater ,
- Added
MaterialWaterEmissiveMapFeatureas Emissive into a PBR Metallic material, - Reload assemblies,
- Crash.
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
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 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