Script error CS0029: Cannot implicitly convert type `float' to `bool'
Hello everyone! on my project I get this error in this script. CharacterController2D.cs (332.23): error CS0029: Can not implicitly convert type `float 'to` bool' I enclose a picture. How could I solve...
View ArticleWordpress Unity File Embed
I am looking to embed a file into my wordpress site. I have tried using methods on line such as UnityDog plugin and even an outdated Unity Plugin. But once embedded, this is the image that shows...
View ArticleCompare RectTransform.position
Hello, I´m trying to test 2 RectTransform.position with this code: Debug.Log("HUD Pos:" + hudNextLevel.GetComponent().position + "Final: " + finalHudNextLvlPosition);...
View ArticleSucceded(hr) message in the log
Hi! Every time I do something in Editor SUCCEDED(hr) error message appears in the console. For example, I do resize of some window and while resizing the messages were adding to the console. How to fix...
View ArticleGame crashes after splash screen
Hello, When I try to play my game in the editor everything works just fine without any errors. But when I build and launch it, it displays the Unity 5 splash screen and crashes. The output_log can be...
View ArticleWeird errors in script
I'm getting some weird errors I can't understand. var tarZ : float; var dampX : float; var dampZ : float; var timeSwitch : int = 100; var death : boolean = false; var patrolling : boolean = false; var...
View ArticleError CS0119, CS1502 & CS1503
I have no idea what's wrong with this code but it's where the error is taking place "ToString" on line 4 is also highlighted red private void DisplayAttributes(){ for(int cnt = 0; cnt <...
View ArticleC# Script Haven't Check Box
Hi Eveybody, My C# Script Haven't Check Box And That isn't Working! Photograf ![alt text][1] [1]: /storage/temp/43109-screenshot.png My Script Name Is Slot. Palmname.cs Script Have a check box but...
View ArticleErrors in MeshCombineUtility
Hi When I upgraded to Unity 5 a few days ago I got these three errors from the Script MeshCombineUtility Assets/Scripts/CSharpScripts/MeshCombineUtility.cs(27,66): error CS1061: Type `UnityEngine.Mesh'...
View ArticleUnity failed to decompress package
Hello, unity community. I am trying to import unity ads to my game and I get an error(I will put the error in a code format so it looks a bit better) Failed to import package with error: Couldn't...
View ArticleWhy does my character fly upwards when I click play?
I little while ago, I was trying to make a new game. After I had finished up the basics of the terrain, I wanted to see what it would look like in the eyes of a player. I created the capsule and added...
View ArticleUnexpected symbol `less than', expecting `identifier' ,Help!
how do i fix this? using UnityEngine; using System.Collections; public class Movie : MonoBehaviour { void Start () { var aud = GetComponent.(); aud.clip = movieTexture.audioClip;...
View ArticleGame Scene becomes darker than it should be.
I'm using Unity 5 and the game becomes really dark for some reason. ![Playing from "Forest" Scene][1] From the top you can see the lightning is "Normal". ![Click on the button to go to main menu][2] I...
View ArticleRoll-A-Ball Problem
Hi guys, I know I sounds super stupid for having issues with the easiest tutorial there is, but I'm a 12-year-old newbie who wants to learn to develop, so don't judge! Anyways, I'm on part four of the...
View ArticleReference Rewriter: Error: type `System.Security.Cryptography.HMACSHA1`...
I am using **Unity 5**, Build Plateform **Windows Store Apps.** This works fine in **Unity 4.3**, but not working in Unity 5. I am using **HMACSHA1** for making signature, it is very important for me,...
View ArticleError CS0426 with RigidBody
using UnityEngine; using System.Collections; public class PlayerController : MonoBehaviour { public float speed; void FixedUpdate () { float moveHorizontal = Input.GetAxis ("Horizontal"); float...
View ArticleAccessing C# scripts from other objects
I'm sure this is asked a lot, but I have looked around but nothing seems to help fix this. I have a script that is going to activate image effects on a camera when the camera goes below a certain y...
View Article"Failed iPhone Remote Bonjour Service"
Hi All, So I'm getting this error which isn't doing much harm, but it suddenly appeared. It's "Failed iPhone Remove Bonjour Service" + my mac name, a bunch of numbers and letters then...
View ArticleThe name 'FirstPersonController' does not denote a valid type ('not found')....
I am trying to make my javascript be able to disable or enable the C# script FirstPersonController that you get from importing. I looked at the other questions like this and tried putting FPC into the...
View Article"The name 'Convert' does not exist in the current context" C#
I am trying to use Input Field boxes for multiplying the given input from the user. I need to change the string into an integer form so i can multiply it, then i need change it back to a string once it...
View Article