Quantcast
Channel: Questions in topic: "error message"
Browsing all 2891 articles
Browse latest View live

Why can't I make this VAR public ? (Solved)

I've been using this script from the unity tutorials which works fine as is. // Print the name of the closest enemy print(FindClosestResource().name); // Find the name of the closest enemy function...

View Article


Help! Error messages i can't prevent are causing my editor to lag.

I have a rigidbody with a bunch of child mesh colliders. When i change the mesh of one of the child objects i get an error. Actor::updateMassFromShapes: Compute mesh inertia tensor failed for one of...

View Article


Failed to receive dispatch signal. status=-11

I created android build for my project and run it into device. On touching of device screen I got following alert messages. ![alt text][1] [1]: /storage/temp/40681-screenshot-2015-02-13-221623.png How...

View Article

Invalid Layer Index?

OK this is weird, I have two animations that I start from a C# script, the animations are fine and they work OK but one of them will not play in my UI interface set up? I get the following error:...

View Article

Error message with code? C#

**I keep getting an error with my code: error CS1501: No overload for method `Attract' takes `0' arguments Here is my code:** using UnityEngine; using System.Collections; public class...

View Article


Operator '

Hi, So I'm new to Unity and I've just been messing around when I encountered this error. I was using this script I found online to make my enemy chase my first person character. I decided to use some...

View Article

Why isnt my code working? C# [NOOB]

**I need to know why my code is not working:** using UnityEngine; using System.Collections; public class ShipController : MonoBehaviour{ public float turnspeed = 5f; public float speed = 5f; public...

View Article

How to change a variable in the same script?

Hello, so I have this script attached to a gun my first person controller has. What it does is it plays an animation that zooms in and out the gun when the right mouse button is pressed. What i need it...

View Article


Shooting script Error message: expecting (, found 'Update'.

So I am new to coding and I am trying to make my gun shoot and add a sound. So far I got this code. I haven't written it and I tryed my best to understand it but I just don't get why it says the error...

View Article


Errors with Script C# [GetComponent, FindGameObject]

**I have some code that im using to simulate a player getting into one of my spaceships but it is not working, anyone know why. I am a beginner so i would not know the way to fix it unless i was told....

View Article

Google Play OBB Downloader Error Message

Hello ı am trying to use this plugin on my project.ı splited game to be apk and obb file.and ı make everything in tutorial and ı uploaded apk and my obb files to play as Alpha release and ı add me and...

View Article

R1.Hid error messages

I attached a picture of some error messages im getting. They dont seem to effect the game but they keep showing up. The only difference before they started showing up is I upgraded from 4.6.0 to 4.6.3....

View Article

error CS0116 Runner Ground movement issue

So im trying to create a runner game and teach myself c# at the same time (stop laughing, its easier for some to learn when its in practice) but i get the following error message:...

View Article


Iussue With building for Web Player

Hi, I am currently trying to change a PC build to a web build and I am coming across some issues. Mid way threw my build It kicks me out and I have two errors that I haven't come across and have...

View Article

Unity 4.6.2 Monodevelop Net framework issue

Hi, im starting to learn unity, i downloaded unity 4.6.2 a few days ago, i havent used it too much, but today i was starting a little project, and my problem is that when i create and try to open a...

View Article


Assembly-UnityScript.unityproj Not Working

I'm getting these errors in my XS workspace ever since I updated to 5.0. I fixed the majority of issues, but these are still here. Could not load project 'Assembly-UnityScript-firstpass.unityproj' with...

View Article

Switching cameras when at a node.

I wrote this to be attached to the "terminal" that switches any two cameras assigned, (Camera 1 being the player camera and Camera2 being an overhead). it worked well until Unity 5 told me that...

View Article


Getting three kinds of errors even after following the tutorial!

I am new to unity and am making my first game using the tutorial given by unity about making that ball rolling game.After creating the script for the player movement i get three errors namely CS0619,...

View Article

Object Reference not set to an instance of an object.

What is wrong with my code, I'm getting the object reference is not set to an instance of an object error here's my code: using UnityEngine; using System.Collections; public class AmmoBox :...

View Article

transform.position related compile error fixed don't understand why ?

Trying to make a simple script to make enemy objects move left and right. Unfortunately getting error message. script - using UnityEngine; using System.Collections; public class InvaderMoveBasic :...

View Article
Browsing all 2891 articles
Browse latest View live