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

Compiler telling me raycast.collider is obsolete

In my code I have: Collider2D playerFinder = Physics2D.OverlapCircle (transform.position, 5f, playerdetect); if (playerFinder.collider != null) { On that second line I am getting the error message:...

View Article


Type could not be resolved because of cycle

I made a simple Javascript flamethrower but I get this error: Assets/FlameThrower.js(30,9): BCE0070: Definition of 'FlameThrower.ShootShort()' depends on 'FlameThrower.ShootLong()' whose type could not...

View Article


how do i fix error1519

help i dont know what to do public class PlayerScript : MonoBehaviour { public float moveSpeed = 5; CharacterController void Start() { } void Update () { GetComponent().Move(new...

View Article

FormatException: Unknown char

Hi I am trying to read information from a file and when it comes to a certain part is gives me the error "FormatException: Unkown char: C". I would suspect it being "Cannon Cube" which is located in...

View Article

Error CS1729 the type UnityEngine.Vector3 does not contain a constructor that...

I have this error and another error: ERROR CS1612 cannot modify a value type return value of UnityEngine.Transform.position consider storing the value in a temporary variable. Code: using UnityEngine;...

View Article


Compiling error Wont start

Any help ? I cant test the game because of this Assets/BIG_Environment_Pack/Standard Assets/Editor/Water (Pro Only)/Water4/WaterBaseEditor.cs(8,13): error CS0246: The type or namespace name `WaterBase'...

View Article

Error CS 0120: an object reference is required to access non-static member...

I am a beginner in scripting and was following a tutorial on how to add controller support to a VR game in unity. when trying to enter playmode I get this compiler error (the title of my question)....

View Article

Error message Failed to get preparsed data

Hello, I have an error that said " Failed to get preparsed data..." and when I close the project and then, I open it, it doesn't appear for some minutes and then it appears again. How can I solve it??...

View Article


How to fix the CS0433 error?

Assets/UnityTestTools/UnitTesting/Editor/TestRunner/GuiHelper.cs(91,24): error CS0433: The imported type `Mono.Cecil.Cil.SequencePoint' is defined multiple times What would be the cause of this error,...

View Article


UnityEngine.UI.Graphic.OnRebuildRequested errors

Does anyone knows what this means? NullReferenceException: Object reference not set to an instance of an object UnityEngine.UI.Graphic.OnRebuildRequested () (at...

View Article

Error* Scripting problem.. Dont no how to explain I have script and photo!!

I am making my enemy AI off a few online tutorials mixed in one and I can't find out how to get rid of this error message, I havent figured out what is wrong with the coding, and I hope you can help...

View Article

error cs1519 pls need help

using UnityEngine; using System.Collections; public class ContorleSol : MonoBehaviour { public Light Sun; bool Luz = true; // Use this for initialization void Start () { Sun = GetComponent(); } //...

View Article

HELP IM NEW AND THIS KEEPS POPPING UP

SO im trying to test this var Rotationspeed = 100; function Update () { var rotation : float = Input.GetAxis ("Horizontal") * Rotationspeed; rotation *= Time.deltaTime; UnityEngine.Rigidbody();...

View Article


Unity Web Player not opening in IE or Firefox

Hello I work in a school system. I have installed Unity and whenever I try to open a website that uses Unity in Firefox I get a "fatal content error". If I open the site in IE I get an error about...

View Article

Error CS0535?

using System.Collections; using UnityEngine; using UnityEngine.EventSystems; using UnityEngine.UI; public class Slider : MonoBehaviour, IPointerClickHandler { public UnityEngine.UI.Slider barvalue ;...

View Article


error CS1525: Unexpected symbol `float'

![alt text][1]So I was following a YouTube tutorial for a game i'm making and atm i'm doing prallaxing. I copied the code word for word and I am still getting the error. NOTE - I HAVE NEVER CODED C#...

View Article

DirectoryNotFoundException on new projects

Hey. When I create a new project in Unity 5.2.1 and try to switch platform I got the "DirectoryNotFoundException: Could not find a part of the path "C:\Users\baran\Desktop\New Unity...

View Article


Help!!!Always error: TargetParameterCountException: parameters do not match...

When I move a file error, such as moving a cube preset,This question had never collide, but now will appear each move.Specific error message is as follows: TargetParameterCountException: parameters do...

View Article

what is the meaning of this error??:Broken YAML...

![alt text][1] [1]: /storage/temp/55186-error-ufe.png

View Article

THIS IS BUG of UNity 5.0.1 ???HOW I can SOLVE THIS?

**HAI ALL, i have upgrade my Unity from unity 4 to unity 5.0.1f** .. But i always have some warning "**failed to create device file**". How i can Solved this?? This is Bug? This should be fine for my...

View Article
Browsing all 2891 articles
Browse latest View live