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 Angelorf · Apr 03, 2015 at 04:43 PM · guiprojectdllwindows-7missing script

UI components have missing scripts

In my current project, when I add a UI object (e.g. by GameObject > UI > EventSystem) it gets initialized without scripts.

I therefore get errors which say "The referenced script on this Behaviour is missing!", but I cannot select them because they are not in my Assets folder.

The problem doesn't occur when I start a new project, which leads me to believe something went wrong when I cloned the current project from a repository.

I've got the idea the problem has to do with locating UnityEngine.UI.dll, but how can I tell the Unity project where to look for it?


  • version: Unity 5.0

  • OS: Windows 7

Comment
Add comment · Show 1
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 AdbC99 · Jul 27, 2015 at 10:49 AM 0
Share

Thanks for finding the workaround guys, I still have the same problem on unity 5.1.2f with only one version of Unity3d installed, it's driving me nuts losing my UI every couple of loads. The project is 8GB so sending a bug report to Unity is one long upload. Hoping some unity devs out there are reading this and have an idea when it might be fixed

5 Replies

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

Answer by Angelorf · Apr 03, 2015 at 05:22 PM

Deleting the Library folder did the trick!

Thanks to the forum post "UnityEngine.UI.dll is in timestamps but is not known in assetdatabase"

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 UNZoOM · Apr 03, 2015 at 04:55 PM

  • Click on gear icon and remove component.

  • Inspector -> Click on Add Component Button -> Type in Standalone and select the Standalone Input Module. Do similary with other missing scripts.

  • So , instead of trying to find the scripts , just add the Module as a whole.

  • In case you cannot see which components are missing :

Standalone Input Module
Touch Input Module
Event System

Comment
Add comment · Show 2 · 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 Angelorf · Apr 03, 2015 at 05:02 PM 0
Share

It cannot find 'Standalone Input $$anonymous$$odule' or the others...

avatar image UNZoOM · Apr 03, 2015 at 05:22 PM 1
Share

https://bitbucket.org/Unity-Technologies/ui

avatar image
1

Answer by Helical · Jun 07, 2015 at 01:14 PM

We had an issue with a couple of people in our company, I believe its caused by having multiple instances of Unity installed somehow, those of us who only have one Unity installed (because each instalation we override the previous) never had that issue. and when one of us had the problem uninstalling an unused version of unity fixed the 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
avatar image
0

Answer by UnitedBluff · Apr 17, 2016 at 10:37 PM

I don't have an answer for this, and I couldn't find a solution. It happened 3 times, for no apparent reason, with medium sized scenes, and boy, was it a nightmare to string everything together again. I realized what catastrophe it would be if it happened in a huge game with 10-20 levels..imagine a game you've been working on for 2 years day and night..it would take you at least months to fix. Anyway, I realized that I can't use trust the editor anymore, so I simply set everything up in code. Not the best "solution" but what else to do ?

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 moleary45 · Jul 29, 2016 at 12:32 PM

My particular case of UI components missing script references only occurred in Xcode (not Unity editor) and involved the use of Asset Bundle Variants.

I found that Unity-authored scripts (e.g. Canvas, Canvas Scaler, Graphic Raycaster, Image) that are not used in the bootstrap scene cannot be loaded in the variant scene when running on iOS via xCode. You get a "The referenced script on this Behaviour is missing!". There is also a corresponding message that does indicate the Unity Game Object whose Unity-authored script cannot be loaded, but I'm documenting this after I found a resolution and don't recall the message. I encountered this scenario for GUI components: Canvas, Panel, Image, EventSystem.

To resolve this, I created a dummy GUI component in the bootstrap scene for each GUI component that I use in the variant scene and made them non-visible by settings their sizes to 0. It's interesting that Unity has no issue loading scripts I author in the variant scene which are not present in the bootstrap scene, but somehow can't do this for its own scripts.

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

24 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

Related Questions

Gui logic problem 1 Answer

UnityEngine.dll outside Unity 0 Answers

DLL placement 1 Answer

Is that a resolution-related issue? 1 Answer

Java code not working. LOST PROJECT 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