StopCoroutine returning Null
I am having trouble with coroutines. I have 2 buttons and a global variable. The global variable is created like this IEnumerator makeBubbles; On 1 button I have this makeBubbles = StarCo();...
View ArticleUnknown error regarding UnityEngine.AddressableAssets
Hello everyone! First things first, I have to say that I'm kind of a beginner with Unity so the words that I'll use may be wrong or not refer to what I want to explain (Additionnally, I'm not a native...
View ArticleWhy it shows me the error "Cannot implicitly convert type 'Item to...
The code is: ![alt text][1] using System.Collections; using System.Collections.Generic; using UnityEngine; public class Inventory : MonoBehaviour { //0 = primary, 1 = secondary, 2 melee public Weapon[]...
View Articlewhy i have error8803?
using UnityEngine; public class movment : MonoBehaviour{ bool canJump; // Start is called before the first frame update void Start() { } // Update is called once per frame void Update() { if...
View ArticleI get an ArgumentNullException when I try to play sound
I followed Brackeys tutorial on how to add sound but at one point i got an error that he didnt. Here is the error ArgumentNullException: Value cannot be null. Parameter name: source...
View ArticleGuys i have a problem with my script for gun in unity
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Weapon : MonoBehaviour { public float damage = 21f; public float fireRate = 1f; public float force = 150f;...
View ArticleA lot of errors everytime I open a project,Have a lot of errors everytime I...
Every time I open a project, there are a lot of errors. Most of them are ".meta file ..... does not have a valid GUID....", error CS0234, and CS0246. This is the first time Unity installed on this PC,...
View ArticleThe name 'answerButtongameobject' does not exist in the current context
Hola, necesito ayuda, trato de encontrar mi error pero hasta ahora no llego a encontrar.
View Articleerror CS1061: 'QuestionData' does not contain a definition for...
**No encuentro el ERROR que podrÃa estar fallando, alguien que me pueda ayudar:** ![alt text][1] using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI;...
View ArticleI keep getting error unity2021.3.11f1_0a5ca18544bf
I keep getting error I keep getting error unity2021.3.11f1_0a5ca18544bf and it wont allow me to join n horizon worlds,I keep getting error unity2021.3.11f1_0a5ca18544bf when trying to connect with...
View ArticleonClick.AddListener throwing "Object reference not set to an instance of an...
Hi, everyone! I'm a rookie programmer and I'm learning Unity. I have a problem in my script because it throws a "NullReferenceException: Object reference not set to an instance of an object" error but...
View ArticleOperator || cannot be applied to opperands type bool and...
private void Update() { // ground check grounded = Physics.Raycast(transform.position, Vector3.down, playerHeight * 0.5f + 0.2f, whatIsGround); MyInput(); SpeedControl(); StateHandler(); TextStuff();...
View Articleelse cannot start a statement
// Mode - Walking else if (grounded) { state = MovementState.walking; moveSpeed = walkSpeed; } // Mode - Air else { state = MovementState.air; if (moveSpeed < airMinSpeed) desiredMoveSpeed =...
View ArticleGetting this error when typing mlagent-learn command in CLI MACHINE LEARNING
Hi Devs so i was following codemonkey ml agents tutorial i did all the steps correctly but when i type command mlagetns-learn i am getting this errror. so i cant proceed further i did some research i...
View ArticleSQLite error
I am trying to use SQLite with Unity for the first time. I have added the SQLite3.dll and SQLite3.def files to my Assets\Plugins folder, plus the Mono.Data.SQLite.dll file from the D:\Program...
View ArticleI have a question, why do I always get that error code CS0414 in my project?
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Character : MonoBehaviour { Rigidbody rb; float speed; void Start() { rb = GetComponent(); speed = 10.0f; }...
View ArticleI have a question, why do I always get that error code CS0414 in my...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Character : MonoBehaviour { Rigidbody rb; float speed; void Start() { rb = GetComponent(); speed = 10.0f; }...
View ArticleNullReferenceException: Object reference not set to an instance of an object
Hello, So I was making a checkpoint or respawn point in unity 2D. when I die first time it works properly, but second time it shown an error "NullReferenceException: Object reference not set to an...
View Articlebonjour j'ai l'erreur CS1001 qui est apparue je ne c'est pas comment la regler
voici mon script using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class DialogueManager : MonoBehaviour { public Text nameText; public Text...
View ArticleCan not open a file (Crashing while opening editor)
Hi! I don't know what happened, but I can not open my file. The editor doesn't even start. I get this error: Obtained 45 stack frames. #0 0x00000100ff46b4 in...
View Article