Search Issue Tracker

Active

Planned for 2018.4, 2019.4, 2020.1

Votes

0

Found in

2019.4

2020.1.6f1

2020.2

Issue ID

1280059

Regression

No

[iOS] Device.generation returns "DeviceUnknown" with some devices

iOS

-

Reproduction steps:
1. Open customer's attached Unity project in "2020.1.6f1 test.zip"
2. Build for iOS and open XCode project generated
3. Deploy the application to iPad Pro (12.9-inch) (4th generation) simulator device
4. Device.generation.ToString() will be displayed in the text field

Expected result: text field will contain "iPadPro4thgen"
Actual result: text field contains "iPadUnknown"

Reproducible with: 2019.4.11f1, 2020.1.6f1, 2020.2.0b4
Could not test with 2019.3.0a1 because of errors in the XCode console (strangely something related to Metal declarations even though I was using OpenGL)

Devices tested:
Simulator:
Reproducible with:
Pad Pro 11 inch 2nd gen
iPad Pro 12.9 inch 4th gen
iPhone SE 2nd gen
Not reproducible with:
iPad 7th gen
iPad Air 3rd gen
iPhone 8
iPhone 8 plus
iPhone 11
iPhone 11 Pro
iPhone 11 Pro Max
Non-Simulator:
Not reproducible with:
iPad Pro 12.9 1st gen (iOS 13.4.1)
iPhone 5C (iOS 10.3.3)

Note: Bug should be reproducible on real device counterparts

  1. Response avatar

    Resolution Note (fix version 2020.2):

    Fixed in 2021.1.0a1.495

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.