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

I'm building PacMan game by tutorial and getting error: `Property collider2D...

public float speed = 0.4f; Vector2 destination = Vector2.zero; // Use this for initialization void Start () { destination = transform.position; } // Update is called once per frame void FixedUpdate ()...

View Article


How can i solve it?(ERROR)

[1]: /storage/temp/52606-screenshot-33.png I am new to unity and i tried to use iTween to let the boat automatic move,![alt text][1]When the Fps controller fall in the scene , [The game will be...

View Article


Building WebGL compiles but when I open the webpage I get error occured of...

Recently installed Unity 5.1 and had a project from 4.5 which I upgraded to use in 5.1, fixed some issues with the changes and then built as WebGL which compiled and worked. When I opened up the...

View Article

Hi im getting this error in my script Assets/MouseManager.cs(11,27): error...

using UnityEngine; using System.Collections; public class MouseManager : MonoBehaviour { void Update() { if( Input.GetMouseButtonDown (0) // We clicked, but on what? Vector3 mouseWorldPos3D =...

View Article

How can i fix ''All Compiler errors have to be fixed before you can enter...

In the console this is what it says Unhandled Exception: System.UnauthorizedAccessException: Access to the path "C:\Users\Public\Documents\Unity Projects\New Unity Project...

View Article


Help im getting the following error: error CS0121. The rest of it is in the...

Assets/Drag.cs(12,66): error CS0121: The call is ambiguous between the following methods or properties: `UnityEngine.Vector3.operator -(UnityEngine.Vector3, UnityEngine.Vector3)' and...

View Article

Problem when compiling my project

I got this error when compiling my project... Error building player: Win32Exception: ApplicationName='javac.exe', CommandLine='-bootclasspath "D:/Android SDK Tools/platforms/android-22\android.jar" -d...

View Article

Object reference not set to an instance of an object (c#)

The problem is on line 20 but as I have little knowledge on scripting i'm not sure what the problem is. using UnityEngine; using System.Collections; public class DestroyScript : MonoBehaviour { public...

View Article


I got an error message while coding the player movement in the unity survival...

I got this message after coding my players movement in the survival shooter asset Assets/Scripts/Player/PlayerMovement.cs(47,31): error CS1519: Unexpected symbol 'Vector3' this was my coding using...

View Article


getting the error CS0201 and i cant fix it.

so i have started making games from this tutorial book i found online. it is a bit old i will admit. but in the following code i keep getting the error CS0201 in the line poi == null; and i dont know...

View Article

Script bug ("sript" is not a member of UnityEngine.Component)

( as script i will take the name : ExampleScript) So day 1 all my scripts were working right, i could play my game... But the day after i tried again. Opened up Unity and all my script got the error...

View Article

Unity WheelCollider.GetWorldPos expecting ), found 'pos' fix ?!

I want to get the tire meshes to the WheelCollider position. But there are a few errors. (Here I use a test script) #pragma strict var Wheel_1 : WheelCollider; public function Update () {...

View Article

How can I solve this error?

my script : public class Move : MonoBehaviour { public CharacterController CC; public Animator Ani; float MoveSpeed; float TurnSpeed; Vector3 V3; // Use this for initialization void Start () {...

View Article


Problem accessing member of the Slider class

Hi guys, I keep getting an error while trying to access a member of the Slider class. Here's how I'm accessing the member: import UnityEngine.UI; var SliderObject : GameObject; var Societa :...

View Article

Getting component from c# to java script

Hi all i have problem with my game because in one script i want to script to get component from 'SmoothFollow' script "" var cam = Camera.main; cam.GetComponent(SmoothFollow).target = newball;'' but...

View Article


Error CS8025 What can i do ?

this is my code in c #: using UnityEngine; using System.Collections; public class BoatController : MonoBehaviour { CharacterController cc; CharacterMotor cm; Gameobject Player; Transform...

View Article

Too Many Errors For No Reason!

@username Hi, my 2d game already has a script attached to the player that I have never edited. But today I opened Unity and almost everything that I made was duplicated and I had over 170 errors. And...

View Article


Consider storing in temporary variable error when stored in a temporary variable

I am trying to rotate the camera in my game using this code, Vector3 temp = MainCamera.transform.rotation.eulerAngles; temp.x = 50.31731f; temp.y = 90.0f; temp.z = 0.0f;...

View Article

PlayerController.cs(8,8): Error CS0029: Cannot implicitly convert type...

using UnityEngine; using System.Collections; public class PlayerController : MonoBehaviour { private Rigidbody rb; void Start () { rb = GetComponents(); } void FixedUpdate () { float moveHorizontal =...

View Article

prasing error

it says prasing error but I do not know what this is

View Article
Browsing all 2891 articles
Browse latest View live


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