Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ExplicitlyThrownExceptionsOnly

Enable throw support.
Read time 1 minuteLast updated 10 days ago

Definition

  • Type: Field
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
ExplicitlyThrownExceptionsOnly = 1

Remarks

With this option, exceptions can be thrown and caught in WebGL. But only exceptions explictly thrown will work. NullReferenceExceptions can still cause your content to fail. This has a significant cost in performance and build size over WebGLExceptionSupport.None, so only use it when you need it.