Navmesh error on instantiated navmesh agents
Hi. So I'm using navmesh for my enemies AI, and it works fine when I manually place an enemy down. But once I start spawning them in using Instantiate I get an error saying: "SetDestination" can only...
View ArticleCS0019: Operator `&&' cannot be applied to operands of type `int' and `bool'
Error CS0019: Operator && cannot be applied to operands of type int and bool Code: ` using UnityEngine; using System.Collections; public class newChar : MonoBehaviour { private int playerGender...
View ArticleError in Stealth Project of Unity.
Following the tutorials from Unity but after the lecture 106 got this error in my LastPlayerSighting script file NullReferenceException: Object reference not set to an instance of an object...
View Articleerror cs0236 field initializer cannot reference a nonestatic field, method or...
public class UnitGoal : MonoBehaviour { BrainHealth BH = gameObject.GetComponent(); void OnTriggerEnter(Collider c) { Destroy(c.gameObject); } } please help
View Articlejungle terrain problem
I have a terrain, 500 of size. with various models of vegetation. Which are multi-material meshes. The shaders are nature of unity. As shown in the screenshot is broken everything is as if all the...
View ArticleUnauthorizedAccessException during compilation
On almost ever c# class i create and edit it comes up the this error message. Internal compiler error. See the console log for more information. output was: Unhandled Exception:...
View ArticleError building asset bundles in Unity 4.5
I recently upgraded my project from Unity 4.2.1 to 4.5.0 After doing so, I tried to run the asset bundle builder like I normally would but it always spams the following error message: > Cannot build...
View ArticleTons of compiler Errors.. Please help ;_;
Internal compiler error. See the console log for more information. output was: Unhandled Exception: System.TypeLoadException: Could not load type 'System.Func`1' from assembly 'mscorlib,...
View ArticleUnity2d NullReferenceException
Hi, here is the portion of my script that is causing the compllier errors Nullreferenceexception. I'm at a loss to why this is happening. var moveSpeed : float = 10F; function Update() { Movement(); }...
View ArticleUnexpected error
Hi guys ive got a error with this script.They say parser error line 31 but i cant figure out what's wrong with the code. using UnityEngine; using System.Collections; using System.Collections.Generic;...
View ArticleUnexpected Error
Hi guys i've been following a tutorial from thefacegrabber on youtube and as far as i know i followed everything exactly the same but i get 6 errors now like. Assets/Scripts/Network/Menu.cs(45,15):...
View ArticleNullReferenceException
"NullReferenceException: Object reference not set to an instance of an object ObjectDetect2.OnDisable () " How do I resolve the error? function OnEnable() { var gameController =...
View ArticleExporting Package - Fatal Error
When i'm trying to export my package, I have this : ![alt text][1] [1]: /storage/temp/28371-fatal.png Have you a solution ?
View ArticleI get 2 errors in my AI script and 1 warning and can`t figure it out by myself..
1. (35,20): error CS1525: Unexpected symbol `else' 2. (52,1): error CS8025: Parsing error 3. (33,17): warning CS0642: Possible mistaken empty statement using UnityEngine; using System.Collections;...
View ArticleError trying to open script with Monodevelop
I have been doing the beginners shooter tutorial. I tried to open `PlayerController` script in Monodevelope via the Inspector `open....` button. I get this error message : unable to open...
View ArticleI have .unity3d web on a Node.js server but the Unity3d app will not load. I...
I cannot play my unity3d game files (mime type="application/vnd.unity") over a Node.js connection. (I am able to play the unity3d through the Apache Vhosts Access.) I just started a new instance of a...
View ArticleBuilding Game w/ Scriptable Objects
In my game I'm using scriptable objects to hold the game skills and game items. When I try to reference them after building and running, there's a null reference. Here's the code I'm using:...
View Article'position' is not a member of 'object'
Hi I'm creating a game and I don't know how to **fix this error**: BCE0019: 'position' is not a member of 'Object'....
View ArticleWhat is wrong with this code for adjusting the walls and players to match the...
Hey, I'm working on a pong clone from a tutorial series (it's in java while I'm coding in c# so I'm running into more errors trying to translate things) and I've got an error with this code for my game...
View ArticleCompiling error: AndroidJavaClass and AndroidJavaObject problems
Hi, I'm working on a project which already works (vuforia project), but when I try to import a package from another project (from gyrodroid project) to add some scene objects and cameras, it gives me...
View Article