Reproduction steps:
1. Open the attached “macos_fixed_size_buffer_bug” project
2. In the Menu bar, select Window > General > Test runner
3. In the Test Runner window, select “EditMode” and click the “Run All” button
4. Observe the test results
Expected result: All tests succeed
Actual result: Not all tests succeed
Reproducible with: 2021.3.29f1, 2022.3.7f1, 2023.1.8f1, 2023.2.0b4
Reproducible on: macOS Ventura 13.4.1 (M1 Max)
Not reproducible on macOS Ventura 13.4.1 (Intel)