microsoft's IIS service doesn't allow / recognise the Unity mime type.
Hi, I finished the creation of my game. To finilize it, I need to upload it, and make it available from the platform of our university. My first step was to build the webplayer file. The second step...
View ArticleUnityScript How To Deserialize?
When I try to deserialize using this piece of code, it comes up with an error - there's no semicolon in the second line? var Binary : BinaryFormatter = new BinaryFormatter(); var TempIntList =...
View ArticleNullReferenceExeption: Object reference not set to an instance of an object.
Hi, I was just opening up Unity today and i got a message about an update, but since my internet was down at the moment, I selected No. When I got to my project I wanted to open up the Game View, but...
View ArticleWhy isn't the Unity Web Player working?
I have no idea what is going on with the Unity Web Player. I have a gaming website and now none of my games work anymore! There's always an error that says "Unity Web Player requires DX9 level graphics...
View ArticleGetting referencing error when trying to position a GUI screen.
Hello, I've started making a game and want to put an introduction GUI screen at the beginning of the first level. I need to position the screen directly in the center of whatever screen the user is...
View ArticleGame view fails to work after wierd casting error.
Hello Everyone. I was busy Creating an editor script when I got a seemingly unrelated error message: > "pptr cast failed when dereferencing> Casting from DefaultAsset to Shader!". Since this...
View ArticleI can't get my script to work I get an error. [Please Help!]
My script I'm making is to make it so every 90 seconds my skybox automatically changes. (Basically my own nooby Day/Night cycle.) But I keep getting this error: BCE0023: No appropriate version of...
View Articlecan't build android app with facebook sdk
Hello, we are trying to integrate facebook sdk on our project, but we are stuck after the correct generation of the hash key. FB Init() work correctly in play mode, i receive logging in =true; But when...
View ArticleExpecting EOF found }
now i know what this means, it means that ive got some unbalance with the brackets, but I've checked and checked again and I can't find anythign wrong with it. the three errors im getting are:...
View Articleerror cs1061
Assets/GameContent/Motiontracks/Editor/AnimationImporter.cs(60,68): error CS1061: Type `UnityEditor.ModelImporter' does not contain a definition for `clipanimations' and no extension method...
View Articleerror cs0029
Assets/GameContent/Motiontracks/Editor/AnimationImporter.cs(60,52): error CS0029: Cannot implicitly convert type `UnityEditor.ModelImporterClipAnimation[]' to `UnityEditor.ModelImporterClipAnimation'...
View ArticleHow to serialize a gameobject using binaryformatter?
I'm having a problem with when I try to serialize a list of ItemClasses, it has a problem with the gameobject, saying that UnityEngine.GameObject is not marked a serializable? ItemClass Script (It's...
View ArticleHow can i call a GUI function?
I have 2 scripts: car.cs and GUIcarrera.cs. I use car.cs to define the behaviour of the car and GUIcarrera.cs to print time elapsed in the race and events that happen to my car in game, like running...
View ArticleScript error help!
**Hi!** I was wondering why I get these errors from my script: ![alt text][1] [1]: /storage/temp/18284-error.png **Script:** #pragma strict private var X : float; var offset : int; var FollowCamera :...
View ArticleObject reference not set to an instance of an object in c# class.
I have made 2 c# classes to use in a path finding algorithm by following a tutorial: a cell class and a grid class. When I access components from the cell class by using the grid class I get the...
View ArticleUnlikely Script Error with Matrix4x4.TRS
This piece of code gives the errors: GUI.matrix = Matrix4x4.TRS( Vector3.zero, Quaternion.identity, Vector3( (float)Screen.width / nativeWidth, (float)Screen.height / nativeHeight, 1f) ); "...
View ArticleFalse "variable not assigned" error
I've been looking for any solve for this, but i didn't find anything. My problem is that i defined material variable in my day/night cycle script, assigned skybox with shader to it, and try to change...
View ArticleC# CarDamage script: Array index is out of range error.
So the problem is that I have an car damage script, which deforms mesh on collision. It works but it keeps giving me this error and I don't understand what's wrong it. So if someone could point me on...
View ArticleCreated an Open Close Animation, but script wont activate both doors?
I have a sliding door, i already made the 2 animations for each door. Open and Close, i have the collider set as a trigger, and a sound on the trigger object. When i walk into the collider i hear the...
View ArticleC# No overload for method 'BeOlvasBabok' takes 1 arguments
Hello, It's a project in my school, I try to get a few dummy's position, and the direction, where they are going. I have to use methods, so I try to implement it in this way. I got the error here:...
View Article