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
0answers
56 views

Unity Splash Screen Quality

On my APK, the Unity splash screen looks like this: But on another game, the splash screen looks like this: Why is my splash screen quality different? Why is my Unity logo "squared out"? Are there ...
0
votes
1answer
30 views

Z - Axis value is changing if I move the Game Object in X - Axis in Unity

I am on a small game project . Everything was just fine , but now I have some wired problem . That is Game Object movement . If I move the game object in X - Axis using the gizmo , the value of Z - ...
0
votes
1answer
31 views

Why do I not see the back of a model in the model

I have created a die in blender, that uses two materials. One material is transparent and the second is opaque. When I look throught the die, I expect to see the opaque parts blocking the view, but ...
0
votes
0answers
23 views

Converting Transformation Matrices from OpenCV to Unity

I am working on an AR project, which uses OpenCV and Unity 3D. OpenCV uses Right Handed Coordinate system (different from OpenGL, because OpenCV camera looks along positive Z axis), while Unity has ...
0
votes
1answer
31 views

Unity Geometryshader for one Vertex

Hy, I want to build some geometry with a geometryshader in Unity. I took a look at this. I want to create my geometry just in context of one point in 3D space (x,y,z). Can i somehow use the transform ...
23
votes
5answers
5k views

How do idle games handle such large numbers?

Just wondering how games such as Tap titans and Cookie Clicker handle such large numbers. I am trying to implement an idle game however the largest number format supported by C# is decimal. I am ...
17
votes
2answers
2k views

Faking a 3D object to decrease number of polygons

I'm making a game in unity and I'm building a fence in blender but I want it to be as low poly as possible. My original design was too high poly so I thought, what if I could simply use a cube with ...
2
votes
1answer
49 views

How do I make Unity halt on exceptions?

I'm trying to debug a Unity project using the Unity Editor and Visual Studio. A runtime exception keeps popping up, but the debugger doesn't halt when an exception occurs, making it impossible to ...
0
votes
1answer
41 views

Using Unity built-in sprites programatically

I'm trying to figure out how to use the "Panel" built in resource in a game I'm making. I've been able to figure out some potential solutions, but I can't quite figure out how to put all of the pieces ...
0
votes
1answer
31 views

How do i play mp3 files in Unity Standalone?

I am making a game in Unity in which the player can select music files in their hard drive to use them in-game. I use the WWW class to load the sound files, but this only works for OGG, WAV and ...
0
votes
0answers
28 views

Hide (and show) Unity window using C#

I'm making a game (in Unity3d) that features a level editor. However, the editor is made in XAML (i use WPF on Windows Desktop). In Windows Phone, the Editor is a separate application, and i use URI ...
0
votes
1answer
24 views

Unity Shader Material Only Activates when Clicked

I am currently programmatically settings some shader textures, related to a Mesh Filter. The Mesh Filter is using a standard shader, and I am merely generating and setting the Bump and Height maps, ...
0
votes
0answers
24 views

how to pin down a sprite partly in unity?

I am working on a simple do not let the bombs hit the floor game for android. You control a stick which can rotate to left or right depending on where on the screen you touch (left or right). But I ...
0
votes
1answer
70 views

where can I download unity assets without opening it in in unity. [closed]

I'm browsing through my mobile phone and I need to download unity assets but unity asset store demands that I open the assets in unity directly. How or which site can I download it on my mobile and ...
1
vote
2answers
84 views

Set default values by script?

Insted of Inspector, I want to set default values by script because there is MeshRenderer, a RigiBody etc. I don't know how to write this in script. These are not numerical values.
3
votes
1answer
91 views

Why can't I sample a texture in a vertex shader?

I'm old in Game Development but very new in shader writing. I just want a shader that transform from 1 texture to another. So I did start learning shader writing and wrote my desired shader. But ...
1
vote
0answers
43 views

Unity 5 Google Cardboard VR SDK Frame Rate

