Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.

    Read our full announcement for more information and let us know if you have any questions.

Downladed latest beta 5, now get Compiler redirection error and cannot do anything

Discussion in '2017.2 Beta' started by CodeLiftSleep, Aug 6, 2017.

  1. CodeLiftSleep


    Jul 15, 2017
    I have this appearing on loading my project:

    Compiler redirection error: System.ArgumentOutOfRangeException
    Length cannot be less than zero.
    Parameter name: length at System.String.Substring (System.Int32 startIndex, System.Int32 length) [0x00053] in <a90417619fac49d5924050304d0280bb>:0
    at Program.GetUnityEditorDataDir () [0x00028] in <e78adca0e712493f9396b48e2b41f2ca>:0
    at Program.Compile (System.String[] args, Logger logger) [0x0002f] in <e78adca0e712493f9396b48e2b41f2ca>:0
    at Program.Main (System.String[] args) [0x0000d] in <e78adca0e712493f9396b48e2b41f2ca>:0

    WARNING: The runtime version supported by this application is unavailable.
    Using default runtime: v4.0.30319

    Anytime I try and do something it is constantly compiling scripts and downloading from cache server and basicaly freezes up and I have to close and restart to see what is happening...
    also have 999+ warnings talking about something didn't update because it's not in the assets folder...

    What is going on?? How can I remove this and go back to the last release? This is ridiculuos. Updating should not render a project unusable...where is the backwards compatibility?
    Last edited: Aug 6, 2017
  2. LeonhardP


    Unity Technologies

    Jul 4, 2016
    Hi CodeLiftSleep,
    Have you tried deleting the library folder and re-importing the project yet? It would be very helpful if you could file a bug report with the original project from before the update attached if the editor keeps freezing up. Unfortunately backwards compatibility is not supported, which is also the reason you see a big warning dialog when you try to open a project with a newer version.
  3. CodeLiftSleep


    Jul 15, 2017
    All I can say is Thank God for github....after a few hours of mesing around trying to fix it, I simply reimported the github project and it took abou 10 minutes to get back up and running.
    hippocoder likes this.