Search Issue Tracker
Won't Fix
Won't Fix in 2021.3.X
Votes
0
Found in
2021.3.31f1
Issue ID
UUM-52416
Regression
No
[2021.3] Push entitlements are requested when UnityEngine.iOS.NotificationServices is referenced in an unused script
How to reproduce:
1. Build the user’s attached “bug-push-entitlements.zip” project for iOS
2. Open built Xcode project
3. Open Classes > Preprocessor.h
4. Observe the 175th line “#define UNITY_USES_REMOTE_NOTIFICATIONS”
Expected result: “#define UNITY_USES_REMOTE_NOTIFICATIONS” is 0
Actual result: “#define UNITY_USES_REMOTE_NOTIFICATIONS” is 1
Reproducible with: 2021.3.31f1
Could not reproducible with: 2022.2.10f1, 2023.1.16f1, 2023.2.0b12, 2023.3.0a8 (UnityEngine.iOS.NotificationServices is removed from 2022.1 onwards)
Reproduced on: macOS 13.5.2 (Intel)
Not reproducible on: No other environment tested
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
- Texture is not applied on a Custom Render Texture when a Cubemap is selected as the texture
- 2D light leaks through ShadowCaster2D when ShadowCaster2D components are disabled then re enabled at runtime in Player builds
- Unity Hub redirects to The Unity Roadmap when navigating to “Send Feedback” option
- UI Toolkit throws warning and fails to clear references when fields are not typed as UnityEngine.Object
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
Resolution Note:
This is too low priority and won't be addressed, given that a workaround is simple and later versions of Unity are not affected.
Resolution Note (2021.3.X):
This is too low priority and won't be addressed, given that a workaround is simple and later versions of Unity are not affected.