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 JeevanjotSingh · Jun 22, 2015 at 09:40 PM · unity 5uierrorcanvasmissingreferenceexception

Canvas Problem

Hello, I got a problem with my canvases , When i just turn off unity for some minutes and then again turned it on and i was shocked that my canvases are gone and i got some error , i created those Ui for my game in 24 hours and it was liked washed up or something , can anybody please help me how do i recover them, i got some errors and the scripts in the ui are missing . all ui scripts are missing . Here are the pics of errors(both errors those are out of line are also covered in the pictures so you can fully check them) and script missing .

alt text

alt text

upload-1.jpg (297.2 kB)
upload-2.jpg (336.1 kB)
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 meat5000 ♦ · Jul 01, 2015 at 09:40 PM 0
Share

WARNING: THE ACCEPTED ANSWER CONTAINED HEREIN IS UNSTABLE AND SHOULD NOT BE ATTE$$anonymous$$PTED UNLESS YOU ARE CERTAIN THE UI.dll FILES ARE BRO$$anonymous$$EN. Please file a bug report.

avatar image alexandre-fiset · Jul 01, 2015 at 10:04 PM 0
Share

Bug report is already filed with 164 votes (ID 668043) and the provided answer is unfortunately the only way to fix the issue. It is a serious bug that breaks the whole UI system and without the workaround, there is no alternate ways of fixing it except reinstalling Unity and deleting all library files, which causes a reimport of all assets, which is bad on big projects.

1 Reply

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

Answer by alexandre-fiset · Jun 22, 2015 at 09:53 PM

This is a (really annoying) bug with the Ui system which can be fixed with the following method (taken from this forum thread):

  1. Quit Unity

  2. Move UnityEngine.UI.dll and UnityEditor.UI.dll to your desktop - ( These are located at C:/Program Files/Unity/Editor/Data/UnityExtensions/Unity/GUISystem, there error will tell you where as well )

  3. Relaunch Unity - Don't have to open up a project I don't think, if you're using Unity 5, just as long as the Launcher opens up should be fine *it crashed anyway when I tried to load my project )

  4. Quit Unity

  5. Move UnityEngine.UI.dll and UnityEditor.UI.dll back to their original location

  6. Relaunch Unity

Comment
Add comment · Show 5 · 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 JeevanjotSingh · Jun 23, 2015 at 08:07 AM 0
Share

Thanks your solution works ,the layout is default now but that's ok , thanks . The gui is there but there are still two errors . That's ok i can remove them

alt text

Every time i open my main menu scene i got unity crash and a window send them about this crash.

unityupload.jpg (283.8 kB)
avatar image JeevanjotSingh · Jun 23, 2015 at 08:24 AM 0
Share

Do you think that unity 5.1.1 has fixed this .

avatar image alexandre-fiset · Jun 28, 2015 at 09:34 PM 0
Share

No. Just happened to me in 5.1.1f1

avatar image Databases · Jul 01, 2015 at 09:35 PM 0
Share

WARNING: To anyone reads this, if you don't have the issue, please don't touch the two files as this will cause the issue to start happening.

Read here

avatar image BrandonD · Jan 30, 2016 at 03:38 PM 0
Share

@alexandre.fiset I am having this problem but UnityEditor.UI.dll is not in that folder for me. UnityEngine.UI.dll is. Should I still try this? Should I reinstall Unity? Thanks for any help!

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

25 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 avatar image avatar image

Related Questions

Only Rotate UI HUD on orientation change. 0 Answers

2d image does not scale/stretch correctly 2 Answers

Get position of ui element on canvas 1 Answer

Play MP4 on UI? (Unity 3D 2018.2) 0 Answers

yield WaitForSeconds(1) ends with this error:ArgumentException: method return type is incompatible 2 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