stride3d / stride3d/stride

Investigate asset editing without loading .NET assemblies

Open
#426 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Is your feature request related to a problem? Please describe.
Loading assemblies to edit asset is quite problematic:

  • Compilation issues
  • Missing dependencies
  • Side-effects (ctor, etc.)
  • Crash/stability
  • Reload takes time and affect lot of objects

Describe the solution you'd like
Instead of loading real objects, one approach would be to use custom fake object that are based on reflection.
We would still need to load actual object for displaying stuff (i.e. scene editor) but we could do that out-of-process.

Likely issues or problem to deal with if taking this approach:

Note that it is just a proposal that will need further investigation, and it might not be such a good idea in practice. Created issue to keep track of some details that were discussed in Discord.

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

No files, tests, or entry points are named. Begin by evaluating the reflection-based fake-object proposal against the listed assembly-loading problems and risks, then determine whether the out-of-process approach supports asset editing and scene display; done means a documented feasibility decision and scoped follow-up work.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
game-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.