dotBunny / VSCode

Unity Visual Studio Code Integration
MIT License
673 stars 180 forks source link

Does not work under Fedora Linux #85

Closed brandex07 closed 8 years ago

yedpodtrzitko commented 8 years ago

hi, could you provide any details what exactly "does not work"?

vicricker commented 8 years ago

It works, but it's a bit of a mess. It shows many errors on code that works. I'm a noob at C#, so this may be trivial, for example,

public class Whatever : MonoBehaviour { Whatever and MonoBehavior are flagged as errors.

Hovering over Whatever shows:

Predefined type 'System.Void' is not defined or imported [Assembly-CSharp] Whatever

Hovering over MonoBehavior gives:

The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. [Assembly-CSharp] UnityEngine.MonoBehaviour

Other crazy stuff is broken like: bool turn = true;

Predefined type 'System.Boolean' is not defined or imported [Assembly-CSharp]

reapazor commented 8 years ago

This sounds like an issue with pathing to the reference libraries ...i spun up an ubuntu vm the other day so I'll see about installing a copy of Unity on it to see if i see anything immediate.

vicricker commented 8 years ago

Thanks! most appreciated. What's odd is the code completion/assist seems to work fine, at least as far as I've used it. Also, I'm using Unity 5.4beta if that matters.

If I can do anything to help, let me know.

ghost commented 8 years ago

Did you installed the additional mono assemblies? Try installing mono-complete package (mono-project site explains how in Fedora) which installs all additional assemblies and such

reapazor commented 8 years ago

I'm closing the ticket due to inactivity :/ reopen with details 👯

rahul-sinha1908 commented 7 years ago

Same thing is happening with me. If someone found out the solution please help me out too.