How do I search a list for a Vector3?
I have a list that holds a number of Vector3s, and before I add another Vector3 to the list, I want to check to make sure the list doesn't already contain that value. When I use list.Exists(), it gives...
View ArticleInconsistent Accessibility Error?
First off what in the world is an inconsistent accessibility error? Secondly how do I fix it? I've gotten about 10 from converting many scripts from JS to C#. For example here is one of them....
View Article2D Sprites are acting weird
I'm making my first game and i made a 256 bit sprite for my 2D platformer its graphic quality looked good but when when i put it on the plane it looks very bad its graphics were very bad and it was...
View ArticleApp Crashes - Windows Server 2003
Hi, I'm trying to make a Windows build that is a listener of an IRC Channel. In the OS X 10.8.3 this runs ok but in the Windows Server 2003 the app crashes. Unity Player [version: Unity...
View ArticleIndexOutOfRangeException: Array index is out of range
I followed a car tutorial put up by bigmisterb (link: http://forum.unity3d.com/threads/86703-Basic-to-Advanced-Car-or-Vehicle-Tutorial) So yeah I followed the trutorial and then applied the code given...
View ArticleScenes automatically skip without initialisation.
Hi there. I've been following the space shooter tutorials in C#. I've already added my scenes, and my "Start" button. For some reason when I run the scene, it automatically skips over to the next scene...
View ArticleError with MiniJSON
I am trying to integrate http://forum.unity3d.com/threads/35484-MiniJSON-script-for-parsing-JSON-data But i am getting error NullReferenceException: Object reference not set to an instance of an object...
View Articlewhen trying to run a unity game I often get a fatal error, why?
when trying to run a few games on the web that use unity, they stop loading and encounter a error message stating that "the content was stopped because a fatal content error was detected.
View ArticleSome Copies of Prefab Detect Clicks But Others Don't
I have several copies of a prefab representing cities in my game, and I want the GUI to update when one is selected. The problem is that some respond while others don't even though they have the same...
View ArticleEvery time I open Unity it says "Error loading page Couldn't read a file://...
This has been happening since I installed 4.0. I have already tried reinstalling Unity. "Error loading page Couldn't read a file:// file"
View ArticleFixing the NullReferenceException.
Hi guys.I'll get straight to the point. I have been able to fix this error in the past but this time I just can't seem to do it and form my search I have found nothing of use that could aid me in this....
View ArticleCG shader is treated as GLSL and doesn't compile
Hi, I need a shader to support vertex colors, so I followed this tutorial here: [http://en.wikibooks.org/wiki/Cg_Programming/Unity/Smooth_Specular_Highlights][1] and made the modifications so it showed...
View ArticleAn another problem - Tower Defense GUI
Sorry But I have an another problem in the same topic. I followed a tutorial on youtube which shows how to make a tower defense game in unity. But I stuck at the GUI part. This code is working with...
View Articleerror when trying to change TextMesh.text through script
Hey guys, I have have a problem I can't understand. In my scene there is a 3D Text object with a script assigned to it. The script is a simple MonoBehaviour script and looks like this: using...
View Article[Java Script] Why is my script not working?
Well, I am trying to make a small zombie shooter game, however my shoot script doesn't seem to work.. var randomnumber = Math.floor(Math.random() *11); Errors: Assets/ASA/ASA - Scripts/ASA - Scripts -...
View Article"Health" value doesn't change?
This is a piece of my script. The health value equals what I tell it to, but each time it calculates it as if the Health value doesn't change at all. Anything look weird in this:...
View ArticleAn another problem - Tower Defense GUI ver.2.
I didnt saw any action on my first post in this topic. Only 1 answer came which partly solved my problem. So I am reuploading my problem so maybe I have a better chance to fix this problem. My code is...
View ArticleAre these problems are related to a NGUI change (update)
I have a code from a tutorial on youtube (unitycookie). Somebody helped me to fix a lot of mystiping in the code but I som strange problems now that I think are related to NGUI. I am using Unity 4.0.7f...
View ArticleAn another problem - Tower Defense GUI (ver.3.)
I have a code from a tutorial on youtube (unitycookie). Somebody helped me to fix a lot of mystiping in the code but I som strange problems now that I think are related to NGUI. I am using Unity 4.0.7f...
View ArticleProblems with java script.
Hello people, I'm still learning coding (i know basic HTML5 scripting, but i find javascript a bit more complicated than it (but less than C# or boo) I made this script so an object follows the player...
View Article