Search Issue Tracker
Fixed in 2021.1.X
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
Sample code:
[DllImport("SomeRaNdOmNaMeThatDoesntExist.dll")]
extern static void NonExistingAPI();
public void Start()
{
try
{
NonExistingAPI();
}
catch
{
}
}
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Long Prefab save times when using Unity 2022.2 and higher
- Console displays error "UnityException: Creating asset at path Assets/Scenes/ .scenetemplate failed." during scene template saving
- "Development Build" watermark is shown in non-development UWP release builds
- Console errors appear when the Inspector is set to Debug and a GameObject is selected
- A script public variable value is not used when set in the Inspector window
Add comment