"function DoRoll (Point, Axis, Angle, Duration)" Does Not Work on Android....
function DoRoll (Point,Axis,Angle,Duration) { var tSteps = Mathf.Ceil(Duration * 30.0); var tAngle = Angle / tSteps; var pos : Vector3; // declare variable to fix the y position // Rotate the cube by...
View Articlewhy there is a parsing error at the END ?
I really don't know why I've got that error. probably a newbie error. it's in my toon shader I build. I really need your help on this one. Shader "Custom/toony" { Properties { _Color ("Main Color",...
View ArticleNullReferenceException: Object reference not set to an instance of an object...
Hello everyone. I'm trying to develop a script that add points when the player touch an object. I'm following the official unity tutorial but it seems to have problems. When the player touch the object...
View ArticleError in the script
My server script, is giving error. Please explain step by step, because I am new here. I'm Brazilian ![alt text][1]![alt text][2] #pragma strict var Ip : String = "127.0.0.1"; var Porta : String =...
View ArticlePlayer Prefs, Adding Two Variables
Hi I'm using Player Prefs to set two of my variables. I took the code from the Unity Scripting API. While I'm able to set my variable to a specific number using the PlayerPrefs.SetInt function I can't...
View ArticleWhere has 'Time.unscaledDeltaTime' gone?
Despite of being documented as valid members of UE Time class: http://docs.unity3d.com/ScriptReference/Time.html, both Time.unscaledDeltaTime and Time.unscaledTime are seems to be absent now. Using...
View ArticleI've got an char error: BCE0044: unexpected char: 'f'. Can someone please...
I've got a char error, can someone please help me? #pragma strict var TheDamage : int = 50; var Distance : float; function Update () { if (Input.GetButtonDown("Fire1")) { var hit : RaycastHit; if...
View ArticleCrash on .exe but fine on editor...
Hi, i have a big problem, if i run the game out of the editor (the .exe) if i reach a certain scene of my game it crashes but when i reach the same location on the unity editor it allows me to continue...
View ArticleMissingMethodException: What the heck is this?
By the way: I'm a beginner at developing and coding, so if you know the answer to this please make it in a way i understand. I wish i knew these stuff like you guys :P Around 4 months ago i was using...
View ArticleMaking my 2d character's arm follow the mouse, scrpit not working, please...
Hey! So I followed brackeys tutorial and laso used the unity's 2d-game sample. The thing is that I want to make the arm rotate acording to the mouse's position. hovever it's not working and just makes...
View ArticleCannot cast from source type to destination type
Yes i searched this up without being able to solve me problem. I have a pretty lengthy script to function the menu of my game. I am trying to disable all the text MeshRenderers at certain points. So i...
View ArticleHELP NO MOVEMENT
super new to this but ive done everything exactly how its done in the intro videos till near the end of vedio three but i cant get the sphere to move when i play no error messages or anthing just no...
View ArticleERROR PRASING HELP!!!
using UnityEngine; using System.Collections; public class FP_Shooting : MonoBehaviour { public GameObject bullet_prefab; // Use this for initialization void Start () { } // Update is called once per...
View ArticleUnity3d Crash error (Mono.dll) with NetworkView
Hi, all and thanks for your time. I was creating and testing scripts about multiplayer and Unity crash always when I use one button and always if I have the Network view. NetworkManager:...
View Articleerror CS0019: Operator `>' cannot be applied to operands of type `method...
Hello guys, i'm getting this error: **error CS0019: Operator `>' cannot be applied to operands of type `method group' and `method group'** while trying to follow up to the "Making an "Angry Birds"...
View ArticleIssue with Unity Asset Store
As well as creating a new project, It's not my firewall as i disabled it, even ran as admin.. I can't create a new project because when i try unity instantly crashes with no message, and when i open a...
View ArticleScript error: OnTriggerEnter
I'm getting a Script error. "Script error: OnTriggerEnter This message parameter has to be of type: Collider" I have no clue why it gives an error like that. Any ideas? Here's my script!...
View ArticleSocket error editor
Hi everybody, I switch from Unity 4.1 to Unity 4.5.1 one week ago and I have this error : Socket: connect failed, error: Operation has failed with error 0x2747 connection closed Somebody know why this...
View ArticleERROR: missing field exception
I'm making a TD game, but there is a error that occurs every time I press play and a cube with an enemy tag enters the trigger collider - what the range of my tower is.> MissingFieldException:...
View ArticleERROR: Missing field exception?!
Hi guys, I'm busy with making a TDgame... Every time there occurs an error when I'm playing.> MissingFieldException: UnityEngine.Vector3.position...
View Article