Search Issue Tracker

Fixed in 2018.2.X

Fixed in 2018.1.X

Votes

0

Found in

2018.1.0b5

Issue ID

995937

Regression

No

[.NET 4.x] Blank compilation error is thrown if JavaScript file is included in Assets and .NET Standard 2.0 is used

Scripting

-

1. Open the attached "JavaScriptError" project
2. Observe the console, no errors are thrown
3. Go to Edit --> Project Settings --> Player --> Other Settings
4. Change the Scripting Runtime Version to .NET 4.x and Api Compatibility Level to .NET Standard 2.0

Expected result: Error about JavaScript being unsupported is thrown (or something with more information)
Actual result: Blank error is thrown

Reproducible with - 2018.1.0b6, 2018.1.0a6

Fixed in - 2018.2.0a3

Note: Reproduced with both IL2CPP and Mono Scripting Backends

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.