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 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 ArticleWhy are compiler defines never respected FROM *.rsp files WHEN namespaces are...
**Issue** I have much success with RSP files for "-unsafe". It works in all unity versions and all platforms my team requires. However, I recently added custom defines to the RSP files. Everything...
View ArticleUnity namespace cannot be found (C# MonoDevelop)
Hi, just having a little issue here. I updated from 5.5 to 5.6 and all my scripts aren't recognizing the Unity namespace in MonoDevelop (C#). The game still compiles without any errors, but it annoys...
View ArticleHaving problem with 2D Roguelike tutorial Error: " error CS0101: The...
I am having problems with 2D Roguelike and I get an error code; error CS0101: The namespace `Completed' already contains a definition for 'BoardManager'` Anytime if "namespace Completed" is removed i...
View ArticleWhy can't compiler find Physics.ClosestPoint or Collider.ClosestPoint?
So according to the documentation these functions exist: https://docs.unity3d.com/ScriptReference/Physics.ClosestPoint.html https://docs.unity3d.com/ScriptReference/Collider.ClosestPoint.html However...
View Articlethe type or namespace name 'CBBinding' could not be found.,the name...
using UnityEngine; using System.Collections; using Chartboost; public class CBads : MonoBehaviour { public bool shown = false; // Use this for initialization private CBads CB; private CBManager void...
View ArticleWhat are the unityeditorinternal and the unityengineinternal namespace and...
When I type "using" intelisense give me two namespaces those I never heard about and missing from the docs: __UnityEditorInternal__ and __UnityEngineInternal__ or maybe I didn' found them. What are...
View ArticleCompilerParameters not found in System.CodeDom.Compiler
Hey folks, I am trying to use YieldProlog in my project but I am having a rather peculiar issue. Although I am using the namespace System.CodeDom.Compiler and my references include, obviously, the...
View ArticleDumb Question - Can't use Standard Assets package in scripts.
I've imported Standard Assets 2D and CrossPlatformInput. However when I make a new script I can't `using UnityStandardAssets` or `UnityStandardAssets.CrossPlatformInput`, MonoDevelop just doesn;t...
View ArticleUnity 5.6.0p3 does not recognize class inside namespace
This works: using Zenject; public class UiSignalInstaller : MonoInstaller { public override void InstallBindings() { Container.DeclareSignal(); Container.Bind().AsSingle().NonLazy(); } } public class...
View ArticleCreate asset bundle on backend - using Unity namespace in backend app
Hello! I am going to give possibility for user to upload content (some 3d model) from web CMS and then, in Mobile App created with Unity - download it and show for user. Please tell me - is there a...
View Article