How to fix Script? error cs1525 Unexpected symbol 'vector3'
Hello everyone. I get Assets/Parallaxing.cs(43,31): error CS1525: Unexpected symbol 'vector3' using UnityEngine; using System.Collections; public class Parallaxing : MonoBehaviour { public Transform[]...
View ArticleCant access a gameobject's position
Getting this error when trying to acces a gameobject attached to a gameobject in unity. Error CS1061: 'UnityEngine.GameObject' does not contain a definition for 'position' and no extension method...
View ArticleUnity ERROR BCE0023
**Unity ERROR**: Assets/Scripts/networking.js(66,61): BCE0023: No appropriate version of 'UnityEngine.GUI.BeginScrollView' for the argument list '(UnityEngine.Rect, String, UnityEngine.Rect)' was...
View ArticleOpen door = load scene c# issues
Ok so I'm attempting to teach myself this as I go but its so complicating!! :P I've been trying to fix up this script by watching tutorials, forums, the unity manual, and nothing is helping! :( I can't...
View ArticleScript attached to 'Object' in scene '' is missing or no valid script is...
Script attached to 'Light' in scene '' is missing or no valid script is attached. Why am I getting this warning everytime I build? I have no Light object in my scene (There was, but I deleted it...
View ArticleBCE0051: Operator '-' cannot be used with a left hand side type of type...
I'm kinda new at this stuff. I thought scripting would be like HTML or something... Anyways, I'm trying to make a simple RPG. To keep from starving, the player must survive on coconuts because I'm too...
View ArticleIs there something wrong with my c# script?
I Can't seem to figure out what the issue is here. Once i play the game, I go to my trigger collider, the GUI message appears, but when I click 'E', I get a "key not mapped" error. I tried swapping "E"...
View ArticleAnimation Not playing? (Noob)
My animation is not playing and I'm using this script on my guns so It can get mixed up so I decided to do variables so the animations didn't get mixed But I do get this error: MissingMethodException:...
View ArticleUsing vector2 (transform.position.x, transform.position.y -= 1) error
When I use code like that if (cooldown > 1.5) transform.position.y = new Vector2 (transform.position.x, transform.position.y -= 1); I get this error "Cannot modify a value type return value of...
View ArticleError: not a member of 'UnityEngine.GameObject[]'.
Hi the code below is giving me this error and I can't seem to figure out why I think its from assigning something with the array wrong but can' t figure why it gives me the error below? **Code:**...
View ArticleWhy does my script gives an Error "Operator '*' cannot be used with a left...
function DoRoll (aPoint, aAxis, aAngle, aDuration) { var tSteps = Mathf.Ceil(aDuration * 30.0); var tAngle = aAngle / tSteps; var pos : Vector3; // declare variable to fix the y position // Rotate the...
View ArticleNull Reference exception, in foreach loop in AI
I am making a jet boating game and I have been working on the AI. The way it works is it should steer towards the furthest away waypoint within it's line of sight so as to take the smoothest line. The...
View Articleitween imports into compile errors
I import Itween, and it gives me a flurry of compile errors. I don't know what to do. this assest sounds so promosing, but just getting it into a project bug free, has been a 4 day hassle. If anybody...
View ArticleCommandInvokationFailure: Unable to install APK to device
Every time I test it on a device, I check everything on the installation if it is okay. I check the Android SDK directory, get updates on SDK, I plugged the USB onto the device, I enabled the *USB...
View ArticleNetworkmanager errors and gui to small
Hello, I have followed Cg_cookie's tutorial on networking, But first i noticed that my GUI did not show up and I was never able to try if it worked because i always got errors. If someone here got time...
View ArticleHow to use publisher account??
I have successfully made a customer account and publisher account named 'Curio Games CG' and after making publisher account it shows you have successfully made a publisher account and showed the...
View ArticleError CS0120
I know it has been asked a lot, but I noticed that the answer was always different from the others, so I ask it with my code, because I haven't find the answer I need: I've got a script which has a...
View ArticleHow do I turn on bool "One Shot" in Particle Emitter of legacy particle?
I need to turn on bool "One Short" after pressing Enter key. Here I've given an example- ###The Code- public GameObject ParticleObject; void Update () { if(Input.GetKeyDown (KeyCode.KeypadEnter)) {...
View ArticleBCE0049: Expression 'int' cannot be assigned to.
Hello, How Do I fix this error that's in the title? Here's my code and the error is at line "74" var playerPrefab:GameObject; var SpawnObject: Transform; var gameName:String = "Trackants"; private var...
View ArticleAsset store on unity is Invisible, url: https://kharma.unity3d.com/
My asset store works, but is invisible I guess It stays like this: http://prntscr.com/3uhhni When I pass the mouse on the asset store, the pointer indicates links and text. The only error that the...
View Article