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
18 views

How to Render and Blend Multiple Frames to a Buffer in Unity?

I was wondering if anyone knew how to render multiple frames from a camera or texture to a buffer in Unity and to then blend them together? Is this possible? If so how would I go about doing so in ...
0
votes
1answer
21 views

UnityException: Unable to install APK! Installation failed. See the Console for details

I got this error message when trying to build and run on Android actual device. UnityException: Unable to install APK! Installation failed. See the Console for details. ...
2
votes
1answer
14 views

Unity - Main manifest has <uses-sdk android:minSdkVersion='9'> but library uses minSdkVersion='17'

I got this error message when trying to build and run for Android. Error: [Temp/StagingArea/AndroidManifest-main.xml:22, ...
2
votes
1answer
64 views

What is a good way to code dialogue creation?

I'm thinking of making a single method/class/something that will handle my dialogue in the game. AKA, something like: Main text: Choice 1 Choice 2 So I want a method that will able to put ...
2
votes
1answer
62 views

What is an acceptable receive rate for a client?

I've noticed that syncing a transform( in Unity, so a Vector3, and a Quaternion ) ends up being close to 1000 byes per second received on a client( send rate of 20hz ). Multiply this by a generous 20 ...
2
votes
3answers
68 views

What are the differences between using “GetComponent<Transform>()” and this.transform?

I've been reading some example codes and working on my own stuff in Unity. I've been seeing a lot of GetComponent, and often this will be done for the transform: Transform _transform = ...
0
votes
0answers
12 views

Access different vertices of a Mecanim Unity 3d

I have a human mesh connected with an fbx animation file using Humanoid Mecanim. What I want to do is how to know the vertex groups, meaning the group of different vertices assigned to different ...
0
votes
1answer
21 views

Making a multiplayer game on unity [on hold]

I've made a game with friends on XNA and I wanna do it in unity. I'm starting to learn it for now, made a spritesheet and did some basic movement animations. Can u suggest some site or a detailed ...
0
votes
0answers
33 views

Solution for GIT commits in Visual Studio while Unity is open?

Specifications -VS 2013 Pro (Linked with Unity) -Unity 4.6.1 -Git Version Control (Linked with Visual Studio 2013) Summary After much research, I haven't found any solutions to this fix. *While ...
1
vote
1answer
43 views

Level Data with JSON [on hold]

I am doing level data for a game in Unity with C# I have it in my game as int[,] data = { {0,1,1,0,0,0,1,1,0}, {1,1,1,1,1,1,1,1,1}, {1,1,1,1,1,1,1,1,1}, ...
-1
votes
0answers
21 views

How do i make a load level method that if you touch a object you move to a different level in unity [on hold]

public void OnTriggerEnter2D(Collider2D collisionObject) { if (collisionObject.gameObject.tag == "h") { Application.LoadLevel ("h12"); } }
2
votes
2answers
168 views

How to apply a script to multiple Objects in Unity?

In Unity, I've almost 200 or more objects. I wish to apply single script to all those objects. I'm a beginner & learning scripts in Unity. Edit: At the time of editing the scene itself.
3
votes
2answers
39 views

Unity Change Sceneview to camera view

On selecting camera, I get the camera preview. In Unity, while editing the scene, I wish to switch in such a perspective view that is exactly visible by the main camera. Is there a short cut to ...
5
votes
2answers
72 views

Object Composition in the Unity Editor

I'm trying to learn how to use Unity for my class composition, and I was wondering if you could help me. I'm trying to create a simple game where the player is trying to pop a bunch of balloons. ...
2
votes
2answers
57 views

Unity3D: Efficiently loading chunks in an infinite voxel engine

I'm developing a voxel engine in C# using Unity and I'm currently trying to implement infinite terrain, so I took a look at other Unity voxel engines that have infinite terrain. I've seen three ...
0
votes
0answers
14 views

A panel to change 3d object properties when right click on it (Unity)

I'm building a UI system to edit selected 3D objects. I have spheres on the screen and I want to be able to edit their proprieties (radius for example). In order to do that I want the user to be able ...
-1
votes
1answer
18 views

Unable to animate sprite renderer

Why am I unable to add any of the sprite renderer's properties? How can I do it? On all the other properties like transform and so on, when I open them I have a + indicator in the right if I want to ...
-1
votes
0answers
45 views

how to do scratch card effect in new UI of Unity3D

I would like to know how can we do scratch card like effect in new unity UI's Image tag? Is it possible?,something like this EDIT What I basically want to do is, when user touch/drag on anypart of ...
0
votes
0answers
50 views

Room game type logic [on hold]

I have started creating a FPS game(nothing serious), now i am facing another issue. Each can create a room(server side), server controlles AI, bullet physics and just about everything. The problem i ...
0
votes
2answers
53 views

using an int to control events

Let me explain -- I'm just looking for a way that I can link a number to a set of methods. I want to randomly generate a "difficulty" int, and pick out an event based on the number I get. IE, if I get ...
0
votes
0answers
10 views

external camera did not recognize marker in metaio

I have one problem here.I'm using metaio sdk in unity and i want to use external camera to detect marker.but my problem is, the external camera cannot recognise marker.when i switch back to internal ...
0
votes
1answer
55 views

Comparing two strings in Unity C# [on hold]

I am trying to compare two strings in C# but even though I print the strings and they are the same, the check always fails. Only one is stored in a variable and the other is hardcoded. I tried using ...
2
votes
1answer
79 views

Which is the better way to distribute server workload for MMO server?

I'm making a server for MMO in Unity, which implies that I'll have a big world, split into maps which will be on different servers (to distribute the workload), managed by one master server. Now I ...
-2
votes
1answer
34 views

Unity - How To Save Some Variable WIth PlayerPrefs?

I have a small problem. in the game that I'm creating I created an array of items, each item includes a number of variables (cost, level, etc.). my goal is to save your own variables for each item, ...
0
votes
0answers
26 views

Character controller going down slopes

When I go down slopes with character controller, if the speed is too high, the character just flies off the slope and lands at the bottom. I want my character to "stick" to the slope rather then just ...
0
votes
1answer
49 views

How to make a one way trigger?

In my game, there is a cat that jumps on pillars. When it lands on a pillar, force is applied and it jumps. There are three animation states which are just single image. The states are : idle,up and ...
0
votes
1answer
26 views

player isn't jumping at some rotation angle

i can't figure out why this happens. the player would not jump ad some rotation angles. this is my code for jumping: if (Physics.Raycast(transform.position,Vector3.down,1f)) { for (int ...
0
votes
0answers
36 views

Unity3D - How to make partially selected EditorGUI.Toggle?

I have nested group of toggles created with EditorGUILayout.ToggleLeft(). I want to change state of the parent toggle to partial check if child toggles have mixed states, like here: But ...
-1
votes
0answers
43 views

What game engine should I use? [on hold]

Okay before I go any further I have worked with other engines before like unity and attempted to learn the new unreal 4. The game I would like to make is an adventure game with a wide open world and a ...
-1
votes
0answers
39 views

How to get a license for XBLA Indie Games?

I'm an experienced Unity3D developer with multiple mobile apps. I want to start developing for consoles, like the Xbox. I have multiple questions regarding this: 1)How do I get a license? 2)How much ...
1
vote
1answer
38 views

Unity3D - GameObject as a static function

Newbie Unity3D/C# developer here. I've tried learning Unity3D during my May/June college vacation and came across a problem:Code 1: CameraObj returnVoid; void Start () { returnVoid = ...
0
votes
1answer
27 views

How to detect if I click on an object (2D) using Raycast?

I need to know this for a little popup I made in my game, I want to avoid using OnMouseDown because I have multiple cameras so I was wondering how I'd be able to detect a mouse click event on an ...
0
votes
0answers
27 views

Why does Unity add a heap of children to an imported animation when dragged into the scene?

When I drag an imported animation into the scene, Unity adds: A game object with an Animator component A game object with a skinned mesh renderer component. A game object with just a transform that ...
1
vote
1answer
28 views

Vector2.Distance on different resolutions

firstTouchPos = Camera.main.ScreenToWorldPoint(Input.GetTouch(0).position); endTouchPos = Camera.main.ScreenToWorldPoint(Input.GetTouch(0).position); //the height of the ...
1
vote
1answer
23 views

Start iTween MoveTo from a specific node? (Unity)

I just started using iTween as part of my day/night cycle. I'm trying to move the sun and moon along a curve, but I want have the sun/moon start at a specific location depending on the time of day. ...
-2
votes
1answer
36 views

How can I make a dynamic crashed effect in unity3d? [closed]

I'm doing an endless game where my little car has to crash in other cars. The game logic is working but I have not been able to find a way to implement a visual crash effect, so that the other car ...
-3
votes
0answers
34 views

Which is the best Platform/Engine for a beginner for developing an Android game with following specifications [closed]

This is a very general question for which I wouldn't mind getting equally general answer. I want to develop a simple 2D android game with following specifications: 1> A 3D object that rotates in all ...
0
votes
1answer
27 views

Animator, gameObject position not being kept

I have idle & popout animations. Idle- simple scaling up and down 2d object and popout- get the gameobject's position to the right and leave it there. I'm using animator for this purpose. I have a ...
0
votes
0answers
20 views

How to improve textmesh quality?

In my game I using textmesh, but textmesh has a pixel problem even adjusting scale, character size and font size. How to solve it?
0
votes
0answers
19 views

How can I restrict rotation about the intersection point to right angle intervals?

Right now, I can draw two line segments and then rotate about the intersection point using one of the line endpoints or by dragging the whole line about the intersection point. I can scale my line by ...
0
votes
1answer
20 views

Scaling of a bone is working while rotation is not Unity3d

I'm using Unity3d and I'm trying to rotate the left leg bone of an avatar but it is not working although scaling is working well. This is the code used for scaling and is working perfect: ...
0
votes
0answers
19 views

Export as .dae, but retain color (all for Unity)

So, I was trying to learn some basic Unity stuff (I am a noob in all respects), and in my early research, I discovered something amazing: I can import 3D meshes that I make into Unity! So, I ...
1
vote
1answer
22 views

Changing scene while joinin room and RPC buffer problem

I have a button to create and join a random room in my main menu. After the client joins (or creates and joins) a random room, i change the scene to game(main) scene in "OnJoinedRoom" function. It ...
0
votes
0answers
12 views

Android split build - manual obb file download necessary?

I have an apk built with Unity 5.0.1 that has over 50MB. Google Play does not accept files over 50MB so I have to make a Split Build as covered in the Unity manual: ...
0
votes
3answers
73 views

In Unity3D, how can I improve image clarity?

The same images that appear clearly in Adobe Flash appear blurry in Unity. My game uses quads, cubes and sprites. I've tried the game on Android, iPhone, Mac and PC, but the image appears ...
1
vote
0answers
26 views

How to improve image clarity in Unity 3d [duplicate]

How to improve image clarity in Unity 3d. If we use same images for game developing in Adobe Flash and in Unity , flash game have more clarity , but in unity image will blur . Text Mesh also blur How ...
0
votes
2answers
40 views

Unity Vector3.MoveTowards over the span of a minute with Time.deltaTime

I'm trying to figure out how to use Time.deltaTime to let me move an object over the course of a minute. From my understanding, Vector3.MoveTowards(transform.localPosition, finish, Time.deltaTime) ...
0
votes
1answer
28 views

unity — object references, why do I always get errors?

For context: I randomly generate a few points on the map, and each point is a gameobject with a script containing an OnMouseDown method. Here's the relevant pieces of code(I've omitted the irrelevant ...
0
votes
0answers
21 views

Character body morph in Unity using Blender models

I have character and clothes modeled in Blender. Everything rigged, weighted and mecanim compatible. All working good in Unity. I am trying to implement in-game character body shape customization. ...
0
votes
3answers
75 views

Unity and the problem with calling functions from other scripts

I'm not sure how everyone handles this, but I'm running into lots of instances where I want to call a nonstatic script from another script which forces me to add the nonstatic script to the gameobject ...