Search Issue Tracker

Active

Votes

19

Found in

2021.2

2022.1

2022.1.0b8

2022.2

Issue ID

1403906

Regression

No

"RuntimeError: Out of bounds memory access" error appears when running WebGL project in Safari browser on M1 macOS devices

Web Platform

-

Reproduction steps:
1. Open the attached "1403906.zip" project
2. Build and Run the project in the Safari browser
3. Observe the game in the Safari browser

Expected result: No error messages appear
Actual result: "RuntimeError: Out of bounds memory access" error message appears

Reproducible with: 2021.2.14f1, 2022.1.0b10, 2022.2.0a7
Could not test with: 2019.4.36f1, 2020.3.30f1 (Compilation errors after downgrade)

Not reproducible with: Chrome and Firefox browsers

First few lines of the error message:
An error occurred running the Unity content on this page. See your browser JavaScript console for more info. The error was:
RuntimeError: Out of bounds memory access (evaluating 'dynCall_v.call(null,func)')
<?>.wasm-function[ParticleSystem::UpdateModulesPreSimulationIncremental(ParticleSystemUpdateData const&, ParticleSystemParticles&, unsigned long, unsigned long, math::_float4 const&, bool)]@[wasm code]
<?>.wasm-function[ParticleSystem::Update1b(ParticleSystemUpdateData&, int)]@[wasm code]
<?>.wasm-function[ParticleSystem::UpdateFunction(ParticleSystemUpdateData*)]@[wasm code]
<?>.wasm-function[ParticleSystem::BeginUpdate(ParticleSystem**, unsigned long, float, float)]@[wasm code]
<?>.wasm-function[ParticleSystem::BeginUpdateAll()]@[wasm code]
<?>.wasm-function[ParticleSystem::InitializeClass()::PreLateUpdateParticleSystemBeginUpdateAllRegistrator::Forward()]@[wasm code]
<?>.wasm-function[ExecutePlayerLoop(NativePlayerLoopSystem*)]@[wasm code]

Comments (4)

  1. IModZombies4Fun

    Jan 09, 2023 00:16

    Still happening 2022.1.23f1

  2. chanatip_unity621

    Oct 31, 2022 12:24

    Happening on 2021.3.9f1

  3. andym_sv

    Oct 31, 2022 04:50

    Happening on 2021.3.5f1

  4. MusoAga

    Mar 21, 2022 15:33

    This happend to me also, when using default particle system in empty scene and starting the WebGL build on a M1 device with Safari

Add comment

Log in to post comment

All about bugs

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