Monodevelop not opening - c#

When I double click a script monodevelop isn't opening, but I can open monodevelop separately and then load projectname.sln file and it syncs ok. I can also call external editor, but I'd like to use monodevelop for code completion. Anyone managed to get this working?
I have mono-4.0.3-gtksharp-2.12.26-win32-0.msi and
gtk-sharp-2.12.26.msi installed, and I am using
Windows 7.

Maybe, Monodevelop is not associated with Unity. Go under Edit -> Preferences -> External Tools and see if Monodevelop is selected as external script editor.

I've had a problem very similar to yours and what I did to fix this was I downloaded the needed GTK# file from the Installer in Program Files>Unity> MonoDevelop> GTKSharp.( If prompted, Delete old GTK file and Re-Install GTK.) Then enter Unity and go to Edit>Preferences>External Tools>External Script Editor and Make Sure it is set to "MonoDevelop (Built-In)". Another thing that may help (I don't know if it 100% works) is to Install the .NET from MonoDevelop's Site. Also MAKE SURE UNITY IS FULLY INSTALLED! What my first problem was , it was that the Unity download would stop downloading because in task manager(CTRL+ALT+DEL>Task Manager) The "Windows Modules Installer" was running, so you have to end this task. And all of the files ( including the MonoDevelop file folder) will be there after the installation is done. Hope This Helped!

Related

Can i "add module" to unity editor that download without unity hub?

I downloaded unity editor from unity download archive but now i need the android build support module "also known as android SDK/NDK tools" but the "add module" button missing from hub is there is anyway to fix it or if there is a way to download modules without hub Please help Unity hub 2.4.5 Unity editor 2019.2.9
first of all, android build support module in unity is totally different from SDK/NDK/JDK tools
**if you want to install the build support module using one of blew steps:
1- instead of downloading the unity Editor download the unity installer from this link(you can find all versions of unity and download the right installer), and choose the modules you need to install
2- easiest way is to open build setting in unity and choose the android from the platform section,if you don't have the module, you will see a button that says open download page, and you can simply download and install the module after clicking that buttonhere is the image.
**normally when you install the android build support it will install the dependencies automatically, but if there was a problem you can manually download the tools(SDK/NDK/JDK) and use the manual on this link to tell the unity to use your custom tools.
SDK: the easiest way to install the android studio
NDK: download r19 version this link
JDK: download jdk8 from this link
First of all, why do you use the archive Unity version? You should use the latest versions.
Second, if you really need to use this version and there is no add modules button, the easiest (and I think the only one) is to download Android Studio, then install the needed SDK/NDK and then provide the path in Unity Editor (Preferences -> External Tools) to it.
Unity has to make it easier for older versions to add modules. meanwhile, there are different ways to approach, the best of which is to get the modules.json file for your Unity version from this repo and look for the specific files you're after, and then follow the instructions in the modules. (for example they might suggest to rename the file after download)

Visual studio not giving Hints (intellisense) when i opening the c# scripts through unity,

I recently installed unity ,but I didn't install visual studio with it because I already have installed.
I simply opened unity and I goes to Edit > Preferences > External script editor and I selected Visual studio code . But when I opening my scripts, visual studio not giving hints for my c# code.
You probably need to install the appropriate targeting pack for Unity. That article also has some other helpful extensions to install when developing in Unity.
What you could do is just open it and close it.
What i mean by that is go to Assets > Open C# Project
Once VSCode opened, wait for 1 min, try to write something like Rigidbody.
If intellisense is working it will start giving you hints, if it's still not working
Do the process one more time,
You can refer to these pictures where how VSCode tells you whether Intellisense is working or not.
http://imgur.com/gallery/1YiuPA4
You need to install snippets for Unity in VS code.
Open VS code. Go to Extensions(ctrl+shift+X).
In search field you need to write unity
Then click to Unity Code Snippets and install it in window bellow.
Then you will be able to see Intelesence !

Unable to open C# script files in Unity, MacOS

Any new or old Script files in Unity are unable to open. Mac OS suggests to search for the application in App Store or, from applications. Although, I couldn't find any solution or, suggestions to use any External Script Editor, or simply go back to default editor.
Unity version: (2018.4.14f1 personal)
Mac OS Catalina 10.15.1
Well, I've found a solution for now, it was updating unity to the new version, basically I added Visual Studio for mac option while downloading an update.
But, loading scripts on visual studio, Visual studio must be opened but previously I used to just open the scripts and read/write on it. Any mac users, any help simpler than this would help me a-lot.

Unity3D: Launch local documentation from unity 2018.2.5

I install Unity 2018.2.5, copy offline documentation zip in C:\Program Files\Unity\Editor\Data and unzip it. When i open Unity3D and clic in Help > Unity Manual, it launchs web documentation references instead of local documentation. Previous versions (2018.1.2) had worked. How solve this in order to launch local documentation? Thanks and sorry for my english.
I assume you already have "Visual Studio Tools for unity" plugin installed. If not this is the first thing you should do. If you already have it or you have installed but still have the issue described in your question, do the following:
1.It seems like you downloaded the documentation manually from here. Don't do this. Let Unity download it for you.
Run the Unity installer again but only select documentation this time. It will install the documentation to the current version of Unity.
Restart Visual Studio and check if it's working. If there is still an issue, follow step #2.
2.From Visual Studio go the Tools ---> Option menu.
Now, go to Tools For Unity then manually enter the path of the documentation you unzipped in the Preferred Unity Installation box then click "OK". Restart Visual Studio.

Why can't I edit C# script although I have monodevelop installed in Unity3D 4.3.4?

I am making a game,
I put the background and player; all fine, but when it comes to editing and double-clicking on the "script C#" named "player" it show me:
Unable to open Assets/Scripts/Player.cs: Check external application preferences.
I read about this over the internet, but i guess the answers were for older versions as they said to install Monodevelop.
I have the Unity3D 4.3.4 and Monodevelop comes built-in with it. I installed "Winmerge" as as revision control.
I tried restarting Unity3D, my game, Winmerge... but I am still getting the same error.
Check your script editor preferences and see if it needs to be set. It should say "MonoDevelop (built-in)"
Edit > Preferences... (around the middle of the menu) > External Tools > External Script Editor
You might need to right click a script and click "Sync MonoDevelop Project" before you can open the script for editing by double clicking it. You only have to do this once. I use VCS 2010 Express, and I do that, and then open the solution file generated by unity (in the root folder of the unity project) with VCS. Should work the same way for MonoDevelop, only you can also double click the script in Unity to open it with MonoDevelop.

Categories

Resources