Search Issue Tracker

Fixed in 2021.1

Votes

1

Found in

2018.1.0f1

Issue ID

1227393

Regression

No

P/Invoking into non-existent library crashes player on WebGL instead of throwing a managed exception

WebGL

-

Sample code:

[DllImport("SomeRaNdOmNaMeThatDoesntExist.dll")]
extern static void NonExistingAPI();
public void Start()
{
try
{
NonExistingAPI();
}
catch
{
}
}

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.