Server still sending Packets to inactive clients and throwing errors. How can...
I can run the game connected to the server all day without errors, until I minimize the App on the phone. (Home screen button out of it) Once the client is minimized, after not too long the server is...
View ArticleThere's an issue with this script I can't find
using UnityEngine; using System.Collections; using UnityEngine.UI; public class SetPrice : MonoBehaviour { public Text me; Tower[] towers; Tower selected = null; int cost = 75; // Use this for...
View ArticleXamarin opens multiple windows.
Hello, I have started using Xamarin today and I love it so far; but there is one very annoying problem that I'm currently having with it. Basically every time I open a C# script, Xamarin opens a new...
View ArticleC# error cs0120
public class GenerationManager : MonoBehaviour { public Stack Prefab1 = new Stack(); public Stack Prefab2 = new Stack(); public Stack Prefab3 = new Stack(); public Stack Prefab4 = new Stack(); public...
View ArticleCant Shoot client, Unet
Hello, when i build my Multiplayer FPS game and hit Play in unity and create a LAN Host and then join the server with my build(NOTE! i am using UNET) it all works fine! BUT when i shoot the Client...
View ArticleErrors in my script
BCE0019: 'Play' is not a member of 'UnityEngine.Component'. BCE0144: 'UnityEngine.Component.audio' is obsolete. Property audio has been deprecated. Use GetComponent() instead. (UnityUpgradable)...
View ArticleThe name `EventSystems' does not exist in the current context
The questions in the title, I made sure that I added this: using UnityEngine.EventSystems; right under: using UnityEngine; using System.Collections; So I'm a bit dumbfounded, anyway this is my code:...
View ArticleBuild Error! :(
Hi, my game works in Unity Game-Mode but when I want to build it the following error appears: SpritePacker failed to get types from UnityEditor.Android.Extensions, Version=1.0.0.0, Culture=neutral,...
View ArticleWebcam mapping buffer error
I am trying to use the webcamtexture to display a live feed of my web cam in unity. But when I execute the code the plane which the image should be displayed turns black and I get these errors: ![alt...
View ArticleDoor control coordinates being a jerk
So, I was making a FNAF game with help from YT tutorials. I got a script down, but it is spawning the door animation in the wrong coordinates. Here's the code that I use. using UnityEngine; using...
View ArticleFace Plus and Unity error
Hello everyone, I'm totally new with Untity and Faceplus, and i have this problem : ![alt text][1] How can i fix it? Thanks :-) [1]: /storage/temp/77150-capture-decran-2016-08-29-a-134354.jpg
View ArticleUnity creates empty cloned object
I'm building a 2D game. I have a GameObject in my scene called "Player" with the tag "Player". In the script that handles my input and my camera movement, I have a call to find the player using...
View ArticleHow do we setup Unity to operate successfully behind a proxy server.
Cannot download from asset store or update versions and have to work offline on projects.
View ArticleC# Cannot reference scripts on the FirstPersonCharacter
Well, I have a few image affecting scripts such as antialiasing, bloom, sunshafts, colorcorrection etc.. And in an options section of my pause menu, I want to add the option of either disabling them or...
View Articleerror CS0103: The name `canvasGroup' does not exist in the current context
I trying to get the text to show and disappear in my scene . When I have save the script I have gotten five of the same errors . (18,13): error CS0103: The name `timeShown' does not exist in the...
View ArticleEverything worked fine, but after restarting unity a script has broken?
I even had a working build that's compiled and works even now. But after restarting unity, it claims that "The referenced script on this Behaviour (Game Object 'Option') is missing!". I have tried...
View ArticleResource compilation failed!
i read alot of answers on this question resource compile error fro android but my situation is different a bit the problem that one of my project is work well and have no error in buildings but the...
View Articleil2cpp/build/il2cpp.exe did not run properly!
Ok, when I build to WebGL. I keep getting this error: Error building Player: Exception: /Applications/Unity/Unity.app/Contents/Frameworks/il2cpp/build/il2cpp.exe did not run properly! I have seen many...
View ArticleNullReferenceExpection: Object reference not set to an instance of an object...
Hello. So i have been working on my script for movement for my character and untill recently, it was working just fine. here is the full error: NullReferenceException: Object reference not set to an...
View ArticleEditor Window Serialization not Working as Expected
Hello, I though I understood Unity's Serialization quite well, but it looks like I was wrong. I have written some simple code to show the exact isssue bellow. I am creating a List of Classes called...
View Article