Search Issue Tracker
Fixed
Fixed in 2.3.1
Votes
1
Found in [Package]
2.3.0
Issue ID
MNB-70
Regression
Yes
[UWP] Universal Windows Platform build fails when Mobile Notifications package v2.3.0 is installed
Reproduction steps:
1. Open the attached project “UWPProject”
2. Ensure Mobile Notification v2.3.0 is installed
3. Build the project for Universal Windows Platform
4. Observe the build process
Expected result: The build is completed successfully
Actual result: Build failed with the error “mobilenotifications.androidlib is a directory, which is not supported”
Reproducible with: 2.3.0(2021.3.33f1, 2022.3.15f1, 2023.2.4f1, 2023.3.0a18)
Not reproducible with: 2.2.0, 2.2.1, 2.2.2 (2021.3.33f1, 2022.3.15f1, 2023.2.4f1, 2023.3.0a18)
Testing environment: Windows 10 Pro 22H2
Full error:
Building C:\Projects\FreshProject\Unity2022\Deploy\UWP\Unity2022\Plugins\mobilenotifications.androidlib failed with output:
The source path Library\PackageCache\com.unity.mobile.notifications@2.3.0\Runtime\Android\Plugins\mobilenotifications.androidlib is a directory, which is not supported.
UnityEditor.BuildPipeline:BuildPlayer (UnityEditor.BuildPlayerOptions)
BuildScript:BuildForPlatform (UnityEditor.BuildTarget,string[],string,string) (at Assets/Scripts/Editor/BuildScript.cs:42)
BuildScript:Build () (at Assets/Scripts/Editor/BuildScript.cs:18)
Notes: Building works fine for other platforms, Android, Standalone (macOS and Windows)
-
FixItFelix
Dec 08, 2023 13:47
We just had the same experience. We had to downgrade to version 2.2.2. to make it work again.
I think the mobile notifications package has some restructuring. The "mobilenotifications" folder is now recognized as a plugin but the platform is set to any instead of Android. Before it had 4 different plugins set to Android only.
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
- Prefab override popup is cropped/positioned incorrectly when more than one display is used and a higher display Scale is set
- Opening a dropdown on a small screen results in its instant closing when mouse cursor is pressed where the dropdown is going to be opened
- Only "ArgumentNullException: Value cannot be null" is displayed instead of all the actual errors when opening a project with numerous compilation errors
- MultiColumnListView and MultiColumnTreeView do not change selection on first input when focus is set by code
- SerializedProperty.DataEquals is returning false when SerializedProperty.EqualContents return true
Resolution Note (fix version 2.3.1):
This is already fixed in master.