Quantcast
Channel: Questions in topic: "error"
Browsing all 7934 articles
Browse latest View live
↧

Error in line (86,14), I can't figure out what it is...

using System.Collections; using UnityEngine; //List of all the posible gamestates public enum GameState { NotStarted, Playing, Completed, Failed } //Make sure there is always an AudioSource component...

View Article


BCE0053: Property 'UnityEngine.Component.light' is read only.

Hello, I'll make it short. Why am I getting this error : BCE0053: Property 'UnityEngine.Component.light' is read only. This is my code : var sun : Light; var enableShadows : boolean = true; function...

View Article


Unexpected Token BCE0043?

I need some help to fix this in my javascript, i think i got everything right but it just gives me this error: " Assets/GameSetup.js(17,112): BCE0043: Unexpected token: ). " This is my code: #pragma...

View Article

Random Unity Errors I can't get rid of

I downloaded 2 fps packs yesterday (that took 2 years to install) and now I have 3 errors that seem to be related to the fps control pack. Here is a screenshot of the errors: http://prntscr.com/4dp4sy...

View Article

prefabs and IDs

In my game, I have made a prefab of an enemy object and that prefab has a script attached to it that creates a sort of ID for each object so that when there are multiple in the scene, there is a way to...

View Article


Facebook sdk and PC Build?

Hi, does facebook api work on a PC build? because everything runs great in editor, but when I build a stand-alone i get "facebook api is not yet supported on this platform" error. thanks ahead

View Article

BCE0043: Unexpected token: }.

private var canWallJump : boolean=false; private var canWallJumpTime : float=0; private var canWallJumpDir : Vector3 = Vector3.zero; private var lastDirection : Vector3; function OnCollisionEnter(hit :...

View Article

Error CS8025

Hello guys, I got an error with my script in unity: Assets/scripts/PlayerController.cs(69,17): error CS8025: Parsing Error. Can you please help me. Sry if my english isn't so perfect. I'm from germany...

View Article


error launching unity player, bad file lenght

hello.. hope you all have a lovely day today.. :) i'm playing vega conflict on kixeye.com, and its been a few weeks now i got the message "error launching unity player, bad file lenght" and unable to...

View Article


Sending email via APK version

Hey guys, I have a function that sends an email : void SendEmail (string email) { try{ MailMessage mail = new MailMessage (); mail.From = new MailAddress ("yoyo@gmail.com"); mail.To.Add (email);...

View Article

GUI Error: You are pushing more GUIClips than you are popping. Make sure they...

I am getting the error GUI Error: You are pushing more GUIClips than you are popping. Make sure they are balanced) and the error ArgumentException: The prefab you want to instantiate is null....

View Article

NullReferenceException: Object reference not set to an instance of an object...

using UnityEngine; using System.Collections; public class NetworkManager : MonoBehaviour { public Camera standbyCamera; SpawnSpot[] spawnSpots; // Use this for initialization void Start () { spawnSpots...

View Article

Error I don't know how to fix

Heres my code: #pragma strict var text : GUIText; var object : GameObject; var diamond : Sprite; var circle : Sprite; var triangle : Sprite; var square : Sprite; var number : int; var spriteRenderer;...

View Article


RaycastError

I am using a raycast script to place a 2d object in 2d space, but it keeps coming up with 'Object reference not set to an instance of an object' When i use the same line of code in a 2d world with only...

View Article

Ball jumping mechanic, scrip errors.

okay so i have done movement and i need to get my jumping script done but there are some errors that just keep coming up no matter how i try fixing it. script: #pragma strict //variables for ball var...

View Article


4 errors, line (87,28) (99,30) (125,31) (133,31)

using System.Collections; using UnityEngine; //List of all the posible gamestates public enum GameState { NotStarted, Playing, Completed, Failed } //Make sure there is always an AudioSource component...

View Article

FAILED(hr) and Unity doesn't say anything else about it

I honestly have no idea what happened, until yesterday it was working just fine, and now it tells me this. The last thing I did was add some audio into the game. Any help would be appreciated.![alt...

View Article


PhotonNetworkConnectManually Error

Hi, I've imported Photon Unity Networking package, and I got this error: **Assets/Photon Unity Networking/PlayMaker/Actions/PhotonNetworkConnectManually.cs(35,39): error CS0117: `PhotonNetwork' does...

View Article

Compiler Error...Help Needed.

I am very new to Unity, and scripts elude me. I can't seem to find what's wrong in this error, but if someone could fix it, I'd be thrilled and grateful. Could not start compilationWin32Exception:...

View Article

im having trouble with raycast shooting script

well its in the description. i am getting some errors and i cant figure out what is going on. here is the script, and thanks in advance var Bullets : int; var CanShoot : boolean; var TheDamage = 10;...

View Article
Browsing all 7934 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>