Error Building Android Project
Good evening fellow developers, I know this may seem like a trivial matter, but I've google searched for this answer and looked on the Unity answers and all of the answers I've seen that worked for...
View ArticleNo appropriate version of 'UnityEngine.Object.Instantiate. Please Help :(
Hi i am creating a basic game where you shoot basketballs into a box. I am seeming too have an error with one of my scripts that deals with destroying the basketball once it has gone in the box and re...
View ArticleGets a error and code still works
I have this code and it works perfectly fine and everything runs as it should but I still get an error on the line "if(hit.collider.tag == "Ground"){". error: > NullReferenceException: Object...
View ArticleSkybox Malfunction
Hey guys, I am having a serious problem with my skybox right now. I was watching a tutorial (Linked here:http://www.youtube.com/watch?v=GBtrC3a0xBA) on how to make a terrain, and when it got to the...
View ArticleParser Error Unexpected symbol `private'
When I first made my script it worked just fine. Today I came back and it wouldn't let me add the script to anything because of the private error. Here is my entire code and I don't know why it isn't...
View ArticleRigidbodies getting stuck in non moving objects
This has not been a problem before, but in every project I have this happens. I know how rigidbodies work, but when they fall on another object, they fall a few units into the object, as if the other...
View ArticleError CS0246 TinyMedievalPack?
I just imported it and it is saying that error. The error message says The type of namespace name 'UIGrid' could not be found. I am guessing I missed importing something that the pack needs or...
View ArticleAnimation help??!
I spent an hour working on an idle animation for my character, he moves up and down as he breathes, and when I try to test the game, my character won't move, but the animation plays. And whenever I...
View ArticleProblem with OnDestroy
When Child gameobject is destroyed , i add a component to his parent. the code like this: void OnDestroy() { Debug.Log("Destroy"); this.myTransformparent.gameObject.AddComponent(); } then i attach the...
View Article.enabled doesn't work with Texture2D?
How can I make .enabled work with Texture2D? example: public Texture2D text; text.enabled = true; I have the following error: Type `UnityEngine.Texture2D' does not contain a definition for `enabled'...
View Articlecant kill more than one enemy C#
simpy put using the script below i cant shoot after i kill the first enemy because of an issue at lines 42 and 75, both lines say "EnemyAi enemyAi = enemy.GetComponent();" and the exact error is "The...
View ArticleBCE0019: 'vertices' is not a member of 'Object'.
I keep getting "BCE0019: 'vertices' is not a member of 'Object'. " error. Not sure whats not quite right. for(i=0; i < objChildren.Count; i++){...
View ArticleWhen I try to compare an item in an array of Javascript objects I get this...
Hi guys, I am stumped about this Javascript "BCE0051: Operator '<=' cannot be used with a left hand side of type 'Object' and a right hand side of type 'int'" error I got. I'm working with both...
View Articlecant add script because it doesnt exist
I am trying to attach a piece of code to an object in my game and every time I do I get an error saying it doesn't exist and the class and file name don't match but it does. PLease help.![alt text][1]...
View ArticleBCE0019: 'Add' is not a member of 'UnityEngine.Transform[]'
I need help with a problem I get in my code. I am writing a code to generate a maze using Prim's Algorithm. This is the code I get the error on: `function SetAdjacents() { var x : int; var y : int;...
View ArticleConsole error with animation
Console says: Default clip could not be found in attached animations list. UnityEngine.Animation:Play() Pepe4:Update() (at Assets/Standard Assets/Particles/Dust/Pepe4.js:114) Help
View ArticleBuild for Windows Phone 8 problem
Hi Everybody! **resume:** This error ocorres when I build for Windows Phone 8 on Unity `Error building Player: Exception: Error: method 'System.String[] System.IO.File::ReadAllLines(System.String)'...
View ArticleUnknown Error
Every time I load up my unity game I get this Error. Internal compiler error. See the console log for more information. output was: Unhandled Exception: System.UnauthorizedAccessException: Access to...
View ArticleProjectile Malfunction
Ok, so here's what happened. I've installed projectiles (bullets) to my game. However, there is a HUGE error. I tried to position my projectiles' spawning point at my gun's point. every time I enter...
View ArticleCreating an iOS static library that depends on another static library.
I've created a static library for iOS for an FFmpeg integration in Xcode. I've built the project including the .h files from the ffmpeg includes and this gave me a resulting .a file which I will call...
View Article