stride3d / stride3d/stride

classes with 2 generics create clutter in GameStudio.

Open
#1,628 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area-GameStudio 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.1.0.1805

Platform(s): Windows

Describe the bug
There seems to be a minor bug with classes that have 2 generic types attached to them.

image

To Reproduce
Steps to reproduce the behavior:

  1. create a class that inherits a SyncScript or StartupScript

  2. make 2 generic types in the class
    image

  3. go to Gamestudio and they will show like above

Expected behavior
A clear and concise description of what you expected to happen.

not sure what should be expected I would assume they shouldnt show at all. If I try to add those class to an Entity it wont let me so this is purely visual noise.

Additional context
This is a very minor bug but if something like DataMemberIgnore exists for classes it would be nice to clean this up and may be an easy work around.

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

Reproduce the issue in GameStudio using a class inheriting SyncScript or StartupScript with two generic types. Inspect how these classes are displayed and compare that with the logic preventing them from being added to an Entity, including any existing DataMemberIgnore handling. Done means unusable generic classes no longer appear as visual noise and the behavior is covered by a regression check.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
game-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.