WWWform on Unity Web Player vs Browsers
i'm using PHP and c# on Unity Web Player 5.0.0f4... so i have this... ... WWWForm form = new WWWForm (); form.AddField ("func", "login"); form.AddField ("username", l); form.AddField ("password", s);...
View ArticleUnity Common Errors, List of Common problems and Common Solutions
Hey I'm making a list of the most common errors I see and the common solutions to them. I'm really looking to expand this list and give it to my students to look at and so they have a place to look at...
View Articlehow to set a variable in prefabs or use an object in the hierarchy/prefab...
So, i have a spawner script and a waypoint movement script (Spawner.cs and WayPointAI.cs) Spawner - using UnityEngine; using System.Collections; public class Spawner : MonoBehaviour { public Transform...
View ArticleAnimation Error
Hi all, I've got a script that causes an enemy to spawn a given Projectile Prefab whenever he sees the Player, and this projectile is meant to fly towards the enemy, with an Animation attached to it....
View ArticleMoved assets out of Resources folder: the namespace already contains a...
I had my entire project in the resources folder. I moved it all out and now I get a bunch of error cs0101: The namespace x already contains a definition for y errors in dozens of scripts, my own...
View ArticleWhy isn't the best overload method not compatible with the arguments list?
I know that this is a common question here, but I've looked everywhere and I cannot find a solution anywhere. The exact error message is "The best overload for the method 'SideWalls.ScoreSystem()' is...
View ArticleError: "chanType.dimension == 0"
I'm getting wierd error: chanType.dimension == 0 UnityEditorInternal.InternalEditorUtility:LoadSerializedFileAndForget(String) UnityEditor.WindowLayout:LoadWindowLayout(String, Boolean) I can't...
View ArticleGame not working correctly in build mode?
i created a 2D game in unity 5 with a menu as a separate scene that takes you to the game on button press, but once build the game screen still shows a bit of the menu on the right of the screen. the...
View ArticleAnimating jumps and rolls problem.
so i made a jump and duck game, and i have a constantly playing running animation (as i wanted) but i cant find a way to make the roll animation play on key down s and the jump on spacebar down, i have...
View ArticleHow to fix Vuforia migration issues?
Hi I'm currently moving from Vuforia 3.0.9 to 4.0.103 and have one error: ****Assets/Scripts/VideoTextureBehaviour.cs(14,53): error CS0246: The type or namespace name `IVideoBackgroundEventHandler'...
View ArticleThe type or namespace name `RigidbodyFirstPersonController' could not be found?
can anyone suggest why my code is not recognizing the component in this snippit of code? public class gameController : MonoBehaviour { public GameObject[] characters; public int charSelect = 0; public...
View ArticleUnity standard Assets is recieveing error
I made a simple scene consisting of unity standard assets 2d. It consits of 3 ground sprites (prototype-grey) with box collider (Slippery). i also added a 2d character from standard assets. I am...
View ArticleMy function doesn't appears in the OnClick button script
using UnityEngine; using System.Collections; public class Database : MonoBehaviour { public int numSaves; public int[] save = new int[4]; public string[] nome = new string[4]; public bool[] pinOn = new...
View ArticleImage Effects error
When I load up a new project in Unity 5, I get an error that doesn't allow me to enter playmode. The error is: Assets/Standard Assets/Image Effects (Pro Only)/Tonemapping.js(8,27): BCE0018: The name...
View ArticleError build apk,help
hi, Sorry for my English . Error when building apk It used to be good ![alt text][1] [1]: /storage/temp/42902-снимок.png
View ArticleUnity only launches my previous project
So I recently started on a new project in Unity, and decided to check up on some previous projects to get info on how to solve some of the functions. The issue is just that whenever I try to open a...
View ArticleGetcomponent Javascript error
Hello so im new to java script, and get this error No appropriate version of 'UnityEngine.Component.GetComponent' for the argument list '(function(): void)' was found. im trying to get the "money" var...
View ArticleWebGl build on Server has load memory error
I uploaded a WebGl build to my server and when trying to load the page i get "uncaught exception: could not load memory initializer Release/Sport2015.html.mem" I figured this had to do with my server...
View ArticleEditorGUIUtility.ShowObjectPicker throws InvalidOperationException
The Full Stack Trace: InvalidOperationException: Operation is not valid due to the current state of the object System.Collections.Stack.Peek () (at...
View ArticleWhy is rigidbody.AddForce not working?
Hi, I am new to Unity Development and I was working on Roll a ball tutorial when I encountered during the scripting phase.Whenever I type rigidbody.AddForce,it puts the AddForce in red letters and it...
View Article