Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
2
Question by Nievinski · Dec 20, 2013 at 04:51 PM · internal compiler error

How to solve "Internal compiler error."?

Hi, Since this weekend I'm getting this internal compiler error. I try change some code, sometimes I only add a whitespace in the code, then when Unity refreshes it works, but sometimes it doesn't work and I try to delete some temporary files and etc. I've already tried:

1 - Remove Temporary files. 2 - Remove Library files. 3 - Reimport all the project from the repository. 4 - Copy the project to another folder. 5 - Disable the svn. 6 - Sync project with monodeveloper.

I'm working with a team and I'm the only one having this problem and it's definitely not a code error.

The error is shown below.

obs: Assembly-CSharp-firstpass.dll.mdb is shown when I start unity, if a get the things to work again, then after modify some scripts and unity recompiles them, I get an error refering to Assembly-CSharp.dll.mdb.

Can anyone please help me? I'm begging :(

Internal compiler error. See the console log for more information. output was: Unhandled Exception: System.UnauthorizedAccessException: Access to the path "F:\Workspace\UnityProjects\hackSlashCloudForge\trunk\Temp\Assembly-CSharp-firstpass.dll.mdb" is denied.

at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in :0

at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean isAsync, Boolean anonymous) [0x00000] in :0

at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access) [0x00000] in :0

at Mono.CompilerServices.SymbolWriter.MonoSymbolWriter.WriteSymbolFile (Guid guid) [0x00000] in :0

at Mono.CSharp.SymbolWriter+SymbolWriterImpl.WriteSymbolFile () [0x00000] in :0

at Mono.CSharp.SymbolWriter.WriteSymbolFile () [0x00000] in :0

at Mono.CSharp.CodeGen.Save (System.String name, Boolean saveDebugInfo, Mono.CSharp.Report Report) [0x00000] in :0

at Mono.CSharp.Driver.Compile () [0x00000] in :0

at Mono.CSharp.Driver.Main (System.String[] args) [0x00000] in :0

Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image T27M · Dec 20, 2013 at 07:21 PM 0
Share

This may or may not work, but I've been having some issues with $$anonymous$$onodevelop and the Assembly-CSharp-firstpass when I first run the program it always fails to load. In the solution window within monodevelop you can right click the assembly and reload it. Also make sure you are running with ad$$anonymous$$istrator privileges.

avatar image ooblii · Dec 20, 2013 at 10:18 PM 0
Share

I've been using Unity for almost a year and I just started getting this error for the for the first time today.

3 Replies

· Add your reply
  • Sort: 
avatar image
3

Answer by Nievinski · Dec 20, 2013 at 10:18 PM

Finally I solved my problem. I searched for many different topics but this is the one who saved me. http://answers.unity3d.com/questions/491473/internal-compiler-error-8.html

It was the antivirus blocking the access. Deactivating the antivirus solved my problem.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Eagle_Ghost · Jun 06, 2014 at 02:20 PM 0
Share

Hi, I am getting the same error right now. "Internal Compiler Error, access to path.... is denied." I understand it may be my anti virus but i'm a bit uncertain as to what action to take. Obviously I don't want to turn off my anti virus completely, and I don't want to keep having to turn it off and on every time I create a new unity project. Is there a easier to way to void Unity in my anti virus? I am using $$anonymous$$cAfee.

avatar image
2

Answer by radsimu · Sep 10, 2015 at 06:27 PM

This also happens to me when my Unity project sits in a Dropbox folder. If Dropbox syncs at the same time with some stuff that Unity is doing, this error appears. I restart unity and it work ok. It happens only sometimes.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by gm2008 · Aug 26, 2014 at 04:33 PM

I encountered same problem. It was caused by my Comodo software's Sandbox function. Instead of turning the function off, I looked into the detailed configurations and moved the relevant "Sandboxed Files" and "Uncategrized Files" to "Trusted Files", then it worked.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

23 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Internal Compiler Error (VS 2013 Professional) 0 Answers

Internal compiler error 0 Answers

Build issue with Gradle and Internal for Advertisement...!! 1 Answer

Access to the path "...Temp\Assembly-CSharp-firstpass.dll.mdb" is denied? 4 Answers

Internal Compiler Error 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges