Search Unity

Constant Internal Compiler Errors

Discussion in 'Editor & General Support' started by S3dition, May 30, 2014.

  1. S3dition

    S3dition

    Joined:
    Jan 6, 2013
    Posts:
    252
    Prior to 4.5, I've never seen these errors. Immediately after upgrading, I started experiencing them about every 10th time I save a script. I can reload Unity and everything works fine for a few more saves, then the error is back and I have to restart Unity.

    So far it hasn't broken anything, but it's really annoying.

    On request, here is the error:



    EDIT: More than likely it's Google Drive locking the file for update when the compile occurs. Odd that it never did this before 4.5 though.
     
    Last edited: Jun 8, 2014
  2. Dustin-Horne

    Dustin-Horne

    Joined:
    Apr 4, 2013
    Posts:
    4,568
    Can you show us the errors?
     
  3. S3dition

    S3dition

    Joined:
    Jan 6, 2013
    Posts:
    252
    I'll load it the next time it happens. Actually just happened 30 seconds before I typed this.

    Fair warning though - I'm not going to get into a debate over my code. It runs fine 99% of the time and so does the game.
    I'm doing this to help Unity track a potential bug in 4.5.
     
  4. S3dition

    S3dition

    Joined:
    Jan 6, 2013
    Posts:
    252
    Updated with error message.
     
  5. thinkofwhy

    thinkofwhy

    Joined:
    Jun 6, 2014
    Posts:
    3
    Had the same issue and it was solved by commenting out some try catch statements that I had just implemented. Don't know why they caused it yet.
     
  6. JoeysLucky22

    JoeysLucky22

    Joined:
    May 11, 2013
    Posts:
    15
    I'm also running into this very annoying issue. I highly suspect that it is Google Drive syncing a .dll file while unity tries to access it.

    Switching too quickly from MonoDevelop to unity throws out this error for me:
    The only way to fix it is to close unity and start it up again.

    Anyone else with this issue find a way around it?

    Edit: The current workaround is to just "Pause" your google drive while working and "Resume" when you're done for the day.
     
    Last edited: Nov 16, 2014
  7. drewradley

    drewradley

    Joined:
    Sep 22, 2010
    Posts:
    3,063
  8. JoeysLucky22

    JoeysLucky22

    Joined:
    May 11, 2013
    Posts:
    15
    I use MSE and turning off my anti-virus isn't really the best option.

    I hope this gets resolved soon or someone finds another way around it.
     
    Last edited: Nov 16, 2014