Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Discrepancy once the app is deployed on mobile.

Discussion in 'Editor & General Support' started by ZoidbergForPresident, Aug 10, 2020.

  1. ZoidbergForPresident

    ZoidbergForPresident

    Joined:
    Dec 15, 2015
    Posts:
    157
    I have a dropdown in my main menu UI which I populate with data from a scriptable object and from data on disk.

    The first time it launches I should get only one item in it and it works well in the editor.

    The thing is when I deploy to my mobile device (table), there is nothing in the dropdown.

    Why? What? And how to fix this?
     
    Last edited: Aug 10, 2020
  2. ZoidbergForPresident

    ZoidbergForPresident

    Joined:
    Dec 15, 2015
    Posts:
    157
    OK found the issue.

    In the build settings, there were two deleted scenes and only them (I had merged them into one).

    What is strange is that my main scene was still included in the build and launched with no problem apart from the missing element in the dropdown.

    Another mystery to add to the pile I guess...