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 ArticleERROR: 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 ArticleTons 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 Articleerror 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 ArticleWhy 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 ArticleIm 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 ArticleHi! 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 ArticleHELP 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 ArticleI 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 Articlecode 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 ArticleNeed 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 ArticleEnable 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 Articleerror 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 ArticleAndroid 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 ArticleUnable 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 ArticleHow 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 ArticleProblem 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 Articlei 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