Tanks Tutorial : The name `m_Firebutton' does not exist in the current context
Hello, I have been following the tank tutorial and I have the following error: The name `m_Firebutton' does not exist in the current context I have tried assigning it a "" value at declaration but that...
View ArticleUI elements not accessible due to protection level
I've been struggling with this error for a few days now and can't find a way out ... I've searched on the forum and found that this error should be caused by the property being private but in my case i...
View ArticleWhy doesn´t work?
Hi, I have a problem with this code, I'm a student, so, maybe it´s so simple, I don't now, I try maker simply, this is an example of my error: using System.Collections; using...
View ArticleIndexOutOfRangeException: tanks index is invalid , i was trying to add new...
//Returns whether a tank for a given index is unlocked. public bool IsTankUnlocked(int index) { if (m_Data.unlockedTanks.Length > index && index >= 0) { return...
View ArticleUI elements not accessible due to protection level
I've been struggling with this error for a few days now and can't find a way out ... I've searched on the forum and found that this error should be caused by the property being private but in my case i...
View ArticleError while trying to build and run gear vr project
Hello, I am experiencing some difficulties trying to build and run a project. I am trying to build and run a gear VR (so android) project and I am receiving the following error: XmlException: a name...
View ArticleOn fov change, screen position out of view of frustum error
So im getting this error: https://gyazo.com/7d7ea050be9516e3a961a4103f46d1e5 My script is this (it zooms and unzooms and if I spam it a lot and bring up the pause panel the camera totally glitches out...
View ArticleArgumentException: GetComponent requires that the requested component...
Hi, I have been working on this script:public enum PlaneType { SmallBomber, MediumBomber, LargeBomber } public PlaneType planetype; public List Plane = new List(); public List Spawns = new List();...
View ArticleRoll a ball tutorial error-2 Moving the Player
while I m doing tutorial Roll a ball- Moving the Player . the error occur- Could not load project 'Roll a ball.csproj' with unknown item type '{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}' whenever I try to...
View ArticleHELP C# is not working.
using UnityEngine; using System.Collections; public class DfScrip : MonoBehaviour { *public int five; five = 5;* < this gives me an error, and i don't know why(error CS1519: Unexpected symbol `=' in...
View ArticleKeep getting Null reference error for AI Script
So I''m using this AI script that has the AI going to waypoints by default. When a player goes into the trigger placed around the AI it changes the state of the AI to CHASE instead of PATROL. But the...
View Articleerror CS1501 no overload for method 'SetPosition' takes '1' argument, Unity...
`enter code here`![alt text][1] using UnityEngine; using System.Collections; using System.Collections.Generic; public class Dibujar : MonoBehaviour { // Update is called once per frame void Update () {...
View ArticleHelp with basic AI script
Hello! I am receiving an error with my script. Any tips? Script: using System.Collections; using System.Collections.Generic; using UnityEngine; public class AIBullet : MonoBehaviour { public GameObject...
View ArticleIssues when trying to build game 'Error building Player because scripts have...
Hellloo, I'd be ever so grateful for some help here... So I'm a music student, currently finishing my masters, I'm developing bio-physiological music for video game immersion. In all honesty, I can...
View ArticleThe type or namespace name `WSA' does not exist in the namespace...
I am using Unity 5.4.0f30HTP. in my old PC there was UntiyVR folder on following path "C:\Program Files\Unity HoloLens 5.4.0f3-HTP\Editor\Data\UnityExtensions\Unity\UnityVR" but in my new PC it is...
View Articleerror "CS1520: class,struct, or interface method must have a return type"...
using System; using UnityEngine; using UnityStandardAssets.CrossPlatformInput.PlatformSpecific; namespace UnityStandardAssets.CrossPlatformInput { public static class crossPlatformInputManager { public...
View ArticleWhy is this not working?
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerController : MonoBehaviour { public float moveSpeed; public float jumpHeight; // Use this for...
View ArticleGetting Error ALLOC_TEMP_THREAD ERROR when building IOS
Hi Today I getting error when building IOS : TLS Allocator ALLOC_TEMP_THREAD, underlying allocator ALLOC_TEMP_THREAD has unfreed allocations ![Error when building IOS][1] [1]:...
View Articlemono.security.dll is denied?
When I try to build my apk this message appears UnauthorizedAccessException: Access to the path "C:\Users\Diyar\Documents\plane game\Temp\StagingArea\assets\bin\Data\Managed\Mono.Security.dll" is...
View ArticleHelp with AI script
Hello! I am receiving an error with my script. Any tips? __I have tried adding 0,0); to the end already, and adding 0f,0f); to the end__ Script: `using System.Collections; using...
View Article