Quantcast
Channel: Questions in topic: "namespace"
Browsing all 398 articles
Browse latest View live
↧

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 Article


Unity 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 Article


Asset 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 Article

namespace 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 Article

UnityEditor.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 Article


Unity-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 Article

unity 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 Article

the 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 Article


Unable 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 Article


StartCoroutine 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 Article

Assets/Scenes/Player_Control.cs(131,23): error CS0246: The type or namespace...

namespace error

View Article

Get 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 Article

The 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 Article


The 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 Article

Problem 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 Article


unity 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 Article

Namespace 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 Article


UnityEngine.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 Article

The 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 Article

Unity 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
Browsing all 398 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>