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

Package: Mobile Notifications

-

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)

  1. 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

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.