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
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
- Average FPS in Play Mode degradation on a newly created BiRP project when it's upgraded from 2020.3.48f1 to a newer Editor version
- DecoratorDrawer indentation is incorrect when it is called with EditorGUI
- Error "InvalidOperationException: You are trying to read Input using the UnityEngine.Input class, but you have switched active Input handling to Input System package in Player Settings." is present when using UI Toolkit and New Input System
- "Unable to get the list of approved APIs." is thrown when testing the App Packages with Windows App Certification Kit
- [Linux] The mouse wheel input is inverted when scrolling in the Build
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