Expression denotes a `type', where a `variable', `value' or `method group'...
This code should take the colors from the array and put them randomly on he cube GameObject; but i get that error. (C#) public GameObject cube; public Color[] cubeColor; void Update () { if...
View ArticleUnity 5.1.1 two unity-Window-Editor for the same project
Hello everyone, The problem is when i try to open my working project it's simply open two unityEditor-Window for me in the same application instance and crash when i try to close one of them. - what i...
View Articlehow to CORRECTLY load all assets (using Resources.LoadAll)
so i've been trying to load all my **prefab assets** found in the **Resources/Levels folder** using different ways 1. GameObject[] allLevels = (GameObject[]) Resources.LoadAll("Levels"); 2....
View ArticleTransform.rotate returns NAN error.
I am developing a racing game with wheelcolliders, and every visual wheel mesh has the script below attached. It was working several days ago, however, it now returns a NAN error. One thing that is...
View ArticleFatal signal 11 on Android
07-08 00:34:33.925 9644-9699/com.Toughwin.MemoryRun A/libc﹕ Fatal signal 11 (SIGSEGV) at 0x00000024 (code=1), thread 9699 (UnityPreload) 07-08 00:34:33.928 10070-10070/? I/DEBUG﹕ [OnPurpose Redunant in...
View ArticleInternal Script Error in 5.1.1p3
I am running 5.1.1p3 (pro) on windows 10 and I keep seeing the following in the console. I install to Unity5 so I can also keep a copy of Unity4 installed in a Unity4 folder. Invalid AssetDatabase...
View Article'Animation' does not contain a definition for 'Play'
Hi, I have error and I can't fix this error alone So I asked here. I made animations in my project, and I saw that animation running well yesterday. But when I open my project today morning, I found...
View ArticleErrors in script
I'm getting a few errors on my script. using UnityEngine; using System.Collections; using HutongGames.PlayMaker; public class Score : MonoBehaviour { public FsmInt score =...
View ArticleJava/Jdk error? Failed to build the apk
it's giving me this error how can i fix it ? the problem is it's giving me this error in some project rather than in every project ? why Error building Player: CommandInvokationFailure: Failed to build...
View ArticleDEBUG;TRACE; Compile Problems
I have a simple project with a couple of relatively simple scripts. I am getting this error when I try to compile: An item with the same key has already been added. (Error: System.ArgumentException)...
View ArticleError while installing Unity (error code: -1073741819)
![alt text][1]Hi, I was able to install Unity on my home PC no problem using the installer. I tried installing it on my HP Z220 Workstation (win 7) and get this error with the installer. I have also...
View Articlewhy am I getting "insert a semicolon at the end"??,why am I getting "insert...
this is my script, I'm watching a tutorial from https://www.youtube.com/watch?v=m8VPHAs0F8w #pragma strict var target : transform; var distance : -10; var lift : 1.5; function Update () {...
View ArticleError Message Coordinates
I have been struggling over several error messages for days, and I was wondering if the "coordinates" of the error message mean anything. I am new, so if I am saying something stupid, don't get mad....
View ArticleI'm having an error with 'UnityEngine.Transform'
unity keeps telling me this kind of error ' Assets/CameraMovement.js(7,11): BCE0020: An instance of type 'UnityEngine.Transform' is required to access non static member 'position'. this is my script...
View ArticleHow do I pass on a movieTexture through a function to another script in...
I've tried having the playMovie function static but that just gives me errors and I don't know what to do about it. Here are my two separate scripts: using UnityEngine; using System.Collections; using...
View ArticleError when importing dae file
Hi, i have a (large, 32 MB) dae file. I could import this file in the past, but now when i need to import the file again, it throws an error: ImportFBX Errors: Couldn`t read C:/Desktop/file.dae. I...
View ArticleTimer to Switch Scene, not working, New to Coding
I'm new to coding so I don't know much and having problems with a script I made. I'm trying to make a script that counts down from x amount of seconds (not visible in scene) and, when it reaches 0,...
View ArticleCant download most stuff from asset store
When i try to download some plugins or stuff for example Photon Unity Networking Free it shows me two errors in the error pause tab and it wont download specifically it shows this error...
View ArticleiOS Build Integer literal is too large to be represented in a signed integer...
I am building my game for iOS. When I press play on xCode to simulate on my device, I get around 400 errors that say:> Integer literal is too large to be represented in a signed integer type>...
View ArticleOverride BaseVertexEffect error when building for WebGL
Hello guys! I am receiving an error compiling to WebGL when overriding a method already overridden by parent class. You can follow the next steps to reproduce: 1 - Inheriting from class...
View Article