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 lucasassislar · Dec 04, 2013 at 09:22 PM · editoraccess

A heap has been corrupted

So, our team is working with Unity, I'm using Unity3D Pro, and I've come to this problem. Constantly Unity would crash with Access Violation, but then I'd just ignore and migrate the project.

Now, our project doesn't open. It crashes Unity right on start with an "Access Violation". This was the 3rd time it ocurred. I did my steps to fixing it, but now the damage is deeper. I renamed our project folder, so Unity won't found our project and just ask to open another one... but now it doesn't, it bugs before that, with a:

"Unhandled exception at 0x77A62FD8 (ntdll.dll) in Unity.exe: 0xC0000374: A heap has been corrupted (parameters: 0x77A7D350)." I could only see this message while debugging Unity on Visual Studio.

If I rename back the project Unity still trie sto open and fail. The way it's now, Unity still tries to compile scripts, even without knowing where the project is.

Our team has loved Unity, but the constant bugs have been really pushing us back.

EDIT: I have already uninstalled Unity with Revo Uninstaller, cleaned everything it left behind, every file, everything, and installed again (newest version, 4.3.1. The Access Violation is pushing me back since 4.1, the first time I donwloaded Unity).

Lucas Assis

Comment
Add comment · Show 18
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 CHPedersen · Dec 04, 2013 at 09:26 PM 0
Share

Ouch, that sounds really serious. O_O The only time I've had Access Violations from Unity is when trying to run an app built by it on a machine with only a standard VGA driver installed. I.e. it was failing because the video driver didn't fully support the API calls required to run the app. Perhaps something similar is happening with your editor? The editor is itself a 3D app after all.

avatar image lucasassislar · Dec 04, 2013 at 09:45 PM 0
Share

I read about that too, about some guys with Nvidia Optimus and running on their Intel GPU ins$$anonymous$$d of the Nvidia one. Fact is, I'm on a desktop, with an Intel i7 3770 and a GTX 660 Ti with latest drivers for everything. I've worked with the editor 500+ hours, but now I just can't keep on going =/.

avatar image CHPedersen · Dec 04, 2013 at 10:04 PM 2
Share

Damn. Really sorry to hear that. Here're a couple of things you can try:

When the editor crashes on me (which actually happens fairly often) it's because of corruption in the files in its Library folder. Our project is fully versioned with SVN using meta-files, so all the same information is in those meta-files as in the Library. So whenever it crashes and I can't get it back on its feet, I just delete the entire Library folder and reload the project. Unity then detects the missing Library folder and regenerates it based on the meta-files. If your project is versioned with meta-files like this too, you can try that approach. If not, deleting the Library folder will unhook everything in the scenes. Prefabs will lose all attached scripts, materials will beco$$anonymous$$g missing from GameObjects, etc. But perhaps even this catastrophy is preferable to scrapping the project altogether. >_<

Alternatively, the cause of editor crashes is also sometimes related to the Asset importer failing to import some asset(s). The editor has a log file it writes events to. Go here to see where to find it. After a crash, study this log-file carefully. It might reveal which asset it's failing to import. Delete the culprit if you get lucky and find out.

Failing all of these, I think you gotta shoot this one at Unity Technologies ins$$anonymous$$d of this Q&A site. I don't see the user community doing much to help its root cause.

avatar image ThePunisher · Dec 04, 2013 at 10:12 PM 1
Share

Sounds to me like you guys aren't using meta files or version control and are incorrectly transferring project files. What is your workflow/process for making and submitting changes to the project? How does another $$anonymous$$m member get your changes?

I say this because the only times I've run into issues of this magnitude is when $$anonymous$$m members tried to do some sort of file management outside of Unity's Intended process (ie. using meta files and/or importing/exporting packages).

avatar image alienbaby · Dec 04, 2013 at 10:20 PM 0
Share

Any opportunity to restore from a backup?

Show more comments

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by lucasassislar · Dec 05, 2013 at 05:49 PM

Jamora, that did the trick! I was able to open the project wizard and choose another project to open. Now I can start migrating my source from my project to another project ^^. Anyway, I'd be happy to know why the Access Violations happen, but for now I'm happy I can keep on workig. Thank you all for your responses =)

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

20 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

Related Questions

Getting the Tag Array 2 Answers

How can Internal variable get accessed from Editor script? 1 Answer

Webplayer: Why can't we call private member function from a constructor? 0 Answers

End user error -- mono.dll caused an Access Violation 0 Answers

Reading Editor.log in the Editor (programmatically)? 4 Answers


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