Search Issue Tracker

Fixed in 2018.1.X

Votes

0

Found in

2017.3.0b9

Issue ID

969773

Regression

No

System.ValueTuple throwing exceptions on built Player that has Mono set as Scripting Backend

Scripting

-

How to reproduce:
1. Open users attached project and "main" scene
2. Press one of the "Execute" buttons, notice that System.ValueTuple successfully returns string values
3. Go to File --> Build Settings --> Player Settings --> Other Settings
4. Choose Mono as Scripting Backend
5. Build & Run player, once built press one of the "Execute" buttons

Expected result: System.ValueTuple successfully returns string values, just like in Editor
Actual result: System.BadImageFormat or System.TypeInitializationException exceptions are thrown

Reproducible with - 2017.3.0b10, 2017.2.0f3, 2017.2.0a1
Not reproducible with - 2018.1.0a5

Note: Works fine on built player that has IL2CPP (Android) built player

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.