Search Issue Tracker
Fixed in 1.0.3-preview
Votes
1
Found in [Package]
?
Issue ID
1114987
Regression
Yes
[MobileNotifications] Reopening the project overrides Mobile Notification Settings
How to reproduce:
1. Create a new project (you can switch to iOS or Android platform)
2. Open Package Manager -> set it to show preview packages
3. Install Mobile Notifications Package
4. Open Notifications settings (you can click on it in Project NotificationSettings.asset or go to Editor -> Project Settings -> Mobile Notifications)
5. Editor settings (add an icon for Android or enable iOS Push Notifications)
6. reopen the project and open Mobile Notification settings again
Result: setting are overridden to default
Tested and reproduced: 2019.1.0a10, 2019.1.0a13 (with preview.8-1.0.0, preview.5-1.0.0)
Tested and didn't reproduce: 2018.3.1f1 (with preview.8-1.0.0) <- project works just fine
NOTES:
Tested and didn't reproduce: 2019.1.0a13 (with preview.4-1.0.0 ) because it throws errors
/Users/.../PackageCache/com.unity.mobile.notifications@1.0.0-preview.4/Editor/UnityNotificationsEditorManagerEditor.cs(53,19): error CS1502: The best overloaded method match for `UnityEditor.AssetSettingsProvider.AssetSettingsProvider(string, System.Func<UnityEngine.Object>)' has some invalid arguments
and 2019.1.0a6 (preview.8-1.0.0) because it throws errors
/Users/.../PackageCache/com.unity.mobile.notifications@1.0.0-preview.8/Editor/UnityNotificationsEditorManagerEditor.cs(55,41): error CS0117: `UnityEditor.AssetSettingsProvider' does not contain a definition for `CreateProviderFromObject'
Comments (1)
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
- Active quality level set on a new Universal 2D project is not the default quality level when creating a new project
- Inspector Open button does nothing when navigating to a different folder with a locked asset
- Pre-generated XML serializers fail to deserialize types that use polymorphism when the Player is built with the IL2CPP scripting backend
- Editor crashes with error "Failed to present D3D11 swapchain due to device reset/removed" and Player freezes when rendering a particle system while using modified URP package on DX11
- Crash on Scripting::LogException when async HTTP callback executes after scripting domain teardown
ajon542
Jul 24, 2019 21:59
The NotificationSettings.asset is getting overridden if you delete the "Library" directory and then open Unity with "1.0.3-preview" and Unity 2018.4.2f1. Seems closely related if not the same issue that is claimed to be fixed in https://forum.unity.com/threads/mobile-notification-preview-package.620227/page-4#post-4777439