Object reference not set to an instance of an object
Hey I'm following this guys tutorial and this script is supposed to be able to change day and night and the color of the water depending on if it is day or night. But im getting this error on line 57....
View ArticleVungleAndroid does not exist in the current context
I have been having major errors with Unity lately and trying to fix the issue has lead to more problems. I had a UnityEditor.UI.dll is in timestamps but is not known in guidmapper error. I deleted the...
View ArticleBlotches on meshes in Unity 5
I am having this problem with baking lighting in 5. I am getting these baking errors randomly on different bakes every time I rebake lighting. The second image is a lighting error on the floor where...
View Articlenot working on windows xp sp2
My laptop is gericom hummer, GPU: geforce fx 5600, CPU: 3.2 single core, OS: windows xp service pack 2, My Problem : Hello every one i was about to use unity 3d for the first time in my life , and then...
View Articleyield WaitForSeconds(1) ends with this error:ArgumentException: method return...
I just started with the UI in Unity and now i created a working menu with some Buttons. Now i wanted to add a delay with WaitForSeconds(1); in my JavaScript so that if i click one of the buttons it...
View ArticleError: "chanType.dimension == 0"
I'm getting wierd error: chanType.dimension == 0 UnityEditorInternal.InternalEditorUtility:LoadSerializedFileAndForget(String) UnityEditor.WindowLayout:LoadWindowLayout(String, Boolean) I have...
View ArticleBCE0018: 'MovieTexture' does not denote a valid type ('not found').
I am making a game for android and have only just thought of adding a menu to it now. In the menu I have a movie playing on a plane, then I have guitextures acting as buttons. When I try and compile...
View ArticleError C # script FloatingText in Unity.
Salve a tutti! Sto lavorando ad un progetto 2d platform. Ho due script in C# col nome FloatingText e PointStar. Sulla console mi da 2 errori. 1° errore al numero 12, sullo script FloatingText con...
View ArticleWhere is the int???
Hey! I can't understand Unity... It's telling me following things: Assets/Scripts/Blocks/Chunk2.cs(14,33): error CS0266: Cannot implicitly convert type `float' to `int'. An explicit conversion exists...
View Article"Destroy assets is not permitted to avoid data loss"
In my script, I have an empty, public array of GameObjects that I fill in the Unity editor. I am able to instantiate them just fine with Instantiate(...), but when I try to destroy them, I get the...
View ArticleHow to fix: !CreateDirectoryRecursive(fullpath)
Hello, I just installed Unity 5 on my PC (windows 8.1 x64) and when I try and create a new project (both 2d and 3d) I get a Fatal Error. The error says: "!CreateDirectoryRecursive(fullpath)". Does...
View ArticleC# initializing array of structs error
Hello, I feel like I'm hitting a wall here. I'm trying to initialize array of structs that contain data for where exactly objects in my level editor should go. Unfortunately it's not gonna happen...
View Article"Serialization depth limit exceeded" with non-serializable classes
I know there are many threads about this bug or whatever it is, but they all deal with actual serialization. I get these errors for classes that don't derive from unity classes, nor use the unity...
View ArticleTrying to send message with 2 variables, but getting error.
So I am sending this message. SendMessage ("Event", Player , 0); To this function. function Event ( Player : Transform, Direction : int) And getting this error Failed to call function Event of class...
View ArticleWhy am I unable to open my scripts in visual studio without having unityVS ?
I'm not using monodevelop . I am using visual studio 2013,I'm trying to view my scripts in Visual studio. how big of a problem is this ? why cant i even view the scripts without opening the scripts...
View ArticleScene restarting problem
Hi! When my player hits a trigger that restarts the scene, the light goes all mumbo-jumbo. I have added a short videoclip to make the explanation easier. Any ideas of what the problem may be?...
View ArticleUnity 5 importing scenes
Hello people, I am having lots of problems since I downloaded unity 5, projects that worked perfect with unity 4.6 give random errors with unity 5. I was wondering if anyone else had this problem or...
View ArticleMonoDevelop TODO task won't clear.
I made a TODO comment in one of my scripts, later on I re-organized my assets and moved the script to a new folder. After that I had 2 instances of the comment in my task list, one in the original...
View ArticleAndoid Back button cause Application Stop unexcpectedly..
Hello, I build an android project and When I launch the application and press the back button on the device(after waiting for the full loading of my app), the application exit unexcpectedly...( Yes it...
View ArticleHow to move a Sphere using physics
Hi!, Im new to Unity and have some experience with programing on calculators, so i decided to start by move a sphere with physics sounded simple enough well it wasnt, been getting error after error and...
View Article