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

Trouble with A* Pathfinding Project

Hi, I'm using the A* Pathfinding project (https://arongranberg.com/astar/docs/beginner.html), and have come across a seemingly simple problem. I am trying to access the Seeker class from one of my...

View Article


Unable to Reference a Class

Hi, I'm using the A* Pathfinding project (https://arongranberg.com/astar/docs/beginner.html), and have come across a seemingly simple problem. I am trying to access the A* Seeker class from one of my...

View Article


GameObject not being detected, even though its there............

**Assets\Scripts\MenuManager.cs(9,12): error CS0246: The type or namespace name 'OptionsMenu' could not be found (are you missing a using directive or an assembly reference?)** I am receiving the above...

View Article

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

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


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

namespace error - coulnt find namespaces

Hello everyone. Here my error; i downloaded a project, installed the correct version, opened it. Everything works fine, i can build the game, play it in the editor and so on. But when i want to...

View Article

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


NoiseMapGeneration namespace not found

I am trying to make procedural world generation and whenever I typed in this script, the namespace of `NoiseMapGeneration`. I dont know what I did but here is my code Can anyone help me? It says the...

View Article


Building error with the asset Hexplanet Pro

>quote Yesterday I purchased the Unity Asset Hexplanet Pro which is working fine in the editor, but whenever I try to build for Android, I get the following errors at PlanetVertexData 13, 6 "The...

View Article

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

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


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

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


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

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


Assets\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 Article

CS0234 'EditorSnapSettings' does not exist in the namespace 'Unity Editor'?

I am having this very strange error that shows up in the VS Studio Console, and it ONLY shows up in the VS Studio console, not in the Unity Console. My game works as intended, and there is no error...

View Article

Why is "using YamlDotNet.Core.Tokens;" in one of my scripts?..

Hello I just stumbled upon an unexpected build error, and when I looked into it I found this extremely strange namespace reference, namely YamlDotNet.Core.Tokens. I looked it up and found what the...

View Article
Browsing all 398 articles
Browse latest View live


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