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

Error CS0127

Here is my code: using UnityEngine; using System.Collections; public class Difficulty : MonoBehaviour { // Use this for initialization void Start () { } // Update is called once per frame void Update...

View Article


ERROR: BCE0019: 'enabled' is not a member of 'UnityEngine.GameObject'.

Ok, So in my game the main character has to use matches to light a fire. Here is my script: var batterySound : AudioClip; private static var batteryPower : float = 10; var Matches : GameObject; var...

View Article


Tons of " The type or namespace name `Stuff Here' could not be found.

I don't understand why this happens. Suddenly, out of nowhere, i started to get literally hundreds of same type errors. And when i for instance delete the error popping scripts, it just rips out more...

View Article

error CS0117 `System.IO.Directory' does not contain a definition for `Delete'

error CS0117: `System.IO.Directory' does not contain a definition for `Delete' Which reference in unity contains the delete method? Or, there are other reasons for the error? Please help to solve this...

View Article

"SetSelectedWireframeHidden" Does not work.

So i suddenly started to get this error with one of the Asset Store packages after importing. `UnityEditor.EditorUtility' does not contain a definition for `SetSelectedWireframeHidden' How it does NOT...

View Article


Why the Unity is displaying this message : "ArgumentException: Input Button...

Hi, this is my first question in this forum and I would clarify a question, ever when I run my start menu scene in Unity, the same display this message: ArgumentException: Input Button Submit is not...

View Article

Im getting an CS8025 error, please help, this is my script.

using UnityEngine; using UnityEngine.UI; using System.Collections; public class AxeDestroy : MonoBehaviour { public GameObject Axe; void OnMouseDown () { if (GameObject.Find("Axe").GetComponent() ==...

View Article

Hi! I am trying to use SceneManagement, but I keep getting errors.

**I am trying to** (using Unityscript) have the level reset after my ball falls a certain distance. I was using *Application.LoadLevel* and it was working until it wasn't anymore. I got the error...

View Article


HELP me please i am gettin "Assets/Weapon.cs(39,46): error CS1502: The best...

using UnityEngine; using System.Collections; public class Weapon : MonoBehaviour { public float fireRate = 0; public float Damage = 10; public LayerMask whatToHit; float timeToFire = 0; Transform...

View Article


I keep getting this error!

This is the error code: Failed getting triangles. Submesh 1 has no indices. Mesh asset path "" Mesh name "" UnityEngine.MeshCollider:set_sharedMesh(Mesh) Quixel.Node:setMesh(MeshData) (at...

View Article

code error

am learning c# from scratch using youtube videos, and wen i follow along the codes that are used are not working when i write them. ![this is an example of what i mean][1] [1]:...

View Article

Need help with so unity error

Hello Guys. I install unity on my f drive. and now i get this error Can't set nonexistent playback engine directory 'C:\Program Files\Unity\Editor\Data\PlaybackEngines\LinuxStandaloneSupport'...

View Article

Enable and Disable VR mode at runtime On Devices(Android/IOS)

Hi to all, I am working on a GearVR project. In my game i have 5 scene and i want to enable VR mode only for 1 scene. When i enable VR mode using VRSettings.enabled I got errors on console(find the...

View Article


error CS0201: Only assignment, call, increment, decrement, and new object...

I've been trying to create a script and this error keeps coming up on line (22,42). public class TRIGGERTEXT : MonoBehaviour { public Image ScaryImage; public AudioSource JumpMusic; void Start() {...

View Article

Android Unity Ads Error "The imported type...

I'm trying to get ads working on Android but I keep getting this error "The imported type `UnityEngine.Advertisements.ShowResult' is defined multiple times" Im not sure how to fix it. Here is my script...

View Article


Unable to Add script to an object

Ok, so I have looked for this for a bit and found a few tips that didn't work so I decided to post my own question just in case I might get a different answer. I am messing around with stuff just for...

View Article

How do i fix this nullreferenceException

Hi, i am very new to unity and i just tried to make a block dodge game posted to youtube (Brackeys https://www.youtube.com/watch?v=tyAutnOlsfA) evrything went good until i begun coding, i believed i...

View Article


Problem by an error

error CS0117: `UnityEngine.Texture2D' does not contain a definition for `blackTexture' the error coming from : Assets/GooglePlayGames/ISocialPlatform/PlayGamesUserProfile.cs(146,40): error CS0117:...

View Article

[HELP] What the Heck does that mean ?

I keep throwing the same error the console, I tried to find what's wrong but I barely understand it. I followed the tutorial on ebook "Unity 3D 4.x by Example", by Ryan Henson. can anyone please tell...

View Article

i get error cs1519 please help it says this assets/begin/my...

using UnityEngine; using System.Collections; namespace Chapter1 { public class Shoot : MonoBehaviour { private float fireRate = 0.3f private float nextFire; // Use this for initialization void Start()...

View Article
Browsing all 2891 articles
Browse latest View live