Search Issue Tracker
Fixed in 2021.2.X
Duplicate in 2019.4.X
Votes
1
Found in
2019.4
2020.2
2021.1
2021.1.0b1
2021.2
Issue ID
1303935
Regression
No
[Metal] [iOS] Application crashes on BufferMetal::SetData when multithreaded rendering is on
Reproduction steps:
1. Open project in "case_1274547-minimum.zip"
2. Build the project for iOS and deploy it to a device
3. Wait
Actual result: the project crashes at launch or after some time (usually takes less than 20 seconds)
Reproducible with: 2019.4.29f1, 2020.3.13f1, 2021.1.14f1, 2021.2.0a17
Not reproducible wih: 2021.2.0a18 (Fix version), 2022.1.0a1
Could not test with 2018.4.31f1 (precompiled assembly exception)
Devices tested:
Reproducible with:
VLNQA00310 iPad Pro 12.9 1st gen (iOS 13.4.1)
iPhone 8+ (iOS 12.0)
iPhone XR (iOS 13.4.1)
iPad Air 2 (iOS 11.0.3)
iPad 9.7 6th gen (iOS 14.0b7)
Not reproducible with:
iPhone 11 (iOS 13.7)
iPhone 11 (iOS 14.3)
Apple TV 4th gen (tvOS 14)
iPhone SE 2nd gen (iOS 14.0.1)
Few lines from trace:
* thread #29, name = 'UnityGfxDeviceWorker', stop reason = EXC_BAD_ACCESS (code=1, address=0x18)
* frame #0: 0x0000000105dbb278 UnityFramework`BufferMetal::SetData(void const*, unsigned long, unsigned long) + 60
frame #1: 0x0000000105dca660 UnityFramework`GfxDeviceMetal::SetComputeBufferData(GfxBuffer*, void const*, unsigned long, unsigned long) + 40
...
-
NHN_Fujisawa
Apr 28, 2022 01:54
I want to know when this solution will be implemented in 2019.4.x.
-
meryemekinci
Sep 24, 2021 18:55
I am having the same issue with 2020.3.10.
There is no 2021.2.X version on Unity Download page. Which fixed version is available on the download page?
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Constant console errors when using Min/Max Slider in PlayMode
- The global scene list is overridden in a project built with command line when the Override Global Scene List setting is disabled in the build profile
- [Linux] AutoLocale log is logged when opening a project
- Global Scenes are not included in the Build when building multiple Build Profiles at the same time
- [iOS] WebCamDevice.availableResolutions returns a single resolution with width and height both 0 on some iOS devices
Resolution Note (fix version 2021.2):
Fixed in 2021.2.0a18