Search Issue Tracker
Fixed in 1.5.0
Votes
0
Found in [Package]
1.4.2
Issue ID
1382960
Regression
No
[iOS] Crash on __pthread_kill when clicking on a Notification that contains an Integer value in the .apns file
Reproduction steps:
1. Open the attached project "PushNotifCrash .zip"
2. Build and Deploy the project to an iOS Simulator
3. Put the App in the background
4. Open a macOS terminal window in "<Project Path>/Assets" and run the following command: "xcrun simctl push booted com.unity.pushncrash NotificationContent.apns"
5. In the Simulator window, press on the Notification
Reproducible with: 1.4.1 (2019.4.33f1), 1.4.2 (2019.4.33f1, 2020.3.23f1, 2021.2.4f1, 2022.1.0a16)
Could not test with: 1.3.2 (Errors are thrown in the Console)
Notes:
- Issue reproduces only when Notification is clicked while the App is in the background
First lines of the stack trace:
* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
frame #0: 0x00007fff6030992e libsystem_kernel.dylib`__pthread_kill + 10
frame #1: 0x00007fff603435bd libsystem_pthread.dylib`pthread_kill + 263
frame #2: 0x00007fff200fbcb5 libsystem_c.dylib`abort + 120
frame #3: 0x00007fff20254692 libc++abi.dylib`abort_message + 241
frame #4: 0x00007fff20245dfd libc++abi.dylib`demangling_terminate_handler() + 266
frame #5: 0x00007fff20179ace libobjc.A.dylib`_objc_terminate() + 96
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
- Crash on PluginManager::RefreshPlugins when closing the Editor without making any changes with JetBrains Rider selected as the External Code Editor and Google Mobile Ads third-party plugin imported
- GetMainLight() returns incorrect distanceAttenuation value for a Custom Shader when URP Forward+ Rendering Path is used
- Standalone Profiler crash on GuidReservations::Reserve when it is opened on a specific project
- m_RenderPipelineGlobalSettingsMap or m_SRPDefaultSettings is pointing to UnityEngine.Rendering.HighDefinition.HDRenderPipeline when High Definition RP package is removed
- Rendering Debugger fields have no padding at the bottom of the fields list
Resolution Note (fix version 1.5.0):
Fixed in Mobile Notifications 2.0.0