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
0
Question by jtuttlecraw · Jul 21, 2013 at 03:30 PM · internal compiler error

Internal Compiler Error with no output

Unity has recently started giving me an internal compiler error with no output, like so:

 Internal compiler error. See the console log for more information. output was:

It is the ONLY message in my Console window, no other warnings/errors. Normally I can resolve these by restarting Unity but this one is persistent. The project compiles fine in Visual Studio and in MonoDevelop. As suggested in other posts, I've tried reimporting all my assets and deleting the obj/Library folders then restarting Unity to rebuild the project. No luck.

I've also noticed that if I do something to cause a yellow warning, the internal compiler error will take on the error message of that warning, which is weird because warnings don't usually cause errors. Might be a clue?

Is my project just borked? This is driving me nuts, any help is greatly appreciated. Thanks.

Comment
Add comment · Show 7
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 Benproductions1 · Jul 21, 2013 at 11:20 PM 0
Share

Can you post the relevant parts in the console log?

Also if this is a bug, you should post a bug report, not ask a question :)

avatar image jtuttlecraw · Jul 22, 2013 at 02:21 AM 0
Share

That's all I've got in the console log, nothing more. Part of the reason this is so frustrating. $$anonymous$$aybe it is a bug but I was hoping someone might know what's up if not.

avatar image Benproductions1 · Jul 22, 2013 at 02:54 AM 0
Share

"See the consoleee log for more information" refers to the console log in the Unity directory. Not the one in the unity editor

avatar image jtuttlecraw · Jul 22, 2013 at 04:31 AM 0
Share

Oooh that's good to know, thank you. Everything looks normal besides this:

 -----CompilerOutput:-stdout--exitcode: -1073741819--compilationhadfailure: True--outfile: Temp/Assembly-CSharp.dll
 
 * Assertion at ..\mono\metadata\class.c:1727, condition `class->image->dynamic || field->offset > 0' not met

Still not sure what it means. Any idea?

avatar image jtuttlecraw · Jul 22, 2013 at 04:37 AM 0
Share

Aha! I've fixed it. I had a struct that mono didn't like...changed it to a class and everything's working great now. Thanks for the tip on the log, it let me to the right place. :)

Show more comments

3 Replies

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by Benproductions1 · Jul 22, 2013 at 05:26 AM

Hello,

You should take a look at the Unity Editor log, not the debug console.

Hope it helps,
Benproductions1

PS: like that? :P

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 jtuttlecraw · Jul 22, 2013 at 12:31 PM 0
Share

You bet! Thanks again. :)

avatar image
1

Answer by jtuttlecraw · Jul 22, 2013 at 04:41 AM

Had to check the editor log for the (somewhat cryptic) error then I was able to figure out that mono didn't like one of the structs I had created. Changed it to a class and everything works again.

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
1

Answer by Zenix · Jan 24, 2014 at 03:19 AM

For future reference, we had this issue when we were using a nullable generic struct.

eg. MyStruct<object>? something;

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

17 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

Related Questions

Internal Compiler Error :( 0 Answers

failed to load package manager UnityEditor.OnGui() , AssemblyHelper failed ,ModuleManager failed 0 Answers

Cryptic Internal Compiler Error 0 Answers

Error on MacOS with project containing symlinks 1 Answer

Internal: JobTempAlloc has allocations that are more than 4 frames old - this is not allowed and likely a leak 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