Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 /
  • Help Room /
avatar image
0
Question by Sulemanalimalik · Jan 16, 2019 at 11:09 AM · unity 5

Autocomplete does not work in MonoDevelop

I don't know what happened but the autocomplete does not work in MonoDevelop, and i can't declare or create the GameObject variable in my scripts.

I tried closing and opening the project, I restarted my PC but it didn't work.

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 pako · Jan 14, 2019 at 07:19 PM 0
Share

Sometimes this happens to me when the project hasn't compiled properly, and UnityEngine library is not found, so any objects in this library are not found. I have not yet pin-pointed 100% the exact cause, or a full-proof method to fix it. By observation I noticed that many times when I create a new script in the Unity editor, this triggers a project recompile (revolving widget in the bottom right). If during this recompile (i.e. before the recompile finishes) I switch to VS in a hurry to add code to the new script no UnityEngine objects are found.

I've fixed it either by adding a new line in a script and then returning to Unity, which forces a recompile, or by adding a new script in the Editor, and then wait for the recompile to finish before switching to VS.

Deleting the Library folder should also work, but I thing that might take much longer to complete.

avatar image Sulemanalimalik pako · Jan 15, 2019 at 10:18 PM 0
Share

tried deleting the library folder but didn't work out so just installed VS

3 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by xxmariofer · Jan 13, 2019 at 12:51 PM

Give us some extra information please, have you tryed the openc#project button? if yes i would suggest removing temporary (like library solution etc... make a backup if its the first time you erase them in case you erase some important folder) files from the project and restart it. If problem continues create a GameObject myObject var and tell us whats visual studio is telling you.

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 Sulemanalimalik · Jan 13, 2019 at 03:19 PM 0
Share

actually the Autoprediction or autocompletion is not working that's what i found out and i tried to search as much as i can and implemented the given solution but nothing seems to be working to solve this issue

avatar image
0

Answer by sh_code · Jan 13, 2019 at 08:54 PM

This sounds like issue with your IDE, not unity. If you're using visual studio, try to reinstall it. I remember it breaking in this way for me some time ago, reinstall solved it.

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 Sulemanalimalik · Jan 14, 2019 at 06:14 PM 0
Share

yes this is the issue with the monodevelop but i'm unable to solve it

avatar image
0

Answer by UnverOnal · Jan 16, 2019 at 12:09 AM

Check if other types that derived from "Monobehaviour" they are working. If they are not working , then i think your script may be out of the project . Try add your script to project which contains your other scripts(if they are exist) under the solution explorer.

This issue could take place in VS as well.

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

190 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 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 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 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 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 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 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 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

How can I compare different GameObjects located on differents Asset Bundles? 0 Answers

Unity 5.6 JSON Bug 2 Answers

Skip OnTriggerEnter isn't working at all 1 Answer

WINDOWS APP STORE crashed when building a Universal 10 app 0 Answers

Move 2 objects as one 0 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