.Enabled not enabling?
Okay so i have this piece of code. The purpose of this code is to initiate components of the player if the photonView belongs to that client. Only half of the scripts turn on and i'm pretty sure i...
View ArticleCannot download anything from asset store
Hi, I can't seem to download anything from the asset store. When I check the asset store pages, imagess and model previews are not loading and neither do they in the store inside Unity. When I try to...
View ArticleCode Question
Hello Unity Community! I have tried to fix this, but I just can't. What is the problem with this code!?!? Thanks, Calvin using UnityEngine; using System.Collections; public class MeleeSystem :...
View ArticleMissingFieldException: System.Single.speedOpen. Door script.
I dont know what i did. I dont know what this means. Please help me. The script is for a door. The script was javascript. Here is the script. var door: Transform; var angleOpen: int; var angleClose:...
View Articleerror CS1031: Type expected. Following Tutorial
using UnityEngine; using System.Collections; public class NetworkManager : MonoBehaviour private const string typeName = "RhysTron"; private const string gameName = "TronRoom"; { private void...
View ArticleC# transform position
transform.position.x =Mathf.Clamp(transform.position.x, minPosX, maxPosX); transform.position.z =Mathf.Clamp(transform.position.z, minPosZ, maxPosZ); Hi, I have these lines in my code and here's an...
View ArticleRequest error (error): UnityEditor.AsyncHTTPClient:Done(State, Int32)
For two weeks now on both computers I have unity on I have gotten this error, and I cannot connect to the asset store. The error came out of nowhere and all the answers I have seen to fix it, like Edit...
View ArticleToo many texture interpolators would be used for ForwardBase pass (again)
This shader gives me the above error (minus the "(again)") when I uncomment the line that starts "//o.normal". It's for a terrain, and the idea is to use worldspace instead of normal uvs so hills...
View ArticleCannot download assets from the store
I am trying to download FPS constructor and FPS Kit assets but it always say something like "download failed cannot download asset resolved timeout 5000 milliseconds" or something like that
View ArticleStrange behavior while running in Xcode: error only when "Development Build"...
My game runs smoothly on editor and on device (iPhone/iPod), but when I debug in Xcode I got EXC_BAD_ACCESS exceptions only if "Development Build" option in Build Settings of Unity is unchecked. I...
View ArticleError creating texture
I'm trying to create a new sprite animation. So I have my sprite sheet ready to go and take it into Unity. I set the type to 'multiple' and click the Sprite Editor. At first, Unity simply freezes and...
View ArticleBCE0051: Operator '
hello , im doing a Ai script that when you approche to the gameObject it will start following you ( i'm sure it's a classic basic script for Pro's ;) ) but im get tree same Errors: -BCE0051: Operator...
View ArticleI'm Learning to script with a Tutorial video, and can't seem to find the...
**I keep getting this error**- Assets/Fighter.cs(29,63): error CS1061: Type `Mob[]' does not contain a definition for `getHit' and no extension method `getHit' of type `Mob[]' could be found (are you...
View ArticleUnity doesn't recognize any definition for Network
I created a new project with the intent of learning how to create a server and connect to it but I have been stuck on the very first step: if (Network.peerType == NetworkPeerType.Disconnected){ } gives...
View ArticleThe nested type `TransformDirection' does not exist in the type...
I get this error with the following script using UnityEngine; using System.Collections; public class Projectile : MonoBehaviour { public GameObject projectile; public GameObject proxy; float...
View ArticlePlayer Movement Problems.
Hi, I have a player gameobject that accelerates forward and is able to move up, down, left and right. The only problem I have is that my movement script doesn't allow the player to move up and down on...
View ArticleBlock Collision Sliding off
I made an earlier question but I think i found the problem. but you guys are more experienced then i am so I'm just going to give the script for it. using UnityEngine; using System.Collections; public...
View ArticleInternal Compiler Error
I really need help with this. I have an error that's coming from the scripts in the first person controller: Mouse Look, Character Motor, FPSInput Controller, and Mouse Look (in camera). This is the...
View ArticleExperiencing strange issue changing a SpriteRenderer's sprite at runtime.
I'm getting error messages when trying to change a SpriteRenderer's sprite at runtime. The error doesn't seem to make any sense. Here's the line that is producing the error: myRenderer.sprite =...
View ArticleGet_GameObject non fatal error reoccuring
I have many scripts that use the 'get_GameObject' function, and errors like these keep appearing. ArgumentException: get_gameObject can only be called from the main thread. Constructors and field...
View Article