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

Handling empty ADBannerView (iOS, Unity 4.5.1 Free)

I've added an ADBannerView to my game following the code in the Unity docs (http://docs.unity3d.com/ScriptReference/ADBannerView.html), and I've been testing it thorougly to make sure it won't show...

View Article


Why can't I import all the files from character controller

When I try to import the character controller I can't seem to import the files in textures Moving file failed Package/bd3e36440b68e2747bc23a0788af6dec/531c14f8d5cdc4e5baa83ee6e16f783a/asset to...

View Article


2D bullet script errors.

I'm currently trying to make a 2d game that allows the player to spawn and launch a bullet, however i'm getting a couple of errors. Specifically the errors are: "Assets/RangedAttack.cs(26,61): error...

View Article

Input string was not in the correct format

Anybody know why this error is happening? Input string was not in the correct format System.Int32.Parse (System.String s) This is my script.Something that i notice that on line 87.The...

View Article

Error building player (unsupported data)

This question has been asked before, but all answers point to NGUI and text materials as the problem. This is not the case, here, as I'm not using NGUI. I get three errors when attempting to build for...

View Article


Not receiving exp

Hi guys, i created a database in a webhost and exp in it but it is bit retrieving my information.Here's my script.I get this error. FormatException: Input string was not in the correct format...

View Article

Entering/Exiting Vehicles

I have a error with the script. if (Input.GetButtonDown("Vehicle")&& isPlayerVisible) { Debug.Log("Driving"); player.gameObject.SetActiveRecursively(false); player.gameObject.active = false;...

View Article

Photon, failed to network remove object.

The full error reads, failed to network-remove gameobject. Client is neither owner nor masterclient taking over for owner who left. All the objects have photonveiws. Here is the RPC I'm using to...

View Article


Unexpected Error For Exp

Hi guys,i havee a script that takes xp from my database and just sets it on the player public void GetXp(string User) { Debug.Log ("GetXp Successful"); WWWForm www = new WWWForm (); www.AddField...

View Article


string comparisons

Hi guys, to fix my last problem i changed everything to a string but now i have a problem i cant use >, = ,>= i cant use comparisons,how do i fix this?thanks

View Article

Help with Error CS1519?

i am trying to do a tutorial off of youtube and i am writing the code but i always get error CS1519 unexpected symbol void' in class struct or interface member declaration. I tried everything....

View Article

Multiplying a string

Hi,guys after all my recent post (sorry there were so many) i managed to bring it all down to only 1 error.Now i dont know how to multiply a string like exptolevel is 1000 how do i multiply that string...

View Article

';' expected. Insert a semicolon at the end. already one there?

saying that its expecting one within the code but i cant find it as im still very new to javascript so can someone help me find the problem. #pragma strict var Level1=true; var Level2=true; var...

View Article


What to do when there is an error at runtime

Hi! In a Java program, when the program is executing and there is an error, the compiler stops the program and throws an exception. Is there something similar to this in Unity? I mean, in case my...

View Article

Scripting error

I'm trying to enter in a simple "Enemy Health" script but it keeps telling me UCEOOO1: Expected ' ; ' Insert semi-colon at the end. but i cant locate where it would go every where iv tried has popped...

View Article


String Multiplying

Hi guys i have a problem.I have set all some of my int into string to work with another script(only chance for the script to work) and now i cant multiply the value of that string so i converted the...

View Article

Ending my game

I'm making a parkour game that when you hit the water the game ends, so I attached this script to the water using ;UnityEngine; using ;System.Collections; public class EndOflevel : MonoBehaviour { void...

View Article


ExpToLevel not increasing

Hi guys,i have been using this script for leveling in the game but i tried to simplify it to make it shorter then after i did that,my leveling stopped working. NewScript: using UnityEngine; using...

View Article

Entering/Exiting Vehicles Part 2

I fixed some of the problems and if (Input.GetButtonDown("Vehicle")&& isPlayerVisible) { Debug.Log("Driving"); player.gameObject.SetActiveRecursively(false); player.gameObject.active = false;...

View Article

Random NullReferenceException

Hey guys, I'm making a game that's based on touch. What I have is that every time the screen is touched, there are tiles on the screen that get activated. They are different types of tiles. I want that...

View Article
Browsing all 7934 articles
Browse latest View live
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>