I am running the Google Cardboard's official demo which doesn't really have much things on the scene (https://developers.google.com/cardboard/unity/download) on my Personal Unity 5 on my Nexus 5. The ...
4
votes
1answer
76 views

Layering with slopes in Unity 2D isometric scene

I'm newer to Unity so bear with me. I'm using Unity2D and so far I have my character up and walking around, colliding properly with his surroundings, and I've implemented an effective "isometric ...
1
vote
1answer
46 views

How do I highlight terrain around an object within certain radius?

In my project, a player is not allowed to place forces in a given radius around enemy defensive forces. I would like to distinguish this area using some sort of highlight. Second, I want calculate ...
-1
votes
1answer
43 views

Unity3D 5 Personal? [duplicate]

I want to make a game in Unity3D and I am planning to launch it to Android using the free license. However, if the game becomes a huge success and earns more than $100k, does (a) unity take the money ...
-1
votes
0answers
31 views

Create overlapping transparent images [duplicate]

I want to achieve this effect in the image. To make this I don't think a single pass to a stencil buffer would be enough because stencil buffers can't mask out the actual alpha inside of the ...
0
votes
1answer
32 views

Format of bumpmaps

I have a height map I am generating in memory, just an array of floats from 0 to 1. I want to turn this into a bumpmap to be used in Unity3D. I believe I just need to create a Texture2D with the ...
0
votes
0answers
15 views

How to reset a Script? [duplicate]

Is there a way where I can make the script restore its condition to that before I hit play? Should I create a new copy of the original script every time instead?
0
votes
0answers
15 views

Unity Need Help With TouchControl

Just finished a simple game in windows,the commented out lines in Script works fine as intended in windows,however in android the controls felt bit wierd so modified the Script,but now the character ...
0
votes
0answers
35 views

Unity 3D character's cloth immersing in between

I have a character in which its cloth overlaps on itself which gives you a discontinuation seen below. I'm using Unity 5.3. The model has been imported from Maya where it works perfectly. This ...
1
vote
0answers
33 views

UNet send message by Client.Send error

I'm try to implement client-server communication base on UNET. The problem i got now is send custom message to server, but the Client.Send always show error without my understanding. So what i'm ...
-1
votes
1answer
52 views

Cannot turn script back on

I've got an issue. When (Input.GetMouseButtonUp (0), Speedy script is disabled, thus we cannot enable it again from inside the script like shown below. How can we go around this? public class Speedy ...
0
votes
1answer
62 views

Ball Speed is not increasing as per code

I am working on small project , but now I have a problem . The problem is The Player speed (Ball speed) is not increasing as per the code . In the beginning ball speed increases , but as the time ...
0
votes
0answers
25 views

Unity : How to handle compound colliders 2D physics

I´m making a small game where the basic game mechanic is dragging things around the level . My Player G.O. is the one who drags the other objects around the level . This G.O. (the player GO) has a ...
0
votes
0answers
21 views

Unity3D - Collider jumps when I hit play

When I press play, my collider jumps down and offsets everything. I believe its due to the animator as it doesn't happen when its not present. I'm using the stock Unity animations. Here is the ...
0
votes
0answers
52 views

crop a texture in unity

I am working on cropping a texture in unity. I have a button,when I click on the button,its takes the photo and the photo get saved to a folder in the phone. But when taking the picture I want to ...
0
votes
0answers
26 views

Static smoothed particle hydrodynamics

I'd like to create a browsable universe based on simulation data, pretty much replicating what is shown here. Right now I'm investigating doing this all in Unity using the default particle system, ...
-2
votes
2answers
391 views

For loop won't run in Unity [closed]

I have a basic knowledge of coding in C++ but have been following a tutorial and am having trouble following it. I have tried using Debug.Log to find out my problem and it seems my for loop is not ...
0
votes
2answers
22 views

Unity3D/Blender: Bounding box rotated on import

For some reason my bounding box is always tilted when i import to unity. I've checked for loose geometry and everything but there's nothing.
1
vote
1answer
40 views

How to set Text in C# code?

I'm trying to make a series of text appear programmatically. It's not quite showing up, and I'm struggling to understand exactly why. Any ideas? GameObject row = new GameObject("Row"); ...
0
votes
2answers
56 views

Is async image loading possible?

Can anyone tell me if there is a async version of LoadImage() method? I found about Resources.LoadAsync, however the method doesnt work. Thank you
1
vote
1answer
40 views

How can I combine sprites and attach them to a GameObject?

I have the following sprites: Background Foreground Combined they should look like this: The first problem is Unity can only show one sprite with its Sprite Renderer, so I can't combine them ...
1
vote
2answers
78 views

Game Object is Instantiating on same position

I am working on a small project . But now I have come across a problem . The problem is the prefab is instantiating on the same position . I want to instantiate a box end to end . The basic set up is ...
0
votes
0answers
22 views

How can I gain depth buffer as a array in Unity or OpenGL

When I have an object (obj) and a material (mtl) file, I can load the 3D model in OpenGL or in Unity. After this, I want to get an array of 3D model's depth buffer from the Scene. By using the array, ...
0
votes
0answers
28 views

How to edit certain positions of characters body parts, Unity3D

I have a first-person shooter character. I would like an animation to only effect everything below his hips. Masking the desired body parts has solved half of my problem. When I play the game, the ...
2
votes
1answer
24 views

Switching character and keeping animations in Unity default third person controller

This is probably a ridiculous question, but I am doing a school project in Unity and am trying to create a basic game. For movement I want to use third person controller and since this is very basic I ...
3
votes
0answers
20 views

How can non-CG shader code in Unity be included?

In Unity shaders, #include, #define, and other preprocessor commands seem to not be able to be used outside the CGPROGRAM section of the shader. Since these are required for compiling multiple shader ...
-1
votes
1answer
84 views

FB.Init() is not accepting in my c# Script

I am trying to connect fb with my game. its first time i am connecting fb with game. i downloaded fb SDk 7.3.0 and i am using unity 5.2.1f1. i imported the sdk in my game asset. then i created a new ...
1
vote
0answers
35 views

How to find or compute or look for overall/max RPM by simply checking for rotation?

I find it hard to determine the wheel RPM since I'm only making a simple 2D game of rotating object via Z-axis. I wanna try this solution but I got no change since I'm trying to find the RPM from a ...
1
vote
1answer
61 views

Seams between tiled textured cubes

I've created a textured cube in Blender, which I have uv-mapped like this: The tiles are 256x256, and I've mapped the coordinates exactly at the edges (e.g. x: 256, y: 512). I then export my model ...
1
vote
1answer
57 views

Limiting Bounds of Camera

I'm using the following code which I've taken from Unity and edited it a bit, but I seem to misunderstand the right way to actually add bounds to the camera controls and the way to implement the ...
0
votes
0answers
29 views

Unity AddExplosionForce to a Navmeshagent

the navmesh agent is intaracting with the exploding object, explosion occurs and agent takes damage but no pushback occurs. expodingobject using UnityEngine; using System.Collections; public ...
3
votes
1answer
96 views

Coroutine stops when Time.timeScale = 0

I have a coroutine that smoothly changes a variable in my UI, but when I pause the game, the coroutine pauses too. How can I fix that? Code: using UnityEngine; using System.Collections; public ...
-5
votes
1answer
56 views

New to game development [closed]

I have some programing experience, and I have tried making some games. I have some knowledge with c#, but I am much better at python. I have a general code structure knowledge, so I am open to learn ...
1
vote
1answer
51 views

Animation Scaling?

I have an animation that changes the scale of the GameObject but also happens to change the position as well. I do not want the position to be changed by the animation, only the scale. How can I do ...