Search Issue Tracker
Fixed in 1.1.0-preview
Votes
0
Found in [Package]
2018.4
2019.3.14f1
2020.2
Issue ID
1251504
Regression
No
[iOS] crash when Notification with Data parameter set to null is pushed due to uncaught exception 'NSInvalidArgumentException'
Reproduction steps:
1. Open project in "MobileNotificationsBug.zip"
2. Build the project for iOS and Deploy it to an iOS device using Xcode
3. Allow notifications when prompted
4. A 5-second timer will start and when it reaches 0 a Notification will be pushed
5. The notification has the Data field set to null "PushNotificationTest.cs" line 70
Unexpected behaviour: when the notification has been pushed the Game crashes due to unhandled 'NSInvalidArgumentException'
Reproducible with: 2018.4.22f1, 2020.2.0a13
Devices tested:
Reproducible with:
VLNQA00310 iPad Pro 12.9 (iOS 13.4.1)
VLNQA00204 iPhone 5C (iOS 10.3.3)
Few lines from stack trace (full trace in edits):
* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
frame #0: 0x0000000183c6cd88 libsystem_kernel.dylib`__pthread_kill + 8
frame #1: 0x0000000183b851e8 libsystem_pthread.dylib`pthread_kill$VARIANT$mp + 136
Comments (3)
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
socialmedia_unity209
Jun 25, 2021 00:17
Thanks for your post. I'm half suprised... very informative https://github.com/davitomasi/davitomasi/blob/gh-pages/index.md
socialmedia_unity209
Jun 25, 2021 00:03
Thanks for your post. I'm half suprised... very informative
dcoded4
Mar 08, 2021 07:19
Thanks for the information. I've definitely pick up something new from right here.
sugarzo.com