Fatal error- Monodevelop-Unity failed to start - unity3d

I originally installed unity but the monodevelop seems to not been installed as i tried to open a script in unity but nothing come out, saying i should find a software that opens it up when i have already set the preferences to monodevelop(built-in).
Then i reinstalled it again, this time, it contains visual studio too. then it can only open with visual studio. When I tried to open with monodevelop, the following pop-up will apear.
But I have already installed the two things which is /net and gtk. as shown below. what is the problem?

1st time-- install gtk after install unity(no monodev) 2nd time--
install monodevelop with unity i went to the monodev website and it
says xamarin studio not monodevelop
You messed up in the first step.
You have to Uninstall gtk and everything else you installed during this time. This includes Unity too.If possible, do a system restore and set the restore date to the time before you installed any of this.
Now, install Unity, make sure that MonoDevelop is selected from Unity and then install it. Don't install gtk or any other software. When using Unity, MonoDevelop must be installed from Unity and not from any other website. The reason for this is because they are using a customized version of MonoDevelop.

Related

Visual Studio Community 2019 installation failed in unity

Something wrong with my unity as I cannot install vs community via unity hub. Every installation ends up with error. Here's ss with error:img
I reinstalled 3 or 4 times, unistalled vs community from pc, still not working.
Try to install manually the Visual Studio not through Unity Hub.
After it is installed open your Unity project and on the top Bar go to "Edit->Preferences->External Tools" and there you can find an option "External Script Editor", from there you can choose Visual Studio or any other installed IDE you have, that supports Unity.
You can read more about it from Unity's Official document here

how to switch platforms in unity?

hiii i am new to unity, and i want to switch my platform to android. but, the problem is, when i click the android in build settings, it says "no android module loaded". and when i click to install with unity hub, it says "the unity version 2019.4.13f1 is already located by the hub. You cannot add modules to a located hub". how to resolve this issue ?? and i have also tried installing unity installer and when the downloading completes, it says "failed to locate unity.exe".... can someone pls help me with this.. I am trying this since past few days, and it has become annoying :(.. plssss somebody helpp.....
You should try this post:
Can't add modules to installed Unity editors
It says no reinstall required. But I would try that next.
It cannot hurt to read this as well:
https://docs.unity3d.com/Manual/android-sdksetup.html

Unity not loading project if internet is enabled

My computer crashed and since then it has not been opening properly Unity Editor and my projects
Since i have updated unity several times i decided it was time to make a fresh instalation so i uninstalled Unity and Visual Studio, deleted all the unity folders on AppData, and Program Files, then i reinstalled unity 2018.2.5 and Visual Studio
but for some reason it wont load any project nor it will create any new project if my internet connection is enabled, i need to disconnect my computer, launch my unity project, wait for it to load then re enable my internet connection
Any ideas on how to fix this?
Regards...
The issue is likely related to licensing. I recommend checking out Unity's documentation on managing your license.
For starters, try the following once you have Unity running:
Click the Unity drop-down on your toolbar (Help on Windows OS).
Click the Manage License option.
Select "Check for Updates."
You can also try the "Active New License" option.
One way to fix this that worked for me is to uninstall and reinstall unity hub, then create a new project and then try to open it. It should work then.

Weaver failure: unable to locate assemblies (no matching project) for: Temp/Assembly-CSharp.dll

I opened Unity for the first time in a while today and I'm unable to create new scripts of any type. Both the normal and right click menus are missing the option:
Adding a script through the inspector creates a file, but yields these errors:
Although the file is created, it does not appear in either the project browser, or inspector panels.
Googling various parts of these errors actually gets a lot of posts, but almost all of them come down to "restart Unity", which isn't doing anything.
All of this is reproducible for me on a fresh project file. I've tried restarting Unity and my computer, as well as reinstalling Unity from scratch. I've also double checked that I have .NET installed properly (reinstalled, and dotnet command works in terminal).
Unity: 5.4.5p5
Mac OS 10.13.3
This is a bug present in versions between Unity 5.1 and 5.4. It has been fixed in Unity 5.5.0 and an update to 5.5.0 and above should fix it.
If updating to Unity 5.5.0 which has the fix did not fix it then it's better to upgrade Unity to the latest version which is currently Unity 2017.4 at the time of posting this answer. This version should be able to get ride of that error.

Why Unity3D Use Monodevelop(4.0.1) not the latest Xamarin(5.9)

I use Unity 4.6.3 and Monovelop 4 is installed by default. It seems Monodevelop 4 has many bugs.
I see the lastest Monovelop is Xamarin(5.9) http://www.monodevelop.com/download/.
Why Unity did't use Xamarin as its default IDE?
If I want to use Xamarin as Unity's default IDE , do you have some tips or document for me.
By the way, I know I can change the default IDE by Edit=>Preferences=>External Tools=>External Script Editor. I just confuse why unity did't use the latest monodevelop?
You're totally right, I've been working with this old and buggy MonoDevelop version way too long.
But there didn't seem to be a real alternative, at least until last week a colleague of mine found some nice Add-Ins, that make Xamarin 5.9 working quite well with Unity.
Note:
This only works for Unity starting from 4.6.5p2.
But I'd recommend to update Unity to the latest version anyway, as there are a lot of bugfixes (especially for IL2CPP, if you're doing iOS).
Add-Ins
The Xamarin Add-Ins can be found here: http://files.unity3d.com/lukasz/Unity-Addins-5.9.0.zip
Requirements
Xamarin 5.9: http://www.monodevelop.com/download
Unity 4.6.5p2 or above:
releases: http://unity3d.com/get-unity/download/archive
patch releases: http://unity3d.com/unity/qa/patch-releases
Installation
Unpack the zip file. You will now have 4 files with an .mpack extension.
Open MonoDevelop/Xamarin Studio.
Open Add-In Manager
OS X: Xamarin Studio ➔ Add-in Manager.
Windows: Tools ➔ Add-in Manager
Click "Install from file" and select the 4 .mpack files.
Restart MonoDevelop/Xamarin Studio.
You should now be able open, build and debug any Unity generated solution/projects.
Make it the default Script Editor in Unity
Open Unity
Go to Preferences (OS X: CMD + ,)
External Tools ➔ External Script Editor
Use Browse to select your Xamarin installation
Source
The complete guide can be found here:
http://forum.unity3d.com/threads/unity-add-ins-for-monodevelop-xamarin-studio-5-9.329880/
you can just set it as default editor. Edit=>Preferences=>External Tools=>External Script Editor
What's problematic is that you can open CSharp Projects in it, but when you have UnityScript projects in your Solution file it won't open correctly in Xamarin. It says could not load project "Your project.unityproj". So Assembly-CSharp* works, but not Assembly-UnityScript*.
That's the reason I can think of so far!