Search Issue Tracker
Fixed in 1.0.0-preview.23
Votes
0
Found in [Package]
preview.21-1.0.0
Issue ID
1157926
Regression
No
[iOS][Notifications] Get user Notification settings causes a crash on iOS < 11 devices
How to reproduce:
1. Open the attached project
2. Make sure Mobile Notifications package is installed
3. Go to Notification Settings iOS tab and enable "Request Authorization on App Launch"
4. Build ManualTests scene on iOS
5. When scene is running press "GetUserNotificationSettings"
Result: crash
iosnotificationtestenvcopy2[1784:1410718] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UNNotificationSettings showPreviewsSetting]: unrecognized selector sent to instance 0x17409c520'
* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
frame #0: 0x0000000189931014 libsystem_kernel.dylib`__pthread_kill + 8
frame #1: 0x00000001899fb264 libsystem_pthread.dylib`pthread_kill + 112
frame #2: 0x00000001898a59c4 libsystem_c.dylib`abort + 140
frame #3: 0x00000001893711b0 libc++abi.dylib`abort_message + 132
frame #4: 0x000000018938ac04 libc++abi.dylib`default_terminate_handler() + 304
frame #5: 0x0000000189398820 libobjc.A.dylib`_objc_terminate() + 124
frame #6: 0x00000001893875d4 libc++abi.dylib`std::__terminate(void (*)()) + 16
frame #7: 0x00000001893871a8 libc++abi.dylib`__cxa_rethrow + 144
frame #8: 0x00000001893986f8 libobjc.A.dylib`objc_exception_rethrow + 44
frame #9: 0x000000018a812e10 CoreFoundation`CFRunLoopRunSpecific + 532
frame #10: 0x000000018c27d074 GraphicsServices`GSEventRunModal + 100
frame #11: 0x0000000190ac6c9c UIKit`UIApplicationMain + 208
frame #12: 0x00000001020193a4 UnityFramework`-[UnityFramework runUIApplicationMainWithArgc:argv:] + 96
* frame #13: 0x00000001000afe1c iosnotificationtestenvcopy2`main(argc=<unavailable>, argv=<unavailable>) at main.mm:26:9 [opt]
frame #14: 0x000000018982159c libdyld.dylib`start + 4
Reproducible: 2019.3.0a3
Reproducible: iPad Pro 10.5” iOS 10.3.3 and iPhone 5 iOS 10.1.1
Not reproducible: iPad mini 4 iOS 11.4, iPhone XS iOS 12.2, iPhone 7 iOS 11.0.1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash when trying to force Shader to interpret 1/30 as a floating point operation
- Terrain is flickering when adjusting "Compatibility Mode" and "Use Rendering Layers" Settings
- Isometric tiles are flickering and overlapping each other when entering Play Mode with Tilemap Renderer mode set to "Chunk"
- Crash on ParticleSystemParticles::array_reserve when particle system starts
- Docking Text Property Preview Window next to UI Builder breaks the window and causes NullReferenceException
Add comment