Search Issue Tracker

Fixed in 2020.1.X

Fixed in 2019.2.X, 2019.3.X

Votes

0

Found in

2019.1

2019.1.0f2

2019.2

2019.3

Issue ID

1147579

Regression

No

TypeLoadException errors due to recursive type definition when .Net 4.x Scripting Runtime Version is used

Mono

-

Steps to reproduce:
1. Open the attached project
2. Select SubClass.cs script in Scripts->Assembly2
3. Look in Console window

Actual result: TypeLoadException appears
Expected result: No errors

Reproducible with: 2019.1.1f1 (.Net 4.x), 2019.2.0a14, 2019.3.0a1
Can't reproduce with versions below 2019.1 because of errors

  1. Resolution Note (fix version 2019.3):

    Fixes issue where recursive type definitions would fail to compile successfully.

Comments (1)

  1. Alex-Thibodeau

    Jul 19, 2019 14:14

    A bug has been filed with mono for this issue: https://github.com/mono/mono/issues/15760

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.