Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

PlayerSettings.WebGL.wasmArithmeticExceptions

Switch to Manual
public static WebGLWasmArithmeticExceptions wasmArithmeticExceptions;

Description

The trapping mode for WebAssembly code.

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.