Unity is a cross-platform game creation system that focuses on easy art pipeline process. It consists of a game engine and an integrated development environment. The game engine's scripting is built on Mono.

learn more… | top users | synonyms (1)

0
votes
1answer
40 views

How to create a state based traffic signal?

I want to create a traffic light for a Unity3D game. I will model it in blender. What is the best way to control this light in a unity scene? One way I could think of is to change texture of say ...
0
votes
0answers
26 views

Looking for 2D engine in Linux environment for top down style game [on hold]

I'd like to start getting into game development and wanted to know what tools/engines would best fit me. I am working in a Linux environment and my programming background is C/C++/Java and some Perl. ...
0
votes
1answer
18 views

Player rotation issues (Player returns to default forward rotation after releasing keys)

So basically what is happening is that my player rotates and faces the direction that he is currently being steered toward (which is wonderful). But after I release, let's say the A key, meaning he is ...
0
votes
0answers
8 views

Can't clip a sprite that has a custom shader in NGUI

I am using NGUI. I have an "NGUI Unity 2D Sprite". This sprite has a material with this shader: Shader "DM/Ripple Shader" { Properties { _Color ("Color", Color) = (1,1,1,1) ...
0
votes
0answers
40 views

TopDown Island Generation

I am trying to generate an island using Simplex Noise. To actually make a island shape i used Amitp's answers to the following questions: 1.Fast, simple procedural 2d island generation 2.Generating ...
0
votes
0answers
10 views

Unity: cg fragment shader processing array of points

I need to write a fragment shader which would somehow be aware of N points that are in the scene and darken pixels based on their world coord distance to the points. I'm looking for a method that ...
1
vote
0answers
19 views

Any way to load/execute scripts (game-logic) included in a post-release DLC (Unity3D AssetBundles) on iOS since it seems its not allowed?

We are making a game where players will be granted access to new levels every week and these new levels will probably be downloaded from our server as Unity Asset Bundles The only issue is, as ...
-1
votes
0answers
6 views

Conversion Tracking and Remarketing for Android [on hold]

Hye, how can I integrate Conversion Tracking into my game in unity?
0
votes
3answers
42 views

Unity 2D - Instantiate a GameObject and scale it every second

I want to make a bomb-like game object, that when instantiated, takes 2 seconds to charge, and then some other event triggers. The problem is I can't make it scale smoothly for 2 seconds, and then ...
2
votes
0answers
23 views

Unity Grid Layout causing multiple draw calls

We are developing a game in Unity 4.6.6 for both Android and iOS. Currently I am building the game UI with the new Unity UI system. In particular I am building a button list to create kind of ...
0
votes
1answer
30 views

For whatever reason, when a certain boolean variable is true, the Unity editor crashes

So in my game I've got a timer script, which counts down unless the game is paused, but whenever the variable for pausing is true, something in the timer script makes the editor itself crash, and I ...
4
votes
3answers
183 views

How can one add a level to an already published ios/android unity3D game on a daily basis?

How can one add a level to an already published iOS/Android Unity3D game on a daily/weekly basis? I know this probably isn't feasible but it won't harm if I just made sure of it. Our game requires to ...
0
votes
1answer
11 views

Adding Animation to Object—Unexpected Behavior

I've been following the Unity 2D roguelike tutorial and I'm a bit confused about something. When he drags a series of sprites to his player object, a dialog box appears that prompts him to name and ...
1
vote
1answer
32 views

How to detect collision position and that position's texture color in Unity?

I have a prefab and I use Circlecollider2D for physics operations. I want to detect the color of the contact position of the collided objects ? Is is possible by using Unity's collider classes ?
-3
votes
0answers
65 views

Unity - C# How to create very Big Number?

public static float a = 9999999999999999999; This is the biggest variable that can create. but is not enough for me I need to get to this public static float a = ...
0
votes
1answer
32 views

Generating hidden box collider between two game objects in unity

I'm trying to implement flappy bird clone using unity. I'm creating two obstacles at random y position. I would like to create a hidden box collider game object between them, but I'm struggling with ...
0
votes
1answer
30 views

Unity 5 Client RPC call: Failed to Invoke ClientRpc

I have a Unity 5 client and server running. On the server a path is generated and I want the client to receive the position of each target node on this path. Following the Client RPC calls section ...
0
votes
0answers
24 views

DirectX 11, Render vertices as points in Unity

I'm attempting to asses what is the most efficient manner to render vertexes as points in Unity with DirectX 11. I'm attempting to create a point-cloud instancing shader, that creates vertices in ...
6
votes
0answers
52 views

Short cut grass Shader? or however you do that

I've been looking at some screenshots from games like Rocket League #1 Rocket League #2 and Fifa Fifa #1 and i started wondering how you would achieve the short cut grass effect. Is it a ...
0
votes
1answer
13 views

Audio slider doesn't change value

For some reason, my slider and audio resets back to 0 when I stop and play the game after I changed the value. Here is the code, I can't spot anything wrong with it: using UnityEngine; using ...
-1
votes
0answers
20 views

How do i make my charecter turn 180 degrees when it hits a slope limit?

I am currently working on a game where you are a plane and i want so in the case of the plane hitting a wall with a relative to the charecter degree higher than 45 it makes an instant 180 turn.
0
votes
1answer
33 views

Gravity not being applied to character, using character controller

So I just copy and pasted the unity example class to use with my character controller. public float speed = 6.0F; public float jumpSpeed = 8.0F; public float gravity = 20.0F; private Vector3 ...
0
votes
0answers
22 views

How to programmatically change sprite sheet sub-sprite name

I am trying to change the name of the sub-sprites of a sprite sheet. I have searched and tried everything I can think of and cannot get it to work, which makes me think it can't be done at this point ...
0
votes
0answers
34 views

Outline with toon shader in unity is way too large

This is what's happening to the model I've attached this toon shader to. It seems to be creating this black hole of some sort and I can't figure out why and how to fix it. I would just like it to ...
-2
votes
0answers
19 views

Recommended BaaS for single player game

I have been searching through various BaaS providers and looking for an excellent BaaS provider. My lists so far includes: GameSparks PlayFab Parse BaaSBox BrainCloud The game I'm working on needs ...
1
vote
0answers
63 views

Unity (C#): How can I create dialogue to be used in my game? (also critique my system?)

I've created my own system for handling dialogue. There's a class for each 'node' or part of dialogue. It contains the following variables: identifier (identifiers are unique for each NPC, but not ...
2
votes
1answer
51 views

RPC's in Legacy Unity, what to use in Unity 5.1?

I have created a small experiment in 5.1, a server has an AI character pathfinding around a map over a grid, so its a straight line node to node before it reaches the end. I would like for the ...
0
votes
0answers
19 views

Why is my TransformFromPoint returning false values?

I have been using transformFromPoint a lot of time in my game. Though recently I stuck at the following: target.TransformFromPoint(target.localPosition) The output should give me (-5,0,0) but its ...
-1
votes
0answers
26 views

Shader request (cg shader provided) : an xBR scaling shader for Unity

I'd like to scale up my game view from a native resolution of 512x300 to 1024x600 using the xBR cg shader found here : https://github.com/libretro/common-shaders/tree/master/xbr Here is a question ...
1
vote
0answers
14 views

Do realtime reflection probes and precomputed GI work on iOS in Unity 5?

Seems they don't from my tests but just to double check. My setup is made up of a few objects marked as static, all sharing a standard shader material with some emissive color, GI set only to ...
1
vote
1answer
34 views

Why is the camera tilting around the z axis when I only specified x and y?

My goal is to program a camera to point towards the mouse cursor. I attached the following script to the Main Camera. using UnityEngine; using System.Collections; public class CameraController : ...
0
votes
0answers
13 views

SerializedPropertyBindings NullReferenceException

Using: Unity 4.6.1 Pro Visual Studio 2013 Pro, c# Team Foundation Connected to git vc Windows 7 Premium Building 2D iOS app (2D set up) Details: Periodically, this error is occurring. There ...
2
votes
1answer
65 views

Unity: How to make script work with duplicated objects?

I have an object in my game that, when clicked, causes the player to move toward it. It does this by sending its position to the player's SetTarget function. The player's Move function then heads ...
0
votes
0answers
15 views

Can not translate/rotate/scale skinned mesh

I have a Blender model with a skinned mesh and some unskinned meshes in it. After i import it into Unity, i can transform all the non skinned meshes with no hassle. But about the skinned mesh, ...
1
vote
1answer
29 views

Why unity increase the size of image when i use the image in unity?

I try to make a game in unity 2d. But when i drop the image in unity the image size increase 3 or 4 times. Can i fix that or its normal?
0
votes
0answers
58 views

Tutorial System in Unity C#

I am having trouble creating a tutorial level for my game in Unity. The first problem is efficiency. I have a script below, which displays the dialogue. And I want to know the best way to create goals ...
0
votes
1answer
24 views

How do I make one ui slider control all of the game audio?

I use the ui slider to control how loud is the game, what I want to know is how to make one ui slider control all of the game audio?
0
votes
1answer
21 views

How do I use playerprefs to make ui slider keep the sound settings?

I have not use playerprefs before, I want to know how to keep the change of the audio when the player change it throughout the game.
0
votes
1answer
15 views

Error BCE0043,BCE0044 and UCE001

I got my code right here: #pragma strict var hSliderValue : float = 0.0; function OnGUI(){ hSliderValue = GUI.HorizontalSlider (Rect (25, 25, 100, 30),hSliderValue, 00, 1.0); ...
1
vote
1answer
22 views

Function messages wont send when identical conditions will message to activate another function

So in working with my game, there aren't any syntax or compile errors, but there's this one bug that I've been working on to fix for a few days on and off and I can't seem to make heads or tails of ...
1
vote
3answers
65 views

In Unity, how do I make separate mute buttons for sound-effects and music?

I'd like to have a button to mute game sounds and another to stop the game music. How can I do this?
0
votes
0answers
12 views

video drm plugin for unity or unreal [closed]

Im looking for drm plugin's for video playback of drm protected content. Im wanting to build a virtual movie theater for oculus rift and Im stuck on the drm portion for streaming content thats been ...
2
votes
1answer
44 views

Causes of Scene Build File Size Bloat in Unity

We are developing racing game for android and iOS. Our problem is final game build size is getting more than 100+ mb. So here is what we tried, to reduce it by compressing textures. ...
1
vote
2answers
64 views

In Unity, how do I move my character to an object when I click on it?

Basic question here, and I feel like I'm close but can't quite get it. I have an object--it's a pot on a stove--that is in my 2D game. There will be multiple pots that appear and disappear in the ...
0
votes
0answers
42 views

Unity3D 5.1 UI messed up

Within my canvas I have 2 panels. One has buttons in it and the other has text (description of the pressed button). Text is very blurry and when i press play the alignment of the objects is always ...
1
vote
2answers
35 views

Applicaton.ExternalEval(String script)

I was wondering, if Application.ExternalEval(String script); in Unity3D can return something. Like:String playerName = Application.ExternalEval("prompt("Please enter your name", "player1")"); Thank ...
0
votes
0answers
19 views

Add Atten property in Unity Shaderlab

In Unity Shaderlab shader, Is there any way to apply _Atten value? Using surface shader, and vertex/fragment shader I can do it easily. But, I didn't find any reference to do that in Shaderlab ...
0
votes
0answers
24 views

Odd behavior in Unity 5.1 2d project prefabs

I am very worried something is corrupt in my project. I am making a 2d top-down rogue-like and am currently using prefabs to generate enemies from. I have started running into an issue where I get a ...
-1
votes
1answer
23 views

Is there a way to assign resource into a variable in the inspector programmatically?

I want to add resource to an inspector directly which could be done by drag and drop resource to the inspector. However, I want to know if there's a programmatic way to do this so, I will not need to ...
0
votes
1answer
31 views

Unity - PoolingSystem failing to instantiate

I am wanting to spawn monsters into my scene in Unity. I was told to use a Pooling System, so I got the free one Unity offers in the Asset store. I have followed the little documentation that there ...