Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


wasmArithmeticExceptions

The trapping mode for WebAssembly code.
Read time 1 minuteLast updated 12 days ago

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static WebGLWasmArithmeticExceptions wasmArithmeticExceptions { get; set; }

Remarks

WebAssembly code might throw an exception if you're using arithmetic operations like division by zero or rounding a very large float to an integer. Unity recommends using Throw mode to help detect for potential issues sooner.