"Input" namespace does not exist in Unity.MLAgents.Extensions
I downloaded ML Agents exampels package and imported it to my project and when I did that I got multiple errors. It says that the "Input" namespace does not exist in Unity.MLAgents.Extensions and when...
View ArticleMl agents namespace "input" can't be found in Unity.MLAgents.Extension
I Imported MlAgents and everything worked fine untill I also imported the Unity examples folder that caused multiple namespace errors. I don't know how to fix it...
View ArticleLosing references in all scripts after changing the location of the unity editor
SO i recently changed the location of a unity editor then used the locate in the unity hub. now the thing is none of the scripts work. like namespaces are not working. here is a pic ![alt text][1] [1]:...
View ArticleUnityEngine.UI is not showing up?
I have a script that needs to access Image.fillAmount but this is only in UnityEngine.UI which doesn't work even though I have Unity UI package installed. Here is my code: using System.Collections;...
View ArticleCustom package's namespace isn't recognized by Unity or VS
This is my first package and I have been stuck on trying to access the classes in my two scripts for some time now. I have a namespace, CoolStuff, and two static classes I'm trying to reference with...
View Article.meta not being read
I just imported a project that I had been working on on a Mac last year onto my Windows from github. Because I had 2020 Unity on my Windows, but the Unity I was using on Mac was a 2019 version, so...
View ArticleUse Features in a plugin from another plugin
Hi everyone, I am trying to edit the scripts in Fungus to use Classes and methods implemented by FMOD. However, the scripts in Fungus don't seem to be able to see the namespaces or anything. Does...
View ArticleHow to implement custom using directives?
My Application is getting quite big and therefore I need a way to reduce the amount of code in my scripts. ---------- I figured out that I could save a lot of space by putting certain methods (that I...
View ArticleCreate namespace that can be accessed from multiple Unity Projects
I'm hoping to make a set of classes functions that I can use among multiple projects, but I want to be able to only update one file and have all of my projects reference that one file, instead of...
View ArticleHow does Visual Studio recognize Unity Classes and Namespaces?
My first intuition was that Visual Studio recognizes certain classes and namespaces based on the files in the Solution Explorer, yet I can type a class or namespace in the C# file and Intellisense will...
View ArticleUnity Recorder "the type or namespace could not be found"
Hello, I don't usually work on Unity, but now I'm trying to update the Unity version for a project created about a few years ago. Currently, I updated its version to 2019.4.29f1, and I have 62 compiler...
View ArticleAssets\PlayerLocomotion.cs(79,1): error CS1022: Type or namespace definition,...
I was making a movement script in Unity when an error popped up that I don't know how to fix. **Input Handler Script** using System.Collections; using System.Collections.Generic; using UnityEngine;...
View ArticleTwo necessary plugins depends on same plugins just with other version
Hey i building a game that connected to math education . i am using 2 main nuget plugins **Angorimath** **CsharpMath** the problem is that CsharpMath using old version of angourimath and that version...
View ArticleThe name 'LayerTohit' does not exist in the current context
public class bombscript : MonoBehaviour { public float fieldofImpact; public float force; public LayerMask LayerToHit; // Start is called before the first frame update void Start() { } // Update is...
View Article,System.IO.DirectoryNotFoundException: Could not find a parth of the path
Hola, estoy usando MRTK para un proyecto y estoy intentado usar el espacio de nombres Microsoft.MixedReality, pero me aparece que el espacio de nombres no existe en Microsoft. Quiero asumir que se debe...
View ArticleNamespace error CS0246
hello i need help, i created a touch screen for the mobile phone in unity 3d. Now I've encountered the problem that I keep getting this error message: "Assets\Scripts\TouchPlayer.cs(7,12): error...
View ArticleVideoLibrary could not be found
I have installed VideoLibrary on Visual Studio and I don't get error from vs. But Unity says: The type or namespace name 'VideoLibrary' could not be found (are you missing a using directive or an...
View ArticleCan't access StarterAssets namespace from another script
Hello. I can't access a script from StarterAssets namespace from my inventory script, but I can do it other way around. Heres the inventory code, doesn't work neither with StarterAssets or...
View ArticleWhy the scripts in plugin couldn't find the normal class/namespace ?
public class Unit : MonoBehaviour { public static void Test() { Debug.Log("Unity::Text()"); } } This Unit class is in normal space, out of the plugin. namespace HoneyFramework { public class...
View ArticleThe classes in plugin couldn't find the classes and namespaces out of plugin.
public class Unit : MonoBehaviour { public static void Test() { Debug.Log("Unity::Text()"); } } This Unit class is in normal space, out of the plugin. namespace HoneyFramework { public class...
View ArticleThe classes in plugin couldn't find the classes and namespaces out of plugin.
public class Unit : MonoBehaviour { public static void Test() { Debug.Log("Unity::Text()"); } } This Unit class is in normal space, out of the plugin. namespace HoneyFramework { public class...
View ArticleCan't get the new Input System to work with the Kart Microgame
I'm making a ve$$anonymous$$cle based game so i'm using the Kart Microgame as a base, since the Microgame uses the old Input System i'm trying to update it to use the new Input System, however, i...
View ArticleUnityEngine missing Particle System Reference. Could not be found in...
I don't understand how this is possible but unity engine refused to include ParticleSystem when referenced. ![alt text][1] I have tried manually adding the assembly. As you can see it works just fine...
View ArticleI updated Universal RP and now a bunch of image effect scripts are broken,...
I was having an error with URP scripts after installing a package, to solve this i updated URP which fixed the existing issue but now a bunch of image effects scripts are missing namespaces. ![alt...
View Articleplease help me. error CS0246: The type or namespace name `Player' could not...
error CS0246: The type or namespace name `Player' could not be found. Are you missing a using directive or an assembly reference? I want to make a map that allows players to move indefinitely. but as...
View ArticleHow to implement namespaces
I reached this video on software architecture and trying to replicate, mainly to get familiar with the subject (I mean that I don't need to know if it's a good idea or if it may be better doing it in...
View ArticleJSON Newtonsoft >> "The type or namespace name 'Plastic' does not exist in...
Hello everyone, I recently decided to create a new project and import my previous assets (without plugins, etc.) in order to have a clean project. Among other things I had problems with the package...
View ArticleNeed help calling a function from another script that is inside a namespace.
I have a function that is inside of a namespace, however when one of my normal scripts runs it there is a null reference void. Do I need to also include the parameter present in the first script into...
View Articletype or namespace name 'ProductCatalogItem' could not be found. I know that...
using System.Collections; using System.Collections.Generic; using UnityEngine; #if !NO_IAP && UNITY_PURCHASING && (UNITY_IOS || UNITY_ANDROID) using UnityEngine.Purchasing; #endif...
View ArticleHow to reference classes inside Assets folder from a script inside Packages...
Hello, This might be a very noob question but I have stuck on this problem. Suppose I have a script called "HelloWorld. cs" inside a custom package and is inside the Packages folder. namespace Example....
View Article