Search Issue Tracker

Won't Fix

Votes

0

Found in

2018.4.0f1

2019.1.0a1

2019.1.10f1

2019.2.0a1

2019.3.0a1

Issue ID

1172443

Regression

No

MemberInfo.IsDefined Ignores inherit Parameter on Types when .NET 4.x scripting runtime is used

Mono

-

How to reproduce:
1. Open the attached project ("case_1172443-memberinfo-isdefined.zip")
2. Open the repro scene ("testScene")
3. Enter Play Mode
4. Inspect console output

Expected results: SerializableAttribute is found automatically
Actual results: SerializableAttribute is not found automatically

Reproducible with: 2018.4.5f1, 2019.1.13f1, 2019.2.0f1, 2019.3.0a11
Couldn't test with 2017.4, as it does not support .NET 4.x runtime

Notes:
1. This issue does not reproduce on .NET 3.5 scripting runtime
2. On 2019.2 and 2019.3 branches, it is not possible to change the .NET scripting runtime back to 3.5, as it is deprecated

  1. Resolution Note:

    An issue was filed in upstream Mono: https://github.com/mono/mono/issues/17717 When a fix is available in upstream mono we will investigate applying it to our Mono.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.