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

Creating multiple text components on a canvas

In order to create a simple Debug Menu, I have created a Canvas on an empty GameObject using C#. I am now trying to add text to the Canvas. My code is as follows: GameObject g = new GameObject();...

View Article


Project Scripts Messed Up

So I recently add a script to instantiate my player into the game. This caused most of the scripts to not work anymore. I removed the instantiate script, but my scripts are still messed up. I checked...

View Article


Opening Project in Non-Matching Editor Installed

Hello everyone, When i want to open my project-file it shows me this (see picture). I pressed on continue, but now my project is broken. Luckily i made a backup from the whole project. Its still...

View Article

Why does this script make unity crash?

using UnityEngine; using System.Collections; //THIS SCRIPT MAKES UNITY CRASH-------------FIGURE OUT WHY public class weaponProjectileInst : MonoBehaviour { public bool hasntHitAnything = true;...

View Article

InvalidOperationException: Operation is not valid due to the current state of...

1. create a GameObject and set a public param named color. 2. go to Scene and editor the color param with color picker. 3. then throw this error. While it I don't run the game. How can I fix it ? Or...

View Article


Gamebreaking error.

i try to play my game i made and i got this: Assets/Standard Assets/Utility/TimedObjectActivator.cs(4,19): error CS0234: The type or namespace name `SceneManagement' does not exist in the namespace...

View Article

Raycasting Stopped Working all of a sudden

Hello, i am using a script to select units with raycasting. While the script used to work just fine. All of a sudden it stopped hitting both the terrain and the objects. I have many objects with...

View Article

Error CS0246, CS1502 and CS1503

Hi, I'm new to Unity. I was wondering how I'm getting these errors. ![ERRORS][1] [1]: /storage/temp/67003-capture.png

View Article


Keep Getting NullReferenceException: Object reference not set to an instance...

this is super annoying and I cant seem to understand why im getting it, someone explain it please? Heres the line that gives me the error; txtDate.text = DateNumber.ToString("0"); and heres the whole...

View Article


Help with SQLite for Android Errors in Unity3D?

Hi guys! I am trying to adapt a script to work with SQLite4Unity3D but I am struggling with 3 errors. I was wondering if anyone could help. Here is the script. I have adapted it as far as I could:...

View Article

I can not start my unity secion 5 (service not available, try again later)

5.2.4 unity I have every time I start to enter unity says my account and activate unity but I put my mind and tell me (service not available, try again later) not because it tells me that if I have...

View Article

UnityEngine.UI.Graphic.OnRebuildRequested () on debug mode

Hi guys ! I got a issue while debuging with MonoDevelop C#. When I play my scene, everything is cool, no probleme, no error. When I activate the step by step debugging tool of Mono, the Debugger don't...

View Article

i cant click the test button on my game

when i click the play button it just makes a pop up on the scene screen saying all compiler erors have to be fixed before you can enter playmode

View Article


Can someone please tell me whats wrong with this?, because when i put it says...

Please help using UnityEngine; using System.Collections; public class NewBehaviourScript : MonoBehaviour { public float MoveSpeed; private Vector3 input; // Use this for initialization void Start () {...

View Article

WebPlayer error verifying mysql.data.mysqlclient.mysqlconnection could not...

Hi, I am trying to build and run via web player. In the part of build, it is success but when open on web browser such as safari I got the error: error verifying...

View Article


does not implement interface member System Icomparable

I have this code: using UnityEngine; using System.Collections; using System.Collections.Generic; using System.Linq; using UnityEngine.UI; using System; public class Hablar_con_Inteligencia_4 :...

View Article

UCE0001 Error

(17,32) on this line UCE0001 and that stuff, so check it out. It gives me that error. GetComponent(Rigidbody)velocity.y = jumpHeight; Any help would make me very happy and thankful.

View Article


HingeJoint2D Input connectedAnchor is { NaN, NaN }. in Editor

Hi, Guys. I am using Unity 5.3.4f1 Personal. Sometimes when i create Hinje Joint 2D, connect it to another RigidBody2D and try to move Anchors with mouse in Scene window it shows me this errors. No...

View Article

Unity Account Inconsistency

When go to my account details via: https://www.assetstore.unity3d.com/en/#!/account the username displayed is "User 1698648". I can assume this is the default name displayed for people who hasn't...

View Article

error "not all code paths return a value" in a function

Sorry, because I know this has been asked a hundred times before. But I have no idea why this code is giving me this error, because I cant see any path it could take for it to not return a value......

View Article
Browsing all 7934 articles
Browse latest View live


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