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 3Dgal · Mar 28, 2011 at 09:30 PM · mononot-working

failed to load mono dll error after game is build

Hi everyone, I have a big problem. I created my first game in Unity 3.2, and did the file/build settings to build it. Then I burned the exe and the data file directory onto a CD. My developer's machine is using Windows Vista. Right after I burned the CD, I tested the game and it ran without a problem. The menu came up, all the menu buttons work, and the game starts and quits.

I took it over to test it on a Windows XP machine, and everything works. The game works if I run it from the CD (it's a bit slow), or if I copy all the files to a new directory and run it from there.

This morning, I took the same CD and put it back on the developer's machine, and when I try to run it, I get a blue screen. The game window was completely blue color, none of the graphics show, and none of the menu buttons show.

A friend of mine suggested that I try running the CD as "administrator" instead of "user". When I logged back into the developer's machine as "administrator", and put in the CD, not only the CD would NOT run, but when I click on properties on the drive, it tells me that the CD is 0 bytes! Windows Explorer shows no files exist on the CD !

Then I log back into my developer's machine as "user", and this time, instead of the blue game window screen, it doesn't run at all. When I try to copy files to a new directory, Windows Explorer tells me that there's no files on the CD!

I then take the same CD back to the XP machine, and once again, everything works!

Has anyone come across this and how do you fix this ???

Comment
Add comment
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

4 Replies

· Add your reply
  • Sort: 
avatar image
3

Answer by Xonatron · Dec 09, 2017 at 08:39 PM

I discovered another cause of this problem and solution. If your game is zipped and you extract it to a folder that is too long -- but still unzips fine -- this error can pop up. I believe it's due to the game accessing the data folder and mono.dll within its sub-folders... and somehow this access cannot be too deep in the directory structure. Move the game to a less long folder and it will work -- IF this was your problem in the first place.

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
2

Answer by Gabriel 1 · Aug 13, 2011 at 07:19 PM

This sounds exactly like the issue I just helped someone resolve on their stand alone build. They forgot to include the _data directory with their build. Since all of the external DLL's are in that directory the error makes perfect sense.

Make sure you've include the everything int he build directory, not just the exe.

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 3Dgal · Mar 30, 2011 at 01:47 AM

I finally copied the files over to a Windows XP machine, and used Deepburner to burn the CD. The game now works!

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 alienwoods · Jun 30, 2013 at 09:58 AM

Hi,

I had the same problem u have to re install the C:/Program Files (x86)/Unity/* folder, because more files are missing, not just the file in the error.

Keeping an already installed unity in a zip can also saves time to fix this problem.

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

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

mono: failed to load dll 1 Answer

Will installing a newer mono version break Unity's mono installation ? (OSX) 2 Answers

Where is the Mono C# compiler for Unity iPhone? 1 Answer

Standalone windows build giving mono: dll not found error 2 Answers

mono develop 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