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. Dismiss Notice

Suddenly none of my scripts exist. [SOLVED]

Discussion in 'Editor & General Support' started by dragonfreak1000, Jun 19, 2014.

  1. dragonfreak1000

    dragonfreak1000

    Joined:
    Oct 20, 2013
    Posts:
    5
    I was working on a project... I added a script to something, them BAM- none of my scripts exist anymore. They're still there, but all of my gameobjects say "The associated script cannot be loaded" and whenever I try to re-add them, it says "Can't add component 'component_name_here' because it does not exist." What happened?!
     
  2. dragonfreak1000

    dragonfreak1000

    Joined:
    Oct 20, 2013
    Posts:
    5
    I even tried transferring everything to a new project... Nada.
     
  3. LukasO

    LukasO

    Joined:
    May 23, 2013
    Posts:
    115
    Probably a issue with your project building. Try building and running it.
     
  4. dragonfreak1000

    dragonfreak1000

    Joined:
    Oct 20, 2013
    Posts:
    5
    I built it and it said "Compiling Scripts" then just stopped building. I'm building for iOS by the way. If this won't work, then I'll just have to start all over again with a new project and manually copy+paste the code for each script and recreate the scenes :/ Also tried reimporting all assets.
     
    Last edited: Jun 19, 2014
  5. dragonfreak1000

    dragonfreak1000

    Joined:
    Oct 20, 2013
    Posts:
    5
    Ah well I just rebuilt it in another project
     
  6. LukasO

    LukasO

    Joined:
    May 23, 2013
    Posts:
    115
    Check you're console. If it's stopped building it means there's an error. Clear your console before building as well.