Quantcast
Channel: Questions in topic: "error"
Browsing all 7934 articles
Browse latest View live
↧

Camera Switch Error

Hi, I trying to make a dialog system inside my objectives but I have a script problem when the script try to change from one camera to another.. in my game I set the objectives to a int value, when we...

View Article


Animation doesn't update after edition

That's it. I have a reload animation that i have make to my weapon. I am making a FPS game and i made the weapon and the animation before i pt the character hands, so... it's kinda bugged to press R...

View Article


Destroy Particle System after 3 seconds not working

Whenever a coin is collected in my game, it generates a particle system clone in the hierarchy when the effect plays. To avoid clutter, I want those clones to be destroyed after a set time. However, I...

View Article

Camera Switch error

Hi, I trying to make a dialog system inside my objectives but I have a script problem when the script try to change from one camera to another.. in my game I set the objectives to a int value, when we...

View Article

Enumaration error CS1025: Single-line comment or end-of-line expected

Hi. I was converting my code from Javascript to C#. The code works in JS and then I converted it to C# with no problem since I know both languages. However their are a few lines on my code where i do...

View Article


How to update player from another player in Local Player Authority

Hi. I'm trying to do a simple Sink the Fleet game in Unity to learn and begin using Networking with Unity and Unity itself. This is my Player prefab public class Player : NetworkBehaviour { [SyncVar]...

View Article

Getting an error when using an Array of String Arrays

So I get this error: ";" expected. insert a semicolom at the end for this line: var arrays : String[][]; My question is, is there a way to have an Array of string Arrays?

View Article

Unknown problem with MissingReferenceException

Ok, so my code is only this: #pragma strict var speed : float; var rb : Rigidbody2D; function Start () { rb = GetComponent(Rigidbody2D); } function Update () { rb.velocity.y = Input.GetAxis("Vertical")...

View Article


Sprites in Sprite Editor turn Invisible and cannot be sliced

I've made my own Sprite Sheets before, and i've imported them into Unity without any problems, but for some reason i brought in some new sprites and when i open up the sprite editor to slice them, they...

View Article


Error with Google Play Services

I get this error when I try to add Google play Services.![alt text][1] [1]: /storage/temp/71545-answers1unityjpg.png What's wrong?

View Article

Android player crashes on startup

I'm using Unity 5.3.4f1. I upgraded the Android SDK to 23 rev. 3 and now my game crashes on startup. Here's what I have installed now: ![alt text][1] I don't really even know where to start debugging...

View Article

Is there any way to repair my project? | Empty scenes... etc.

Hi there, I am currently having a problem with my project I have been working on for a long time. 2 days ago I worked on my project, saved it, and shut my computer down. The next day I wanted to work...

View Article

Array index is out of range (C#)?

I'm trying to make a audio visualizer in Unity. Want a sphere to resize as reaction on the music. I keep getting this error: "*IndexOutOfRangeExeption: Array index is out of range.*" Ok, because I'm...

View Article


Help with the Official 2D Roguelike Tutorial from YouTube?

***This is a long one, so prepare for a long read.*** Quite simply, I'm following the Roguelike Tutorial series on the official Unity YouTube Channel, and on Part 5, the scripts used to generate the...

View Article

Failed to re-package Problem

Hello guys i'm trying to build my android game but i keep getting the same error. It's about aapt.exe. I tried moving it to tools folder but not working. Thanks for helping.![alt text][1] ![alt...

View Article


Physics object go through the mesh on animation play

I have a drawer. And how I don't know use the Transform.Translate to do that the drawer open/close on keypress, I used a animation. The problem come when I open the drawer, the physics objects inside...

View Article

Only assignment, call, increment, decrement, and new object expressions can...

Hello Can Anybody hwlp me with this... if (distance < 0.50f) { theHM.PlayerCurrentHealth --; currentaDamage = damageToGive - (thePS.currentDefence); if (currentaDamage < 0) { currentaDamage = 0;...

View Article


Android build "Failed to re-package resources"

Hello! I am trying to build my game on Android for the first time, and I am having issues. While building the apk file, an error pops up saying "CommandInvokationFailure: Failed to re-package...

View Article

Failed to run script updater

Hi, I am new to the unity 5 api system and I just out of the blue started getting these "failed to run script updater" errors on my engine. I tried to manually use the Api Updater but with no luck. As...

View Article

error CS0176: Static member `GameManagerSingleton.score' cannot be accessed...

I had made some changes on my script and I gotten one error. I trying to access the score script along with another script . Here is my scripts: using UnityEngine; using System.Collections; using...

View Article
Browsing all 7934 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>