I recently downloaded Unity 4.3, which comes with MonoDevelop 4.0.1. The first thing I’ve noticed is that while it gives more complete contextual hints for the C# language, all code completion as far as Unity-specific objects is gone! That is, the IDE doesn’t seem to see any scripts or Unity classes.
Has anyone seen this behavior too? Any ideas on how to fix this? Btw, I did not install in a different location other than the vanilla standard location the Unity installer chose.
In my case, I didn't have to restart. But I did have in Preferences still the previous MonoDevelop temp files. Basically, I erased everything MonoDevelop (2.x and 4.x) and the Unity folder. Then I reinstalled Unity 4.3 and it works now.
I tried this and it partially worked. The code completion works for a few unity types, like GameObject, but it does not work for any methods or properties of those types.
I had the same problem. Is it possible that you have another version of monodevelop installed? This happened to me because I am also using Xamarin, and that was the version of monodevelop that was being opened. After I noticed that I went to the Unity folder, I opened monodevelop directly from there and then select as solution the current proyect I was using in Unity.
I´m on Mac too.
I didn't have an old version of Mono still installed per se, however I did have the old preferences.
It’s sufficient to move the MonoDevelop.app executable from the MonoDevelop folder one level up…then everything works as it should (and survives Unity restart).
^ This ^ This was all I had to do on my Mac to get code completion working.
I found the same solution. Looked into the previous version and MonoDevelop is not in a subfolder, this seems to make it so you can't have multiple installation or versions of Unity or a separate MonoDevelop installation and have it work. Moving it one level up as it's in all other Unity versions solved the problem.
Just do it: going to the Unity preferences > External tools > External Script Editor and select the current MonoDevelop manually (Programms/Unity/MonoDevelop). and open one file before.
I followed all these steps and then some. It didn’t seem to help. What finally worked for me was I noticed that the solution that was loaded was from a previous project. I manually loaded the solution for the current project and all my code hinting came back. Now why was it looking at a previous project I have no clue.
The best solution so far, and I think is the right one, is to change Unity preferences > External tools > External Script Editor from the Monodevelop (built-in) to Browser, and select at the Unity folder the installed MonoDevelop manually (Programs/Unity/MonoDevelop/MonoDevelop in Windows and Applications/Unity/MonoDevelop/MonoDevelop on Mac).
This worked for me! Thank you :)
– badgerbrattThank you very much...it worked for me
– eyebyeWorked for me too! Thanks!!
– KivakThis solved my autocomplete problem, Thanks!
– LucanioWorks for me
– kbarber