### Godot version

4.1 beta 3, 4.1 beta 1

### System information

Windows 10 - 4.1 beta 3 - Android 12

### Issue description

Crash when using SoftBody on android mobile.

### Steps to reproduce

- Simple scene setup using a plane softbody, camera.
- Export to android mobile.
- Immediate crash when open the app.

### Minimal reproduction project

[SoftbodyMobileTest.zip](https://github.com/godotengine/godot/files/11871734/SoftbodyMobileTest.zip)

r_alloc_offset = write_from;
				r_alloc_size = available_bytes - (available_bytes % p_required_align);
			} else {
				
				
				staging_buffer_current = (staging_buffer_current + 1) % staging_buffer_blocks.size();
				
				
				if (staging_buffer_blocks[staging_buffer_current].frame_used == frames_drawn) {
					
					if ((uint64_t)staging_buffer_blocks.size() * staging_buffer_block_size < staging_buffer_max_size) {
						
						Error err = _insert_staging_block();
						if (err) {
							return err;
						}
						
						staging_buffer_blocks.write[staging_buffer_current].frame_used = frames_drawn;
					} else {
						
						
						
						
						if (false) { 
							
							continue;
						} else {
							
							_flush(true);