Search Issue Tracker

Active

Votes

0

Found in

2018.3.1f1

Issue ID

1117993

Regression

Yes

[WebGL] In developer build method Mathf.CeilToInt() throws an exception

WebGL

-

-

Priority: 3Not yet prioritized for a release

-

Severity: 3Secondary functionality broken

Steps to reproduce:
1. Download 117993_repro.zip project
2. Build for WebGL Developer Build
3. Open index.html in a web browser

Expected results: returns -2147483647 value
Actual results: Mathf.CeilToInt() throws an exception

Reproduced with: 2019.2.0a1, 2019.1.0a14, 2018.3.3f1
Not reproducible in: 2017.4.18f1

Exception:
exception thrown: RuntimeError: integer overflow,_Mathf_CeilToInt_m0230CCC7CC9266F18125D9425C38A25D1CA4275B@blob:null/97ece9de-a606-46b9-a946-c044d7947787 line 1379 > WebAssembly.instantiate:wasm-function[33195]:0x85e16e
_TestCeil_Start_m89B55F5DD7E7290449C2F37AC1F6D50326337F47@blob:null/97ece9de-a606-46b9-a946-c044d7947787 line 1379 > WebAssembly.instantiate:wasm-function[43820]:0xa75090
<...>

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.