Search Issue Tracker
Fixed
Fixed in 2.3.1
Votes
1
Found in [Package]
2.3.0
Issue ID
MNB-68
Regression
Yes
"warning CS0472: The result of the expression is always 'false' since a value of type 'int' is never equal to 'null' of type 'int?'" is thrown when importing "Notification Samples"
How to reproduce:
1. Create and open a new Unity project
2. Import the "Mobile Notifications" package
3. Import "Notification Samples" in the Samples tab of the "Mobile Notifications" package
Expected results: No warnings thrown in the Console window
Actual results: "warning CS0472: The result of the expression is always 'false' since a value of type 'int' is never equal to 'null' of type 'int?'" is thrown
Reproducible with: 2.3.0 (2021.3.32f1, 2022.3.13f1, 2023.1.20f1, 2023.2.0b18, 2023.3.0a14)
Not reproducible with: 2.2.2 (2021.3.31f1, 2022.3.11f1, 2023.1.17f1, 2023.2.0b14, 2023.3.0a10)
Reproducible on: Windows 11 22H2, macOS 13.5.2 (Intel)
Not reproducible on: No other environment tested
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [GLES] The material isn't rendered when using Graphics.RenderPrimitives
- [Android] Writing text or adding more emojis after an emoji in the InputField causes the first emoji to disappear and be changed to two question marks when "Hide Mobile Input" is enabled on some Android devices
- [iOS][AppleTV] .dylib plugin is not visible in the Xcode but is added in the project folder
- Error "AssetDatabase.SaveAssets are restricted during asset importing" when assigning Icons to a Saved Search
- Plugins .meta files are empty when adding empty plugins to the project
Add comment