Unity-Technologies / uaal-example

Other
733 stars 233 forks source link

[Bug][IN-18281] Not work with iOS16 #73

Closed Phantomxm2021 closed 1 year ago

Phantomxm2021 commented 1 year ago
image
hervenivon commented 1 year ago

We are facing the same issue.

It only happens when the device is connected to Xcode 14, and the device is iOS16. The app runs smoothly when not connected to Xcode or when the iOS version is iOS15.

[Edit, note: this log also appears when connected device is running iOS15] In addition, we also have the following message in the logs: warning: UnityFramework was compiled with optimization - stepping may behave oddly; variables may not be available.

ROBYER1 commented 1 year ago

Is it just the debugging/console in Xcode that doesn't work?

hervenivon commented 1 year ago

With this example, it is impossible to launch the app on iOS 16 if it is connected to Xcode. If not connected to Xcode, it works.

  1. Connect your device to the mac with a cable
  2. Build in Xcode and deploy to your iOS 16 device
  3. You can't continue and see the above error
  4. Unplug the cable
  5. Relaunch the app just deployed from Xcode
  6. The app works

The issue is you can't debug you app if the device is on iOS 16.

Phantomxm2021 commented 1 year ago

Is it just the debugging/console in Xcode that doesn't work?

NO, some unity features can not working~ e.g. ARFoundation will be black screen (Work in iOS15)

Phantomxm2021 commented 1 year ago

With this example, it is impossible to launch the app on iOS 16 if it is connected to Xcode. If not connected to Xcode, it works.

  1. Connect your device to the mac with a cable
  2. Build in Xcode and deploy to your iOS 16 device
  3. You can't continue and see the above error
  4. Unplug the cable
  5. Relaunch the app just deployed from Xcode
  6. The app works

The issue is you can't debug you app if the device is on iOS 16.

Yes, I do it. But some unity features can not working. e.g. ARFoundation will be black screen (Work in iOS15)

Phantomxm2021 commented 1 year ago

THE Bug case Id: IN-18281

hervenivon commented 1 year ago

IN-18281 reference on Unity forum: https://forum.unity.com/threads/in-18281-uaal-not-work-on-ios16.1343546/

The issue is closed. What do we need to do to make it work?

adam-cove commented 1 year ago

For anyone still struggling, the workaround is disabling the Thread Performance Checker in your scheme > run > diagnostics (screenshot below)

image