Namespace Media does not exist
I am developing in Unity 4.7.1f1 using Visual Studio 2015 C# on Windows 8. I'm trying to do some bitmap processing using the [Kinect background removal tool]...
View ArticleWhere is the namespace UntiyEngine.Windows
I found that a class "Directory" in namespace UntiyEngine.Windows in docuemnt,but I can't find which dll the namespace lie in. the link is here:...
View ArticleSystem.Threading.Tasks 1' does not exist in the namespace...
What's up guys? First of all, sorry for my bad english, not a native speaker here. I tried to use the .Net-Framework in connection with unity and found out, that including the Tasks.dll in unity showed...
View ArticleAssets/Standard Assets/Detonator/System/DetonatorBurstEmitter.cs(66,53):...
Hi all i'm noob in unity 3d and i get this error Assets/Standard Assets/Detonator/System/DetonatorBurstEmitter.cs(66,53): error CS0246: The type or namespace name `EllipsoidParticleEmitter' could not...
View ArticleCrossPlatformInput namespace
I am new to Unity and it is not letting me run any projects because of a scripting error. I tried redownloading unity but the error still occurs. This is what the error says at the bottom of the...
View ArticleUnityEngine.Advertisements
I went into the services window, copied the example, then opened a new c# script and pasted the example in it. Visual studio complained about the namespace UnityEngine.Advertisements not existing, but...
View ArticleMathF not found in UnityEngine?
Hi, I have this chunk of code: using System.Collections; using System.Collections.Generic; using UnityEngine; public class MouseLook : MonoBehaviour { public enum RotationAxes{ MouseXAndY = 0, MouseX =...
View ArticleAccess script from a namespace
Hello I just came across a situation: I'd like to have access to a class i wrote, which I didn't included in any namespace, from the script ThirdPersonUserControl (from standard assets), which is in...
View ArticleSame namespace but different dll version/code
Reference 2 dll. both library have a 'System.Threading' namespace but in different version. Unity showing :> error CS0433: The type 'TaskScheduler' exists in both 'System.Threading,...
View ArticleA namespace cannot directly contain mambers such as fields or methods...
I get this error, if i type in `private Rigidbody rb;` and i really don't know what the problem is. i already did this in other scripts and it worked every time. Error Code: CS0116 PS.: it's a C# projekt
View ArticleHow to only use namespace if it exists?
Hi there, I'm trying to make an asset. This is a script I want to make compatible for both TextMeshPro users, and people who don't use TextMeshPro. To use TextMeshPro variables (for example: private...
View ArticleRemoving Namespaces from default scripts ... is it safe ?
Hi all, I am not an expert in scripting and the Unity structure is still a bit obscure to me. I am currently trying to check for events I created in my game from inside the FirstPersonController script...
View ArticleMy namespace "System" failed to work
My namespace "System" failed to work ,I don't know how to resolve it .In my codes,all the codes about "System"(namespace) become to red.I also search it and someone say that it‘s about the version of...
View ArticleWas UnityEngine.CrashLog deprecated with Unity 5.5.0?
I previously implemented the Unity crash reporting using this tutorial ([game performance reporting tutorial][1]) with Unity 5.4.2f2. After updating to Unity 5.5.2f1 I now get this compile error: error...
View ArticleIn EditorWindow: The type or namespace 'MyClass' could not be found
I am trying to refactor my code from the EditorWindow calss to a couple of scripts and I then encounter this problem:> The type or namespace name 'MyClass' could not be found (are you missing a...
View ArticleAlternative for FileUtil in Build
Hi everyone, I've just learned that "using UnityEditor" wasn't used in builds. My problem is that i've used FileUtil.DeleteFileOrDirectory to delete a file at a given path. And i need to use...
View ArticleHow to hide the namespace in an editor window?
I am making an editor window and I have put the script within a namespace. Whenever I have the editor window up, the namespace is shown in the top of the editor window. Is there any way to hide this...
View ArticleWwise integration Issues
Before integrating Wwise, I had to put Photon's ErrorCode class into the Photon namespace and fix those references. This allowed Wwise to successfully integrate. Before integration, I had no compiler...
View ArticleThe type or namespace name `Unity' does not exist in the namespace...
I'm developing a moblie app, and I get this error: The type or namespace name "Unity" does not exist in the namespace "UnityEditor.Facebook" ![alt text][1] ![alt text][2] What can I do to fix this?...
View ArticleHow to commuunicate scripts form default namespace?
Hi, I got a problem. How to take values form script One to script Two, when the first script is in different namespace? I mean i got something just like this (let's say it is so short) first script:...
View Article