Gamecenter achievement already reported
Hi there. My game has several achievements which are to be completed over time, so there is a progression display in gamecenter which shows your progress in percent. The app fires some reports to...
View ArticleDetect a process exit in 64bit OS
My Unity game wants to start a separate program in Windows and should restore it self when that program has finished running. Here's my code: ----Inside GUI Button---- try { ProcessStartInfo startInfo...
View ArticlePlay Animation and Sound when enter collider
Hey guys, I've a problem. I have the following script added to a collider but when the player enters the collider nothing happens..' I tried the two following scripts: //SCRIPT ONE #pragma strict var...
View ArticleSyntax errors?
Hey all, I seems to be getting basic syntax errors on what I thought was a clean script. Seems like a curly bracket problem, but their all fine (I think?), I checked them multiple times. The earliest...
View ArticleFailed to import audio file.
Hey, kids! So, I'm attempting to import a specific mp3 file into my project. When you play it in Windows Media Player or VLC, it sounds fine. But it won't import into Unity, and it won't play in...
View ArticleFirst Person Controller doesn't work properly.
Hi Guru. I'm a newbie of unity dev. The problem I got is after putting First Person Controller in my project and I hit the play button. I just dragged and dropped to place the FPC. Keyboard...
View ArticleProblem with Instantiate (maybe)
Hello Community, i've a problem with my code. In this code, a canon will shoot bullets. var LookAtTarget : Transform; var damping : float = 6.0; var bullet_Prefab : Transform; var savedTime = 0;...
View ArticleSegfault in native plugin code, only with Unity
I'm running a native plugin that starts a Live555 media server on a separate thread. The server waits for a client to connect, then starts transmitting (empty, for now) data to the client. When I run...
View ArticlesharpSerializer Error CS0103 when webplayer selected in build settings
I'm using an external library [sharpSerializer][1] in Unity 4.2.1f4 (latest), and I'm getting this error message:> Assets/Scripts/Libraries/SharpSerializer/Advanced/PropertyProvider.cs(302,57):...
View ArticleHow to change Position of Admob in Unity3d for Android
I have added Admob into Unity3d for Android. However, the ad is showing at the bottom of the device. How can I make it display the ad at the top of the device? Android Manifest.xml attached here![alt...
View ArticleAnimation Loop Disable? (WrapMode)
Okay so, I imported this model to Unity. It's include with walk animations. So set the animation to "Legacy" and imported it to models. It works ![Set To Legacy][1] Then, I want to make animations to...
View ArticleUsing If Statement Inside OnGUI?
I am Getting The: GUI Error: You are pushing more GUIClips than you are popping. Make sure they are balanced) Error I think Its Because Im Using a If statement in side OnGUI. If not I have No Idea...
View ArticleWeird Error c#
void FixedUpdate () { float h = Input.GetAxis("Horizontal"); // setup h variable as our horizontal input axis float v = Input.GetAxis("Vertical"); // setup v variables as our vertical input axis...
View ArticleWhat happened to my level? Fatal Error
I was working on my level and I got a Fatal Error, out of memory, then I go to relaunch the level and it's just gone. No where to be found can't open it, not deleted just gone. Someone help please.
View ArticleI cannot figure out whats wrong with this script(Javascript)
Hello. I was wondering what I am doing wrong here? import System.Collections.Generic; //inventory// var items : item[]; //compares inventory with online database and links them// var maininven : List....
View ArticleErrors when adding a GUI.Label C#
I'm not sure what I'm doing wrong here. For the String parameter I have also tried with a .ToString on both calls. GUI.Label( new Rect(Screen.width/2, Screen.height*0.2, 150, 50), "$" + Money);...
View ArticleI keep getting: No appropriate version of 'UnityEngine.Object.Instantiate'...
I keep getting "No appropriate version of 'UnityEngine.Object.Instantiate' for the argument list '(float, UnityEngine.Vector3, UnityEngine.Quaternion)' was found" I'm not quite sure where the mistake...
View Articlecode error in Stealth project 1
I followed the turorial, but I am getting the following errors: NullReferenceException: Object reference not set to an instance of an object PlayerMovement.Update () (at...
View ArticleError assigning to a variable
How could I get around this problem? Assets/Chat/Chat.cs(140,25): error CS1656: Cannot assign to `entry' because it is a 'foreach iteration variable' foreach(string entry in scrollingNotices) {...
View ArticleError assigning to a variable
How could I get around this problem? Assets/Chat/Chat.cs(140,25): error CS1656: Cannot assign to `entry' because it is a 'foreach iteration variable' foreach(string entry in scrollingNotices) {...
View Article