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

InvalidCastException: Cannot cast from source type to destination type.

I'm getting this error in my script: InvalidCastException: Cannot cast from source type to destination type. Player.HandOfCROS () (at Assets/Scripts/Player/Player.cs:47) Player.Update () (at...

View Article


Can't send RPC function since no connection was started.login script

ok so got the http://u3d.as/content/saulius/login-system/47X i got the server end working fine client side seems it resgisters a username but when i client login or even register get Can't send RPC...

View Article


Error cs8025 script (parser error) How i can fix this?

using UnityEngine; using System.Collections; public class LanternaSlender : MonoBehaviour { public Light spotLightFL; private Ray rayToInteract; private RaycastHit hitInteract; public float...

View Article

C# damage script help

I have borrowed this script in C#, which I attatch to my enemies. However, it keeps saying that there is a parsing error on the last line. using UnityEngine; using System.Collections; public class...

View Article

Major errors on Build/export of game (CODING HELP NEEDED)

I've run into another, sadly far more complicated problem. So i've been working on a small indie horror game, and I've been periodically exporting and uploading a web version of my game to show my...

View Article


Error UCE0001 ";"Expected

Hi! I have this code and it says insert ";" but i have it there already There. var pScore:GUIText; var eScore:GUIText; static var Str : String; function OnGUI() { pScore.text = "Player Score: " +...

View Article

Network.Connect returns NoError but no connection?

Hi, I'm developing an online game, I was testing it on my computer by building into an .exe, and run two different instances. Everything works fine, I can connect the other instance's room and such. I...

View Article

What's wrong with that script?

Hello, I have this script but it gives me errors on line 17 & 19 I can't find out what the problem is, as I'm not the writer of this script. Can someone help me? #pragma strict var target :...

View Article


Merging mesh error

Hi all, I'm really trying to do something quite simple here and Unity is throwing what is obviously a wrong error. I know I must be doing something wrong but still, the given error is not helping at...

View Article


Figurine stand system problem

Hello! i'm having a weird problem with a script i made, i made a figurine system to watch collectible figurines or trophies in my videogame, in a figurine stand, and my script is used to change the...

View Article

Error: Check external application preferences

I'm new in Unity and this is my first game. I've already read the other answers to that question, but I couldn't solve the problem yet. So I need a game character that can run, hide and just stand. The...

View Article

Game works differently on android

So i have this complete game that works fine on the unity editor. You launch the game, click/tap the Play button, and you enter a scene in which cubes pop up. Now when i build&run it to my galaxy...

View Article

WaitForSeconds...

I have had excruciating tries of finding a solution to this error, but I seem to find nothing. I have a simple cube prefab that spawns, and I want it to be destroyed after a three second delay. I used...

View Article


NullReferenceException array

I have a serious problem with this segment of code.....the last part of it when I index through the array it always gives me NullReferenceException but I know the list isnt empty and my Cel class has a...

View Article

asset store error?

hello every one ; when I want to go unity asset store this error shown: Your country is blocked due to the U.S. Government restrictions. what is this? is it exist for any other user? why I should...

View Article


Lots of !IsFinite() Errors and FPS crawling to a halt - How to debug?

Hello, When I'm running my game, I'm getting tons of !IsFinite() errors, and this causes my game to really crawl (like under 0.5 FPS crawling). Messages are very uninformative, and I have no idea how...

View Article

configuration problems in the progam.

hello I have a problem. button "Joystick Up" is shaking alone. I have no joystick plugged into the computer but still when I try to reconfigure a key in a game it appears instantly.

View Article


Error CS0029 fix

I have an error wich says "Cannot Implicitly convert type 'char' to 'string'" Heres the code: `public void OnButtonPressed (VirtualButtonBehaviour vb) { Debug.Log("Button pressed!");...

View Article

"ArgumentOutOfRangeException: Argument is out of range."

Hello. So I have this code in my RTS space game, which spawns moons and gives planets textures depending on their distance from the sun. using UnityEngine; using System.Collections; using...

View Article

Player sinking into walls and floor with Raycasts

I'm pretty new to Unity, and I've been trying to make a basic 2D platformer using 2d Toolkit. I tried using the Character Controller, but I need the precision of a box collider, I can't use the capsule...

View Article
Browsing all 7934 articles
Browse latest View live


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