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

Crash on start up WIN8 after compiling script

Discussion in 'Editor & General Support' started by JoukeSeinstra, May 9, 2014.

  1. JoukeSeinstra

    JoukeSeinstra

    Joined:
    Dec 12, 2013
    Posts:
    7
    As the title says,

    Unity keeps crashing on start up after compiling a C# script. Even after manually removing the script from the project folder.

    Since I'm also new to programming, it was the script used in the RollerBall tutorial. Apparently Unity is having troubles reading the scripts back into the project unless i completely remove it.

    Help is much appreciated, as i prefer to start and play around with Unity as opposed to UE4 due to a team project.
     
  2. CavernMan

    CavernMan

    Joined:
    May 9, 2014
    Posts:
    2
    Having the same issue, every time I compile with an error as the result, it crashes.
     
  3. JoukeSeinstra

    JoukeSeinstra

    Joined:
    Dec 12, 2013
    Posts:
    7
    Might i ask in which location you save your project files?
     
  4. CavernMan

    CavernMan

    Joined:
    May 9, 2014
    Posts:
    2
    I save them on my non-boot hard drive. I'll try moving it to my SSD (boot drive) and report back!

    EDIT: No luck, still the same issue. If I take a ";" away from my code to produce an error, it crashes. If I fix that error, it compiles fine.

    Just a question, do you press on build all, or is there another option to just build a single script?
     
    Last edited: May 9, 2014
  5. JoukeSeinstra

    JoukeSeinstra

    Joined:
    Dec 12, 2013
    Posts:
    7
    Hmm, i don't have crashes when i save my files in my documents file location. However now i receive crashes when importing the water physics assets.
    I'm not sure if that due Win8 memory leakage, or if Unity simply has problems managing assets. Either way, this is tiresome..