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
- Any small change in UI Builder Inspector refreshes Editor Inspector
- Inaccurate Box Collider boundaries on a rotated child Cube when the parent GameObject Scale is non-uniform
- [Android] "SHADOWS_SCREEN" set as shader Keyword when no "_ShadowMapTexture" is bound leads to freeze on a build on some Mali GPU devices
- The global scene list is overridden in a project built with command line when the Override Global Scene List setting is disabled in the build profile
- Global Scenes are not included in the Build when building multiple Build Profiles at the same time
Add comment