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

getting loop errors, need help

Im experimenting with loops and am getting errors such as "Assets/Loops.cs(36,22): error CS0103: The name `i' does not exist in the current context" any ideas why? using UnityEngine; using...

View Article


FindGameobjectsWithTag -> Array

GameObject[] Swordmen = new GameObject[10]; void Start () { Swordmen = GameObject.FindGameObjectsWithTag ("Swordman"); } It won't add the game objects to the array and if I try this: GameObject...

View Article


Editing color with C# script

Hi there, I'm trying to use an UPNP Device to interact with my Unity Scene. I manage to do it but I encounter an error in the setter : public void CubeService_setColor(DvCubeService.Enum_color...

View Article

Parsing error and unexpected symbol `}' (25,41)

 using UnityEngine; using System.Collections; public class TouchLogic : MonoBehaviour { void Update () { //is there a touch on screen? if(Input.touches.Length <= o) { //if no touches then execute...

View Article

Macbook Pro Error with Unity - Will not launch.

I'm trying to install Unity on my school Macbook but I'm receiving the error [Opening file Temp/UnityLockfile failed because permission for the file was denied]. I'll link a screenshot at the bottom....

View Article


Unable to inherit simpily

Sorry to post so soon, but this isn't an easy to find answer! I'm trying to inherit( in it's most basic form..) but it's not finding my variable and i'm at a loss why. This is how i've always done it,...

View Article

Zombie Round Script Help

I have a small problem with my zombie round script I've been tweaking. I've fixed 5 errors I've gotten with the script but I can't figure out what is causing an "expecting ), found :". But I've changed...

View Article

There is a way to show the compiler erros from Javascript in Unity 3D...

Well, I was getting started com Unity 3D Creating 2D games creating a pong. But, when i was making a GameObject moviment , my Javascripts not compile due to errors, but i can't find anything obvious on...

View Article


Disable function OnTriggerExit?

Hi i am a complete beginner at programming. I made a sphere that can jump and move horizontally. public class PlayerControler1 : MonoBehaviour { public float speed; public float JumpSpeed; void...

View Article


.facingRight inaccessable due to protection level

I just started playing with Unity like 3 days ago. I've watched both the tutorials on the site and created my own player control script. I don't know how to do guns or projectiles or even melee so I...

View Article

I get this weird error:CS0176

Hello, i am following a Tutorials Series on YouTube (Aggregat Games) and i typed everything like them but i get this weird error "Assets/Scripts/NetworkManager.cs(120,56): error CS0176: Static member...

View Article

expecting error

uh, i'm trying to make a simple 'ball' object to jump, and i'm currently doing it while watching this [video][1] and this is my script #pragma strict var rotationSpeed = 100; var jumpHeight = 8;...

View Article

I Have a problem. The Log is 'Couldn't set project path to: C\....'

![alt text][1] I have a problem. I loaded sample things(RenderingPluginExample42, SimplestPluginExample). But those have a issue. The Log dialog(Console) show me 'Couldn't set project path to:...

View Article


unity close itself once i am trying to instantiate game object

today when i am debugging, my hard disc crash and blue screen appear. After i restart my computer, and back to my work, i find unity break down (close and ask me to send a report) when i using...

View Article

can someone look at my script

Hi all, I have a menu script in js and I have converted it over to c# using [this convertor ][1]because OUYA dev is in c# and to get the controller to work i have to do it this way. Any hoo... the js...

View Article


Javascript syntax errors with basic expressions

The error I get is Scripts/Gamble.js(17,23): BCE0044: expecting ), found '='. if I double up that equals sign I get Scripts/Gamble.js(13,18): BCE0034: Expressions in statements must only be executed...

View Article

Error to compile on windows phone plataform

Hi! I'm trying to compile a new project con WP8 plataform. I have the Unity Pro and WP SDK. Other projects compile succefully, but when I try to compile this project the console throw this error. Error...

View Article


Need help accessing children of an parent from a remote script.

Hello i am currently trying to get my inventory game object where items are stored when they are in the inventory. I am trying to find out what objects have the property "ItemName" equal to my weapons...

View Article

Engine crashes when deleting tree

So, I'm having a problem, if I have say 2 trees, and deleting one, its okay, but trying to delete the FINAL tree on the terrain will crash the engine, so I can have a million trees, but if I delete the...

View Article

Help Solve This

Please help solve this script error it keeps saying unexpected symbol { but I dont see anything wrong. Its a simple texture button script. using UnityEngine; using System.Collections; public class...

View Article
Browsing all 7934 articles
Browse latest View live


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