Version: 2023.1

PlayerSettings.WebGL.wasmArithmeticExceptions

切换到手册
public static WebGLWasmArithmeticExceptions wasmArithmeticExceptions ;

描述

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.