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
- "GUI Error: Invalid GUILayout" and "NullReferenceException" are thrown when adding Scenes to "Scenes in Baking Set" in Adaptive Probe Volumes
- Inspector window not updating when switching GameObjects in Play Mode while having a VR headset connected
- “UnityException: GetInvalidFilenameChars” errors are thrown, and the Overlay Save Preset button becomes unusable when entering Play Mode with a shortcut while Overlay Save Preset window is opened
- "UnityException: GetName can only be called from the main thread." erors are thrown when the Shortcuts window is opened and entering Play Mode with a shortcut
- [Android] Light2D visuals stacking over frames when using RenderGraph
Add comment