Search Issue Tracker

Fixed in 2022.2.X

Fixed in 2019.4.X

Votes

0

Found in

2019.4.17f1

2019.4.28f1

Issue ID

1378650

Regression

Yes

TypeLoadException is thrown during Play Mode when different versions of a Managed plug-in are referenced in the project

Scripting

-

Steps to reproduce:
1. Open the project in the attached "project_zipup.zip"
2. Open Assets > Sample > Scene > ServiceTest Scene
3. Enter Play Mode

Expected result: Message: "gRPC native library loaded successfully." is shown in the Console
Actual result: Error: "TypeLoadException: Invalid type Services.HelloReply for instance field GreeterTest+<Start>d__10:<response>5__3" is shown in the Console

Reproducible with: 2019.4.17f1, 2019.4.32f1
Not reproducible with: 2019.4.16f1, 2020.1.0a1, 2020.3.23f1, 2021.2.3f1, 2022.1.0a15

Notes:
- This error is not thrown in the Player Build

  1. Resolution Note (fix version 2022.2):

    Fixed in: 2022.2.0a1

  2. Resolution Note (fix version 2019.4):

    Fixed in: 2019.4.35f1

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.