Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect redundant serialise field warning for field of the generic type of the class #1885

Closed
citizenmatt opened this issue Oct 8, 2020 · 0 comments
Assignees
Milestone

Comments

@citizenmatt
Copy link
Member

public class Foo<T> : MonoBehaviour
{
   public T SerialisedField;
}

We should not show a warning that SerialisedField will not be serialised. We don't have enough information to tell if the generic type T matches the rules for Unity's serialisation.

@citizenmatt citizenmatt mentioned this issue Nov 18, 2020
13 tasks
@citizenmatt citizenmatt self-assigned this Nov 20, 2020
@citizenmatt citizenmatt added this to the Rider 2020.3 milestone Nov 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant