Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Question Unity 2021.3.3f1 crashes on start after switching platforms fails at "Find Available Build Targets"

Discussion in 'Editor & General Support' started by BeeSmart, Jul 13, 2022.

  1. BeeSmart

    BeeSmart

    Joined:
    Dec 6, 2013
    Posts:
    22
    Windows 10 Unity 2021.3.3f1 Hub 3.20

    The project did load and played fine while in the editor when the iOS platform was selected. After switching to the Android platform I received about 10 build errors, which I thought were related to packages being outdated and possibly needing to close and reopen the project. Now the project will not load at all and crashes at "Finding Available Build Targets."

    Please help, I have been stuck at this spot for a while and cannot seem to find a resolution. I attempted to select the iOS platform in the hub and open the project but it still fails at the same spot.

    Thank you in advance.
     
  2. dkman123

    dkman123

    Joined:
    Sep 8, 2022
    Posts:
    1
    In your project folder there is a Library folder. Rename the ArtifactDB and SourceAssetDB files (and their *-lock files). I put "old" in front of the name. Then open your project. It will rebuild the database files and you should be good to go.

    If not, you've got the old files to continue debugging.