Quantcast
Channel: Questions in topic: "error message"
Browsing all 2891 articles
Browse latest View live
↧

Object reference not set to an instance of an object [HELP!]

I'm getting this error but I have no clue whats wrong with my code. I am not getting any compile errors, but errors when I start the game. The error is: NullReferenceException: Object reference not set...

View Article


Buttons dissapear after restart, mulitple errors

I have a game i have been working on. Everything have been great untill now, i had two cars i my game. And one of them made so many errors that i had to remove it. Now the same errors come after i...

View Article


unity photon network does not work. any answers?

So I get the below errors in my unity project now I have tried making a complete new project and it will work in a new project but not in my current project can anyone give me some insight on this I...

View Article

Error cs1061

using System.Collections.Generic; public class StatMod : BaseStat { private List _mods; private int _modVal; public void ModdingStat() { _mods = new List(); _modVal = 0; } public void addMod( modAtt...

View Article

Please Help Me: Assets/Scripts/PlayerControaller.cs(34,33): error CS8025:...

using UnityEngine; using System.Collections; [RequireComponent(typeof(PlayerPhysics))] public class PlayerControaller : MonoBehaviour { //Player Handling public float speed = 8 ; public float...

View Article


Error In The Script

here is my code i got only 1 error as i fixed most of them i get a error ; expected insert a semicolon at the end. but i get in no way where i should add the last semicolon i managfed to fix 8 errors...

View Article

Cannot implicitly type Vector2 to camera control

so, im very very new to this, im trying to do a simple platformer and the code im trying to make is a simple small piece of code that I can attach to trigger objects throughout the level so that as the...

View Article

How should I add a transform.position on a List?

I need to do a list of positions of an object as time passes, so I'm having an error whenever I try to add it to a list variable. I'm trying to add it on a list and later use something like Debug to...

View Article


Lighting problems

Hi guys, My game works well when I run it once. When I hit replay, the same scene starts again (as I would expect), but with less lighting, it is dimmed. If I exit the game, I get this error: "Error...

View Article


How I can fix "windows cannot acces......." error?

I have Unity.Professional.v5.3.0f4.x64 that installed on windows 10 but when i run it show me a error that include: "windows cannot access the specified device,path,or file you may not have the...

View Article

Error initializing license system

I have just started to get back into unity and when i download it and install it this is the error it gives me when i try to launch it anyone have any idea what is going on?

View Article

Json & Unity DirectoryNotFoundException: Could not find a part of the path

So I've been banging my head into this for days and just can't find a solution. I've recently been following this [Inventory System Tutorial][1] which uses the json library. Following along I have...

View Article

cannot convert type HealthandInventory to int

Hey guys, this is a project I am working on and I am getting this error in Unity - Cannot implicitly convert type HealthandInventory to type int - HealthandInventory is the name of one of the scripts I...

View Article


NullReferenceException: Object reference not set to an instance of an object

Hi, I'm relatively new to unity and I have just gotten the error NullReferenceException: Object reference not set to an instance of an object which I have managed to deal with in the past, but what I...

View Article

Water hose particles error?

I am trying to start a new game in unity 5 but I can not play because of this error: Assets/SampleAssets/Effects/ParticleSystems/scripts/WaterHoseParticles.cs(7,32): error CS0619:...

View Article


Unneeded UCE0001 ;

Here's my code. _#pragma strict static var score = float 0;_ It has one line, with a semicolon on it, but it asks me for one anyway. What's wrong?

View Article

Unable to understand error message

The error message says "BCE0023: No appropriate version of 'UnityEngine.GameObject.GetComponent' for the argument list '(float)' was found." What does __No appropriate version__ mean?

View Article


Hello guys this is my enemies script it works very well, l now decided to add...

using UnityEngine; using System.Collections; using UnityEngine.UI; public class Differentball : MonoBehaviour { public GameObject[]spawnPoints; public GameObject Enemy; public Text countText; private...

View Article

l have been having this on my script error CS8025: Parsing, l don't what to do

using UnityEngine; using System.Collections; using UnityEngine.UI; public class Differentball : MonoBehaviour { public GameObject[]spawnPoints; public GameObject Enemy; public Text countText; private...

View Article

NullReferenceException: Object reference not set to an instance of an object

I'm new to C# and facing an issue regarding NullReferenceException: Object reference not set to an instance of an object Assets.Plugins.SmartLevelsMap.Scripts.MapCamera.SetPosition (Vector2 position)...

View Article
Browsing all 2891 articles
Browse latest View live


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