Search Issue Tracker
Third Party Issue
Votes
2
Found in [Package]
3.0.1
Issue ID
1320912
Regression
No
Player crashes when building IAP demo scene and deploying from Xcode
How to reproduce:
1. Open the attached project (case-1320912.zip)
2. Go to File -> Build Settings
3. Enable the 'Create Xcode Project' option and build it
3. Deploy the project from Xcode
Reproducible with: 3.0.1-pre.3 (2019.4.22f1, 2020.3.1f1), 3.0.1-pre.6 (2021.2.0a9), 3.0.1 (2021.1.0f1)
Could not test with: 2.2.2 (2018.4.32f1) (errors when downgrading)
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
- CustomStyleProperty can't be retrieved when its value is set in pixels
- Physics.IgnoreCollision method does not work when used on a disabled GameObject
- Empty data buffer gets passed to OnAudioFilterRead when using Video Player
- The Update() method gets called on a disabled script when added and disabled during runtime
- URP Decal instanced rendering breaks and spams warnings when it is enabled at runtime
Resolution Note:
MONO_DEBUG=explicit-null-checks /Applications/Xcode.app/Contents/MacOS/Xcode
Start Xcode this way in order to avoid it breaking for null checks. steps to get this working:
1. In Xcode go to Product -> Scheme -> Edit Scheme
2. In the 'Arguments' tab add a new environment variable with the name 'MONO_DEBUG' and value 'explicit-null-checks'
3. Run the project