what is the problem with void FixedUpdate
void FixedUpdate () { velocidad += gravedad * Time.deltaTime; if (aleteo == true) { aleteo = false; velocidad.y = salto.y; } Transform.position += velocidad + Time.deltaTime; float angulo = 0; if...
View Articlewhere are the unexpected simbol? and what i have to do with this
void Update () { if (Input.GetKeyDown(KeyCode.Space) || (Input.GetMouseButtonDown(0)) { aleteo = true; } }
View Articleanimation error no animation called "Idle"
i saw this script on a video and it worked perfectly for him but not for me. when i do it, i get an error saying: The animation state idle could not be played because it couldn't be found!Please attach...
View ArticleBuild problem, missing variables
(Sorry for my english) I have a scene with 3 mesches. Each mesh has this script: using UnityEngine; using System.Collections; public class Button : MonoBehaviour { public Shader shader1; public Shader...
View ArticleCreated a script to spawn an object at the mouse position on mouse fire but...
I assume it's related to the fact that mouse coordinates don't have a Z value and the game world does, but I saw that coming so I set the Z coordinates to 0.0 but it doesn't work. I'm fairly new to...
View ArticleWeird game-output!
Hey Guys In order to test my game, I tried to build it as a Windows Standalone. Everything seems to work fine, until Unity starts to build the "recources folder" and my whole Scene view and Hierachy...
View ArticleError on photon
**I get this error on "Photon Angry Bots Multiplayer Showcase"** ------------------------------------------------------------------------------------ NullReferenceException: Object reference not set to...
View ArticleFailed to re-package resources.
I have been working on my game for a month. And this problem just occured. I did google this. But i cant solve it. This does not occur when i try to build an empty scene in another project, but only in...
View ArticleError in script I haven't even opened
I'm using the sample assets beta package and when compiling my script I got an error in a script that I haven't even opened or used? It's a CS0241 Default parameter error in the LightShafts.resources...
View ArticleHow do i fix the internal compiler error perminently?
I keep getting this error thats saying: Internal compiler error. See the console log for more information. output was: Unhandled Exception: System.UnauthorizedAccessException: Access to the path...
View ArticleTree problem 'uniqueID' is not a member of 'UnityEngine.ScriptableObject'.
'uniqueID' is not a member of 'UnityEngine.ScriptableObject'. Im trying to access TreeEditor information, It must be something simple im missing, but everyway i try to change this i get different...
View ArticlePhoton Problem
I get the following bug with PUN, when another player joins the room it`s like it`s the same player as the first, i mean the first player starts experiencing moving true walls randomly without touching...
View Articlehelpme RPC
using UnityEngine; using System.Collections; using System.Collections.Generic; public class NetworkManager : MonoBehaviour { private string MSName = "SurvivorV2020_16123"; private HostData[] hostData;...
View Articleblackberry error (Author Id, etc...), no script added ye...
I manage to Build a BAR file for Blackberry. But when I try to Build & Run, I always got the following error : Author Id, Device Address and Device Password must all be set in order to use Build...
View ArticleWhy Do I Suddenly Have This Problem?
I was working on Unity when I left the project open. By the time I arrived at the PC Those Had Appeared: ![alt text][1] ![alt text][2] [1]: /storage/temp/30287-error+unuity.png [2]:...
View ArticlePhoton RPC "DestroyRpc" function not found
Hey, recently I added Photon Networking to my game and I am trying to send a Test RPC from my ServerTool to my Client. ***The ServerTool code (sending RPC):*** void OnGUI() { if(GUI.Button(new Rect(0,...
View ArticleGame Over page score is always 0
I'm following Mike Geig's infinite runner tutorial but even though the scripts are identical my game over page always says 0 as the score and I don't know why. this is the game over script where I...
View ArticleError build android app
When ever I try to build my android application apk file I get the error message Error building Player: Win32Exception:...
View ArticleAssets/BallControl.js(7,17): UCE0001: ';' expected. Insert a semicolon at the...
I alredy have a semicolon. wtf? also, if i put ":" after "var" (1th and 2nd), then it's also an error: BCE0044: expecting EOF, Found 'var'
View ArticleInstantiating prefabs: "The object of type GameObject has been destroyed".
I am using this code to equip items on the player: //Equipping items on the character's model public void EquipItems() { //runs through each location where the items will be equipped on the player...
View Article