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

Can Soomla directories be safely moved one directory down in Unity?

I'm integrating in-app purchases in my game. To do so, I chose to use Soomla (http:soom.la) asset. I use the free version registering for the grow bundle. I've downloaded a unitypackage named ...
0
votes
0answers
26 views

Examples about how to tie AI actions to animations?

I wrote a simple test AI for a character; and all that it should do is to be idle while a parameter is below threshold; otherwise it should perform actions based on other parameters. So for example ...
0
votes
0answers
22 views

Unity - Increase the size of elements in a ReorderableList

So I have the following List: Which I have created with the following code: [CustomEditor(typeof(Data))] public class dataInspector : Editor { private ReorderableList ...
0
votes
1answer
18 views

How To Update Animation in Unity After Changing the Names of Objects in Mechanim

I have an animation clip I made with Mechanim. But when I changed the hierarchy of the objects in the children, it stopped working! The text says ( Missing! ) Why is it breaking? How can I fix it?
0
votes
0answers
45 views

3D Noise for Terrain in Chunks

I'm trying to create a voxel engine that uses marching cubes to create smoothed terrain. I have most of it implemented, but: I'm struggling with how I should create a noise function in ...
4
votes
1answer
60 views

Unity - Adding more functionality to a List<T> Inspector

Let's say I have the following code: public List<Armor> armors = new List<Armor> { new Armor() { name = "Black set", folder = "black_set"}, new Armor() { name = ...
1
vote
0answers
31 views

Unexpected behaviour after adding animator and Unity editor crash

I have realy strange problem which accured after adding animator(I suppose) to prefab Object. Situations looks like follow: I had object which have only sprite renderer, collider2D and script ...
1
vote
1answer
63 views

Unity 5 - Time Remaining displaying in scene but not in Game

I'm currently learning game development in Unity from this course on Lynda.com. Currently I'm trying to displaying the time remaining in the game after it has been set to 5 minutes initially. When I ...
1
vote
0answers
18 views

Unity keyboard GUI navigation priority

I noticed something strange while playing with my menu on keyboard. I have four items arranged in a square (i.e. the top-left item should be able to navigate to the top-right and the bottom-left). If ...
1
vote
0answers
17 views

Real-Time Speech & Verbal Communication with a Mecanim Character

What would be the simplest method of integrating real-time verbal communication within a mecanim character that is already being used in a Unity app/project? Something like an SDK or toolkit? I have ...
0
votes
2answers
93 views

How to make rigid body move smoothly on uneven platform?

Right now I'm using Rigidbody2d for the game character along with polygon collider 2D(2d platform game). I'm beginner hope I'm using correct components. And transform to move character from left ...
0
votes
0answers
11 views

Log in with amazon (lwa) in unity

Has anybody got any experience with "Login with amazon" in unity (for android)? I've got it working with GameCircle but that wont give me the access token which I need to verify the user on my ...
0
votes
0answers
20 views

Get access token via Log in with google in unity

I would like to be able to login with my google account in my unity game. I've tried using Play Game Services, which imo would be the best solution, and I can log in and get name and ID and stuff, ...
0
votes
1answer
40 views

How do I remove specfic OptionData from Dropdown?

How would I remove one of the elements from the dropdown? For example, how would I remove Sprites? Here is my code: public Dropdown researchFeatureDropDown; researchFeatureDropDown.options.Add(new ...
0
votes
1answer
61 views

Transform components in ECS

Many game engines I've seen which are based on an Entity Component System. It has some kind of a Transform Component as a necessary component attached to all of their entities. While this does seem to ...
3
votes
1answer
91 views

How to blur entire scene but a specific spot in Unity?

What I want is basically: A way to blur every object/sprite on the scene, but have a "blur-free" circular zone, that can move. And everything that's behind that circular zone won't have the blur ...
0
votes
1answer
22 views

Change button sprites in scrollview Unity3D_5.2

I have a scroll view with lots of buttons on it. when i press one button, that button needs to change the sprite and stay like that. if any other button (or same one) is pressed previous button needs ...
1
vote
1answer
46 views

Prediction of collision place and time in Unity [duplicate]

I have two moving objects. I have chosen trajectories for objects that they would definitely collide if they don't change speed or trajectory. Is there easy way to check at which point and time the ...
0
votes
1answer
45 views

ArgumentNullException Parameter name: format [closed]

I have made a simple game using Unity with Vuforia and exported for Android and iOS. It works fine on Android, but on iOS it crashed and gave the error: ArgumentNullException: Argument cannot be ...
0
votes
0answers
25 views

Handling parametric and reusable sprite animations

I'd like to create a simple logic that handles sprite animations in a way that they can be easily reproduced and parametrized. As example, I want to perform some basics animation like transitions and ...
1
vote
0answers
52 views

Problem in power up generation

I am trying to instantiate an obstacles, Currency and Power up in the game. i am using same script to instantiate all. obstacles and currency are working perfectly but power ups is not generating in a ...
1
vote
0answers
27 views

Help for structuring classes [closed]

I am creating a platformer game with some card base fighting. I was thinking about how should I structure my classes? There are 2 types of cards i.e. Continuous effect and 1 time effect. Also, they ...
3
votes
1answer
45 views

How to add user created data to drop down menu options

So I'm trying to make it that I can have a dropdown that will have user created info appear in it. List<engines> engineList = new List<engines>(); public Dropdown engineSelect; public ...
0
votes
0answers
9 views

Issues with importing bezier curve animation (curve does not distort?)

Hi guys i'm pretty new to unity and having a frustrating issue; I've created a spear gun with an animation using a bezier curve grouped to the main gun shaft and distorted using a bone (bone relative) ...
0
votes
0answers
43 views

Getting a part of terrain from a bigger one

So I have a terain of size 8192*8192. And I want to get a part of it as its own terrain. I have created a function that gets height needed for terrain, but it just minimizes the whole terrain. The ...
0
votes
1answer
28 views

Unity iOS build failed : Apple Mach-O Linker Error

We are using Unity v5.3 and Xcode v6.3. When we are trying to build for iOS, it throws error in build process: "Apple Mach-O-Linker Error" - with tons of errors similar to this: duplicate symbol ...
-1
votes
1answer
79 views

How to disable Camera from tilting when following a game object?

I have a game character object which is followed by camera. Camera is child object of Character. Using rigid body makes the character tilt in slopes and camera tilts too. how do i stop camera ...
-1
votes
1answer
35 views

Detect clusters of tokens on an x y grid

Ok, so I have a two dimensional grid working on integer x and y coordinates. Each of this coordinates can have one and only one token on it. The tokens have the capability of check and return an ...
1
vote
1answer
35 views

Using .svg in unity(2D)

Creating resolution independent sprites is tough and memory consuming. How can .svg assets be used in unity for any kind of 2d game? What are alternatives to .svg that can be used in unity? Can ...
1
vote
1answer
62 views

Can you use a standard multi-thread if only reading unity objects?

First of all I know about coroutines and how to use them (they're awesome). A friend of mine was telling me about the way the he implemented his saving system in a game he was working on, after ...
1
vote
1answer
76 views

How to share Unity High Scores on social media (Facebook , Google+ and Twitter)?

This may be a common question but as a n00b I have some confusion on achieving this . I am on a small game project and I want the user to share his / her scores on social media after completing the ...
0
votes
2answers
79 views

Different physics engines on the client and server sides

I am developing a 2D multiplayer game as follow: semi-authoritative server handle up to 40 players per game. Players and other game objects will interact/collide with each other Physics like ...
0
votes
1answer
45 views

Calculating unique ID number from a set of bitmasked tiles

So I write this kind of match3-style game where you as a player need to match tiles with three or more of the same type and I'm thinking what is the best method to recognize the shapes without writing ...
1
vote
0answers
27 views

“following” Object not Interacting with the game world correctly

So I finally have my object detecting the distance between itself and the player. If within range, the following enemy will chase the player down and touch it. (This will kill the player) However, ...
1
vote
1answer
16 views

Unity - Problems with scene object orientation and rotation after updating my project from 5.0.0 to 5.2.2

Last year I made a large project on Unity 5.0.0, today I re-opened it on 5.2.2 to do some work on it. I was given the message that the project needed to be updated, I allowed it to do the update. Now ...
14
votes
2answers
2k views

RTS game unit structure

I want a way to make a lot of different units without having to program stuff like moveTo and Attack actions more than once The way I see it, there are 2 ways I can do this. A single generic Unit ...
1
vote
1answer
50 views

Synchronizing players and game objects in a server/client multiplyer game

OK guys, I have some experience with 2D game development (single player only), so that's fine no questions here. The problem is with multiplayer games. I already read lots of other questions and ...
0
votes
1answer
31 views

“Following” Object is acting Strangely?

So I recently designed an enemy that will follow the player when he comes within a certain distance of the object. However, there are times when the player comes in range, only for the "follower" ...
-1
votes
0answers
31 views

Unity editor script to organize assets?

I dont know the first thing about in editor scripting, so I apologize in advance. I have a massive folder of textures and materials, each material has an unapplied texture with the exact same name. ...
2
votes
3answers
151 views

How to test if procedurally generated level for infinite runner can be passed?

I have a 2D infinite runner platformer game built in Unity 5, where the level procedurally generates itself. I need to check if it is possible to pass the holes on the level. How could I do that?
0
votes
1answer
25 views

Unity Geometry Shader Compiles forever

I am writing a shader to achieve a laser show effect example. For now I am just focusing on the lines. One line ist represented as one triangle. When I save my shadercode, unity gets inactive and I ...
1
vote
0answers
86 views

Procedural Islands Voronoi Pattern

I'm trying to keep this as simple as possible, as I've found out the last few days this is a very difficult topic. I'd like to generate multiple flat islands, formed by a voronoi diagram. I've ...
0
votes
0answers
55 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
22 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
48 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 ...