Search Issue Tracker

Fixed in 2021.2.X

Fixed in 2020.3.X, 2021.1.X

Votes

25

Found in

2020.3

2021.1

2021.1.0b10

2021.2

Issue ID

1321153

Regression

No

[iOS] Player crashing when connecting external Display via USB-C port

Mobile Graphics

-

Reproduction steps:
1. Open the project in "bug.zip"
2. Build for iOS
3. Connect an external display to the device using a USB-C port
4. Wait for the view to show up in the external monitor
5. Move around in the game using to fingers

Expected result: Nothing significant related to memory happens
Actual result: Memory will increase very fast and the application will crash

Reproducible with: 10.5.0 (2020.3.9f1) 11.0.0 (2021.1.8f1) 12.0.0 (2021.2.0a18)
Not reproducible with: 4.10.0 (2018.4.35f1), 7.6.0 (2019.4.27f1)

Devices reproducible with:
iPad Air4 (iOS 14.0)
Devices not reproducible with:
iPad Pro 12.9 1st gen (iOS 13.4.1)

Notes:
1. The project uses URP, I am not sure if it is related to the memory problem
2. The issue only occurs when using USB-C connection
3. The customer provided testing results using different devices (clearly visible that issue is present with USB-C port only)

  1. Response avatar

    Resolution Note (fix version 2021.2):

    Fixed in 2022.1.0a4

  2. Response avatar

    Resolution Note (fix version 2021.2):

    Fixed in 2021.2.0b6

  3. Response avatar

    Resolution Note (fix version 2021.1):

    Fixed in 2021.1.18f1

  4. Response avatar

    Resolution Note (fix version 2020.3):

    Fixed in 2020.3.17f1

Comments (5)

  1. Bbbcaee826c00752aeb828459099f426?d=mm

    Guache_art

    Aug 17, 2021 15:51

    Any updates?
    Please help us!
    @guache_art

  2. D645cc63f6600c740a3c3f6d10ee8cbd?d=mm

    Andy-StudioBuzzword

    Jul 09, 2021 13:06

    After seeing this issue with our project I have managed to make a build in 2021.1.13f1 which successfully connects to an external monitor without the Metal allocation causing the app to crash.

    The changes I made to the projects settings were:

    - Set Active Input Handling to: Input System Package (new) and ensure all Event System objects are using the new module
    - Check 'Metal Write-Only Backbuffer'
    - Set Memoryless Depth to 'Automatic'

    I also ensured that no cameras were assigned to Display 2 in the editor and assigned them with code after a short pause.

    The build has been running on 5 iPads for 8 hours at a time with no issues so I'm confident this does resolve the problem.

  3. 5cc560895d572e60ca94cb1262b11e16?d=mm

    makimono79

    Jul 02, 2021 08:47

    Any updates on this issue? It is very urgent for our user community. Please help!

  4. 9e99fb09625d93964676aba8aa5f2d27?d=mm

    DasGnu

    Jun 04, 2021 11:30

    Yes please, help Unity!

    Our Tagtools desperately needs to be hooked on an external display.

    Mille Gracie,

    Josef Dorninger

  5. B82c2021d7c92397c458bf24bb60e558?d=mm

    gokhanokur

    Jun 04, 2021 10:46

    Please help us with this problem.
    Thank you
    @koffgokhan

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.