Null reference exception with static method
My static method that i've set within an abstract class using a custom namespace keeps giving me a null reference exception when i try to pass a Vector3 to it. using UnityEngine; namespace DebugUtility...
View ArticleUnity Can't find script class because of namespace
I have a monobehaviour script. I attempt to add it to a gamobject and I get this dialogue> Can't add script component 'MyScript' because the script class cannot be found. Make sure that there are no...
View ArticleAsset store's asset namespace not found (different Unity versions issue)
I bought Rewired from the asset store, and it installed without problems. However, when it comes to using it in scripts, "using Rewired;" causes an error ("the type or namespace name Rewired could not...
View Articlenamespace not found
when i am creating new c# script it is showing errors that namespace not found(although these namespace are default namespaces). i have recently install unity 5.3 . restarted monobehaviour many...
View ArticleUnityEditor.iOS.Xcode does not exist
So I'm trying to use this: https://docs.unity3d.com/ScriptReference/iOS.Xcode.ProjectCapabilityManager.html _ **Step 1, add the using at the top...** _ ![alt text][1] ![alt text][2] _ **I have the iOS...
View ArticleUnity-related namespaces not being detected.
Upon opening up a project, I am met with the same Visual Studio error/warning messages 4 times in a row : The project cannot be added to the solution because a project with the same project filename...
View Articleunity cant find Android SDK namespaces?
When I try to access the android SDK through scripts by directives (using), unity will allows throw the error CS0246: The type or namespace name `Android' could not be found. Are you missing an...
View Articlethe type or namespace name 'Rigibody2D' could not be found
this is my script![alt text][1] [1]: /storage/temp/123094-screenshot-2018-08-21-061309.png
View ArticleUnable to reference asset store class from one of my own scripts
I recently bought the Highlighter System from the Asset store. I am able to add the scripts that i have imported as components through the editor, but i cannot reference any of the added scripts from...
View ArticleStartCoroutine namespace or type not found
Hello, everyone. I'm currently having an issue where I'm trying to call a Coroutine, but I get a namespace not found error on the StartCoroutine method. I have been able to call this method elsewhere...
View ArticleGet All Unity Namespaces (string array)
Hi All, I'm making a custom file creator, where you can specify your file name, location, and also the namespaces to include. I've been able to include all generic c# namespaces, as well as any custom...
View ArticleThe Name 'GUID' does not exist in the current context
I am using the Unity tutorials to make a project. When I go to build the game, I get two errors both from the same script telling me "The Name 'GUID' does not exist in the current context", and it is...
View ArticleThe type or namespace name `EditorWindow' could not be found.
Hi, I have a problem while building an android apk file. I tried to reinstal android sdk and jdk, but nothing helped. I checked, that if i delete class "public class ContentDownloadWindow :...
View ArticleProblem with using IComparer
I'm trying to use a comparer that sorts a List of Vector2 points by their clockwise position from an origin. I got the comparer code from here https://pastebin.com/1RkaP28U#, and its class is called...
View Articleunity and c# namespace error
Hello all, I have a problem in Unity and C#. Even though i already imported the namespace in my c# script, it still gives the namespace not chosen error. **" The type or namespace name `GLNeuroTech'...
View ArticleNamespace not recognized even its added
im making an AR application using unity and vuforia as my graduation project, so im not so experienced in unity and C#. everything is going smooth till i reached DB, now im trying to connect MySql DB...
View ArticleUnityEngine.UI.dll namespace doesn't exist for 2018.3.0b11 managed plugin
I'm using the beta build for Unity 2018.3.0b11, but I had this issue in 2018.3.0b11 and 2018.2.16f1 as well. I'm trying to build a Class Library into a Unity Managed Plugin. I follow the "Step by step...
View ArticleThe namespace already contains a definition for ''
Hy! I am having a problem with definitions. I can rename a 100 times my script, it says that the namespace already contains a definition for 'Player_Standard' (this is my last try with renaming). When...
View ArticleUnity steamVr Controller namespace not found
I am trying to get the unity steam vr controller input to work but i cant seem to get `SteamVR_Controller` or `SteamVR_TrackedController` to work. any help would be appreciated thanks. using...
View Article