[PUN] Why is my Photon script not working? Help!
Here is my script attached to my player and it contains all the stuff to allow my players to move. I have my networkmanager sciript which allows them to join the game. But for some reason the game is...
View ArticleFailed to recompile android resource files.
I know, that this is a duplicate question. But I have no idea how to solve this problem. I've been searching the web for two days now. Please help! This is the error I am getting whenever I try to...
View ArticleWhat does the error PlayerMovement.cs(3,14): error CS0101: The namespace...
I copied the movement script from unity training day 2014 internet tutorial. When I insert the script into my game it gives me the Assets/_CompletedAssets/Scripts/Player/PlayerMovement.cs(3,14): error...
View ArticleInternal Compiler Error!! Need help!!!
Every time i launch Unity i get this error Internal compiler error. See the console log for more information. output was:error CS1679: Invalid extern alias for /reference. Alias 'D:/-' is not a valid...
View ArticleError unexpected symbol 'internal' What is wrong with this?
public class BatteryCollect : MonoBehaviour { public int charge = 0; public Texture2D charge1tex; public Texture2D charge2tex; public Texture2D charge3tex; public Texture2D charge4tex; public Texture2D...
View ArticleGet rid of certain warnings on the console.
Is there a way I can remove certain warnings on my Console? Like, just hide them or something. I've tried googling but can't find any. And the reason I'm doing this is because I used...
View ArticleOnCollisionEnter2D not working?
Hello. I searched up OnCollisionEnter2D and used the code it was provided with. I modified the code into #pragma strict function OnCollisionEnter2D(coll: Collision2D) { if (coll.gameObject.tag ==...
View ArticleUnity wont open scripts help!
My unity is not opening my scripts its giving me error : Check extrenal application perferences I used unity now i instaled new windows on my pc and agin installed unity and now i cant write scripts help
View Article"Error - Could not read license loader html." (Unity 4.6.3)
I have never used Unity before and would like to. Why would I get this for a first time user and what should I do to fix it? And no, I can't manually activate the license because Unity.exe doesn't...
View ArticleNullReferenceException on TransformArray
Hi I am trying to make a MoleHandler script to spawn Mole prefabs on the designated places. When a Mole dies it should make its Transform free for other Moles. I store the open places in a Transform[]...
View Articlecompiler error
Could not start compilationWin32Exception: ApplicationName='"C:/Program Files/Unity/Editor/Data/Mono\bin\mono.exe"', CommandLine='"C:/Program Files/Unity/Editor/Data/Mono\lib/mono/unity\smcs.exe"...
View ArticleError building Player: CommandInvokationFailure: Failed to re-package...
Hi, I was trying to build a game, but I got this weird error that prevents me from building the game. So, the error is:- Error building Player: CommandInvokationFailure: Failed to re-package resources....
View Articleerros and bugs
I'm trying to make 2d roguelike game but somehow the image looks scary. here are the error's that I received from the console....
View Articlei'm getting an error CS1525 which is saying my comma after the sx is...
using UnityEngine; using System.Collections; public class NewBehaviourScript1 : MonoBehaviour { float sx; float sy; // Use this for initialization void Start () { sx = Random.Range (0, 2) == 0 ? -1 :...
View ArticleHELP! Buttons stop working when made a child of a "Canvas Group" empty in...
Okay so now I have noticed a big problem for me. While creating a rather complicated **MainMenu** with a few pages and my **SceneHUD** canvas, I have been using the **Rect Transform** version **Empty...
View ArticleWater shader is pink
Hey, I tried reimporting the water pro tools. But, it is pink. The terrain textures isn't pink. I have already tried other places on the forums and it still wouldn't work.
View ArticleFile.WriteAll-Input string was not in the correct format
Hello everyone, I have this issue with the following code: System.IO.File.WriteAllText ("file://" + Application.dataPath.Replace("/Documents/Ez 5 ez life/Assets", "/Desktop") + "/copyable.txt",...
View ArticleCan't adjust Unity5 Image Effects
Hello, I'm using Unity 5 'till now, but I just can't adjust some Image Effects, principally Bloom and Depth of Field (Scatter, DX11), but some others too. Do anybody knows this problem and how can I...
View ArticleNullReferenceException - BurgZerg tutorial issue
Hey everyone, I'm going through a tutorial done by BurgZerg and I'm having issues with the EnemyAttack.cs I have tried searching other questions but I am unable to come to a logical conclusion. I am...
View ArticleMonoDevelop Crashing On Startup with No Error Message
I'm having an issue on a Mac Pro where Monodevelop won't open, it crashes on startup. Essentially when I try to open any scripts Monodevelop starts to open, bounces a couple of times, then closes...
View Article