# Trouble Shooting (Flutter Integration)

## App Crashes (\~AutoLock)

<figure><img src="https://774145129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2YWEOtruEiKmcmCTpBsb%2Fuploads%2FFl0ETFBR6B82bCO99s4z%2Fimage.png?alt=media&#x26;token=eac8ab7b-53a8-4d22-a983-50b4ba34f4c1" alt=""><figcaption><p>App Crashes at ~AutoLock</p></figcaption></figure>

1. In your Xcode project, open <mark style="color:purple;">`Product > Scheme > Edit Scheme`</mark>

<figure><img src="https://774145129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2YWEOtruEiKmcmCTpBsb%2Fuploads%2Fu4yuymCyOfWKT6nfRasY%2Fimage.png?alt=media&#x26;token=73c29c9e-04c2-407d-9968-1884356ea231" alt=""><figcaption></figcaption></figure>

2. In Tab <mark style="color:purple;">`Run > Diagnostics`</mark>, disable <mark style="color:purple;">`Thread Performance Checker`</mark>

<figure><img src="https://774145129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2YWEOtruEiKmcmCTpBsb%2Fuploads%2FeFHUny2eXqNmZMrDYmyK%2FScreenshot%202023-04-21%20at%207.27.34%20PM.png?alt=media&#x26;token=e269e7e9-02d3-4729-bceb-b0e06eb453c0" alt=""><figcaption></figcaption></figure>

3. You can find more details about this issue below.

{% embed url="<https://github.com/juicycleff/flutter-unity-view-widget/issues/703>" %}

### Undefined symbols

<figure><img src="https://774145129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2YWEOtruEiKmcmCTpBsb%2Fuploads%2F2Q1RuUQwggYMRnqa6n1e%2FPasted%20Graphic.png?alt=media&#x26;token=12ff19b5-c975-416c-8ebb-cca86dabac1a" alt=""><figcaption></figcaption></figure>

1. This is the issue when <mark style="color:purple;">`NativeCallProxy`</mark> in Unity project, is not referencing the right metadata

   <figure><img src="https://774145129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2YWEOtruEiKmcmCTpBsb%2Fuploads%2FuZcmLmUlnD3ZGoHPjjvP%2Fimage.png?alt=media&#x26;token=644c7fe8-4c08-44ee-b48f-059ebf933cfb" alt=""><figcaption></figcaption></figure>
2. To fix the issue, Restart UnityEditor and export build again.
3. You can find more details about the issue below.

{% embed url="<https://github.com/juicycleff/flutter-unity-view-widget/issues/221>" %}
