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

Unity Found Characters In A Script That Aren't There. How Do I Fix This Error?

Here's a copy of the error I got directly from Unity: Assets/Scripts/Car Movement.js(67,65): BCE0044: expecting ''', found '\r'. I don't even have the characters \r at all in the entire script. Here's...

View Article


Target lead (aim ahead) problem

Hi, trying to upgrade my turret asset, but target lead is giving me problems. Its just not working. After days on-off googling I came down with the following few methods I found the clearest. But both...

View Article


Npc Quest System Array Error

Ive got a script from a YouTube tutorial on how to make an NPC quest system. Ive done everything the same way that the guy in the video does, but I get an array error. GUILayout.Label(Questions[0]);...

View Article

why does my wall check not work?

I used the following script and set a child of the enemy CPU and set the wallCheckRadius to 0.1. I am trying to figure out why the wall check will not work? public float moveSpeed; public bool...

View Article

Slider not found?

I'm making a game that uses a health slider for the tutorial enemy. The console says that the type can't be found. Here's the code: using UnityEngine; using System.Collections; public class...

View Article


Enemy AI Script

I have this script that makes the enemy follow the player, but for some reason i keep getting errors and i don't know why. var target : GameObject; //the enemy's target var moveSpeed = 3; //move speed...

View Article

Space opening main menu (undesired)

I recently changed a button in my game to space (as was requested by some of my friends). It does its function but for some reason it opens up random canvases (all canvases closed with canvas.enabled...

View Article

error with list & struct

Hi im getting a weird error when using a list and struct and trying to call a specific element from a list. public List selectedUnits = new List(); public List units = new List(); [System.Serializable]...

View Article


UCE0001: ';' expected. Insert a semicolon at the end.

I'm doing a really simple script and keep getting the syntax error how should i go about fixing it. (9,18) #pragma strict var rotationSpeed = 100; function Update () { var rotation : float =...

View Article


Please Help me !

hi gyz .. i need know verable Slider .. public GameObject Slide_Sound_GO; public Slider Slider_Sound; **In Start** Slide_Sound_GO = GameObject.FindGameObjectWithTag("Slider_Sound"); Slider_Sound =...

View Article

Photon error nentworking

Hello!! I have this problem! The function exist. Please help me.. Received RPC "ChangeArray" for viewID 3 but this PhotonView does not exist! Was remote PV. Remote called. By: 1 Maybe GO was destroyed...

View Article

Expecting EOF, found public

So I wrote this script based off of a script that was used in an answer on this website, but I have a problem: Unity says that public is unexpected and it was expecting the EOF. I'm not sure how to fix...

View Article

Level Start error :/

Hi... Im here newbie and im making FPS game... I made this script...(For now im using or just trying to use singleplayer so thats why it has only aplication....) So...This is my code: using...

View Article


need help making my 2d bubble pop on touch / click

Need help making my 2d bubble pop on touch / click I have the bubble pop animation to wear it animates I have the animation set through a new state so it does not run automatically like i saw in...

View Article

how to fix WireframeBehaviour.cs(41,24): warning CS0618 error

![alt text][1] [1]: /storage/temp/59010-capture2.png

View Article


Unity 5 Swiching cameras causes missing scene

I'm making 2D multiplayer game where the player game object is being instanciated from a prefab. There is a Camera inside that player. When the player connects and is spawned. I want to swich from main...

View Article

Why am I getting this error with my BannerAD (Admob)

This is the error i'm getting : "Assets/Scripts/BannerAds.cs(7,24): warning CS0649: Field `BannerAds.bannerView' is never assigned to, and will always have its default value `null'" this is my script:...

View Article


Compiler Error CS0120, GUIText

using UnityEngine; using UnityEngine.UI; using System.Collections; public class triggerZone : MonoBehaviour { public AudioClip lockedsound; public Text text; public static bool inside = true; // Use...

View Article

IL2CPP Build error with enum or coroutine.

If I try to use Enum or Coroutine (IEnumeraltor / IEnumerable) in specific class, I got IL2CPP error with iOS/64bit. but, I'm using Enum or Coroutine in anothor clesses with no problem and IL2CPP build...

View Article

InvalidProgramException: Invalid IL code in Player_Control:OnDisable ():...

Been strugeling with this error for a week now. As far as I understand its somthing to do with my Nlua intergration but due to a lack of knolledge of what this perticular error means, I cannot fix it....

View Article
Browsing all 7934 articles
Browse latest View live


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