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

Object reference not set to an instance of an object

Hello, I'm pretty new to Unity and Java programming and I've been trying to make a score system. I have a script called ScoreController and it looks like this : private var textScore : GUIText; public...

View Article


Error building Player: Exception: apk

This is the error I am getting everytime I am trying to make a build Can someone please help me out `Error building Player: Exception: apk (invokation failed) ERROR: No such file or directory...

View Article


Blender UV map texture problem?

Whenever I try to UV unwrap an object in blender, then place a texture on the object in Unity, the texture comes up all patchy and distorted (Unless the object has a square face). Is there an easier,...

View Article

Problem creating GUI.Window, Help please!

Hi i'm having some trouble while trying to use GUI.Window here's my code: void OnGUI() { baulRect = GUI.Window(BAUL_WINDOW_ID, baulRect, WindowBaul(BAUL_WINDOW_ID), "Baul"); caracteristicasRect =...

View Article

I am making an app for the app store but whenever I change the setting in...

It also comes with this error. opengles error 0x0506

View Article


Error: SUCCEEDED(hr) with SystemInfo.deviceUniqueIdentifier

Whenever calling `SystemInfo.deviceUniqueIdentifier` for the first time in the editor, the console fires this error twice. SUCCEEDED(hr) UnityEngine.SystemInfo:get_deviceUniqueIdentifier() Following...

View Article

The best overload for the method 'System.Array.Clear(System.Array, int, int)'...

I've been trying to figure out what I did wrong, and I thinks it's something obvious, but I just can't figure out what. Here is the code with the error: #pragma strict var nearObjects : Collider[];...

View Article

Problem with calculating distance

So I'm trying to make a script that checks that a tagged object is still near it after three seconds. If it's still less than a certain distance away, the script will load the "completed" state for the...

View Article


I need to know how to get rid of this EOF error.

This is the error: Assets/flashlightonandoff.js(1,1): BCE0044: expecting EOF, found 'Light'. I am making a game sort of slender-ish and I wanted a button to toggle the flashlight on and off so I have...

View Article


transform.LookAt is not looking, and not displaying errors?

Hi all. I am using this code to make on of my AI look at a random waypoint. ---------- var waypoint : Transform[]; function update() { transform.LookAt(waypoint[Random.Range(0, waypoint.Length)]); }...

View Article

Unity Projects 01 Stealth - problem!

I'm download Project Stealth from Asset Store. And... When I import assets to my project, show me a error: Runtime Error! Program: This application has requested to terminate it in an usualy way....

View Article

Warning NameSpace 'System.Collusion' is never used

var lookSensitivity: float =5; function Update () { } i have this error "Warning NameSpace 'System.Collusion' is never used BCS0016"

View Article

Animation CrossFade Help Missing Method

Ok, so i have my animations and there on my model and the script is on there but when i play i get an error : **MissingMethodException: UnityEngine.Animation.CossFade** var PlayerState : float; var...

View Article


GUI Question

I have written a code for gui but what happens is when playing it in the editor it works perfectly but when I build the game and run it the gui overlaps after pressing button I have used code like...

View Article

What does IndexOutOfRangeException: Array index is out of range mean?

I am doing a Unity tutorial and have run into an error. OutofRangeException : Array index is out of range. What does this mean and how do i fix it? Here is my code : #pragma strict //Enemy Script...

View Article


Orthello MissingReferenceException when loading screens

I'm using Orthello 2d to try and develop a 2d game in Unity, and I'm encountering a problem I have no idea how to deal with. I've got two scenes - one is a level scene, which shows you which level...

View Article

How to return true if object is in invisible object?

My character is inside an invisible object. I want it to return true when my character is inside the invisible object. What keyword am I missing?

View Article


Assets/Eat_Meat.js(27,14): BCE0020: An instance of type...

I am making a game in which you eat to survive. i have a code which when you walk near a box (which will become food) it has a certain amount of food which will decay every second you stand near it and...

View Article

Destroy(this) not working properly

I don't think that my Destroy(this) function is working properly, here's the script using UnityEngine; using System.Collections; public class NpcHandler : MonoBehaviour { public string npcName; public...

View Article

Wind Zones and External Forces causing crash after exiting game.

Hello, Whenever I include a *Wind Zone* or a Particle System with *"External Forces"* in a scene, the game will run just fine, however after quitting (Via the X button, or Application.Quit()) I get a...

View Article
Browsing all 7934 articles
Browse latest View live


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