Unity is a highly cross-platform engine that focuses on easy art pipeline process and uses Mono as its scripting back end.

learn more… | top users | synonyms (1)

3
votes
0answers
226 views

Is there a way to start (not) caching textures *now*?

Procedural textures with substance seem to update very quickly if you turn off caching, modify one exposed variable at a time, modify it frequently, and even then only after you've attempted to modify ...
2
votes
0answers
50 views

How should I set up 2D animations for weapons in Unity?

I have a character composed of several sprites (legs, torso, head, arms). The character has the ability to pick up weapons, which are of varied types. Each type of weapon has its own animation ...
2
votes
0answers
86 views

Can the Shuriken particle system create particles with random shapes and sizes?

I want to create differently sized (but small, relative to the characters) dust clouds for player movement that move away from the player and fade away by shrinking. This animated GIF from Samurai ...
2
votes
0answers
63 views

Unity3D — WAV plays an octave too low on Android

I have generated a synthetic 'concert pitch A' tone from sinewaves. It plays properly on OS X player, and on my Android device. Now I record myself singing a 'concert pitch A' into the microphone as ...
2
votes
0answers
184 views

Frequent stuttering, high FPS spikes with VSync option turned on in Unity standalone build

I'm experiencing an issue using Unity 4.3.2 and standalone builds. If I turn on VSync in the project's Quality settings, running the game at the native monitor resolution, I'll frequently get high ...
2
votes
0answers
52 views

How can I switch between texture atlases based on the iOS version?

How can I switch between atlases (with different resolutions) in Unity based on the runtime iOS version?
2
votes
0answers
385 views

Unity 4 mecanim; 'Quaternion to Matrix conversion failed, input quaternion is invalid'

I'm trying to animate a stick figure in Unity, with placeholder animations. Character is built/animated in Blender, exported to FBX. When imported to Unity, everything appears correct in the editor. ...
2
votes
0answers
197 views

What's the proper way to set up texture atlas in Unity 3D?

I am using Unity3d (free) to make a game with user-defined content (i.e., load in a map, it'll build the level for you). Everything is working as expected, except for the rendering. Note the ...
2
votes
0answers
521 views

How to occlude lights in Unity3D?

First off, I own Unity Pro. I've been looking in to occluding lights when they aren't being viewed for a while now to improve performance. The main methods I ran in to were using BecameVisible() and ...
2
votes
0answers
339 views

Unity3d. Overlay of clothes on a human model

I have: Clothes model (jackets, shirts, sweater etc. with various sizes,colors) Human model with dynamic height, width, position Need overlay a model of clothes on a human model. Variant with a ...
1
vote
0answers
49 views

Particle Effects Start Glitching out

My particle effects have gone crazy look: In my game, bombs drop on castle and then explode For the first few second of my game the particle effects for the explosion works. The particle effects ...
1
vote
0answers
27 views

Unity 2D angular velocity center

I try to add angular velocity to my GameObject with this command: rigidbody2D.angularVelocity = Random.value * tumble; All works, but I want center of velocity be in the center of my rigidbody, but ...
1
vote
0answers
75 views

How do I save a screenshot and load it as a texture for use in game?

I have a Unity level that takes a screenshot taken in the previous level and applies it as a material to a Plane, the problem is that it will get stuck and not apply the most recent version of the ...
1
vote
0answers
56 views

Unity: how highlight effect should be applied to terrain mesh

I have my game generate random voxel terrain, and then generate mesh on only visible parts of that terrain. I want it to be able to select some part of terrain with mouse, but I'm not shure how ...
1
vote
0answers
35 views

unity4.3 rigidbody2d unexpected force behaviour

So guys ive edited the question and here is what my problem is i have a player which has a rigidbody2d attached to it.my player is able to doublejump in the air nicely and stick to walls when ...
1
vote
0answers
49 views

Global variables with fixed shaders

In Unity3D, can I use global shader uniform variables with fixed function shaders?
1
vote
0answers
43 views

Unity3d web player fails to load textures

I'm having a problem with Unity3d Web Player. I have developed a project and succesfully deployed it in a web app. It works with absolutely no problem on my PC. This app is to be installed on two ...
1
vote
0answers
130 views

Photon unity networking PhotonNetwork.Instantiate issue

I am using Photon Unity networking. I am using the PhotonNetwork.Instantiate function to spawn players on local and remote devices (iOS and android). Newly connecting players automaticaly spawn at ...
1
vote
0answers
78 views

Unity crashes completely when I rotate my objects

I've started my first tiny Unity project and after 20 minutes I run into a brick wall. My goal was to create a Android 2D game with falling polygons, that you have to click and they disappear. ...
1
vote
0answers
62 views

SpotLight in ForwardBase pass using forward rendering

Is there anyway I can force Unity to allow me using a custom shader to render spotlights in a ForwardBase pass (using Forward Rendering Path)? For what I could see since now: Unity use and ...
1
vote
0answers
382 views

Unity 2D loading Spritesheet Atlas at runtime from web and using it dynamically

I am new to Unity (came from AS3/Starling) and just started for 2D games in Unity. I have a spritesheet / texture-atlas (many different sized images packed in a single png) which I want to download at ...
1
vote
0answers
128 views

How can I combine my scrolling effect with the vertex lit shader?

I want my shader to work in both Forward and VertexLit rendering modes. I'd written a texture scrolling shader, but I also want to consider lighting which is produced by Vertex lit shader. I can't add ...
1
vote
0answers
158 views

Unity : shader that uses mesh.uv to tile texture atlas and mesh.uv2 to tile light atlas

I'm using a texture atlas and a light atlas to tile a mesh. I have the texture atlas working fine. I can apply textures and create a sort of tile map on my coded mesh. At the moment I'm using the ...
1
vote
0answers
44 views

Loading source controlled MonoDevelop project leaves out some folders

I have recently started using version control in MonoDevelop and have discovered that if I include a folder containing for example Scenes that they will be included when I push changes to master. My ...
1
vote
0answers
694 views

How can I make caves with Unity's terrain creator?

With Unity's terrain creator, I can't simply make a "hole" on the mesh. I don't know how I would make cave-like structures other than using "rock" meshes for the roof (wich will indeed look weird) ...
1
vote
0answers
177 views

Consequences of running a Unity APK on Intel processor driven Android devices?

As more Android device manufacturers will be implementing Intel processors in the future, this question might be interesting for everyone who wants their Unity games to run on these devices. I ...
1
vote
0answers
81 views

How to keep two objects in the same zone when they collide?

I made a zone, cylinder with zero height. When one sphere moves to that zone it is fine but if another one moves to same zone will show just one sphere. I tried to add rigid body for each sphere but ...
1
vote
0answers
122 views

Positions are the same but appear in different locations

I have a procedurally generated tile that is a part of a turn-based hex tile game. When I try to have the tile instantiate a prefab that is the placeholder for a unit, I used the tile's ...
1
vote
0answers
140 views

Exposing a property to Unity editor that should be a path to an asset

I want to be able to do something like this: public FileInfo XmlBehaviourFile; And then use the asset browser in the Unity editor to select an asset. (Ideally, I would like to limit it to XML ...
1
vote
0answers
269 views

Unity game debugging on Xcode

This question has two parts: 1. How to get meaningful information out of Xcode crash logs? The game runs fine on the editor but when running on an iOS device it crashes and then gives information ...
1
vote
0answers
157 views

With 2 superposed cameras at different depths and switching their culling masks between layers to implement object-selective antialising:

We superposed two cameras, one of which uses AA as post-processing effect (AA filtering is cancelled). The camera with the AA effect has depth 0 and the camera with no effect has depth 1 as can be ...
1
vote
0answers
567 views

OnTriggerEnter not called

I am working on a fight game with 3D models but played like a 2D game. So the player characters have swords. The Player GameObject has several body parts that are colider triggers. The sword is a ...
1
vote
0answers
375 views

How to set up bloom in Unity

Last time I used image effects in Unity it was back when 3.0 was released and for bloom you used the object's alpha to indicate whether it should glow or not. Now in 4.2 I couldn't grasp how to apply ...
1
vote
0answers
183 views

Unity Pro - Shadow rendering issue

I am using Unity Pro 4.2.1f4 and I always have this sort of glitch. This is due to the shadows and the bias. Even with a low bias this is happening. I've found a thread that talks about that ...
1
vote
0answers
235 views

Access Android Camera.Parameters from Unity

I would like to access the android defined class Camera.Parameters.getHorizontalViewAngle() from a Unity3D c# script but my java skills are limited. Can anybody offer any help? I have this code: ...
1
vote
0answers
209 views

How to translate a direction on the screen to 3D space?

EDIT: Alright, I've figured out what's wrong. I'm calculating the direction vector properly with the below code: //Get our ship position in screen space Vector3 shipPos = ...
1
vote
0answers
227 views

Call Unity3D coroutines from a scripting language

I created a simple scripting language to use on a Unity3D game. My parser generates an AST with nodes for every type of operation, and to run the script all I need to do is call Execute() on the root ...
1
vote
0answers
266 views

Move parent according to child axis in Unity?

Can I ask my parent to move according to the child axis? This means if I turn right, then right again, the parent has to be at 180° from its original position, and not only at 90° (because "Right" ...
1
vote
0answers
180 views

How to play a movie on top of a webcam texture

I've been through the Unity docs, searched here, and on stackoverflow; I have not found any good information about using the WebCamTexture for my purposes. So here goes, how do I play a movie asset ...
1
vote
0answers
620 views

Unity3D: collider performances on mobile iOS devices

I'm experimenting with Unity3D and colliders. Unfortunately I still don't have Unity Pro version and I can't use the profiler. Consider the following situation: mobile devices (ios, iphone 3GS). an ...
1
vote
0answers
452 views

Unity - Mesh Deforms terribly while mixing animations

I have a simple game I'm working on to help me learn unity3d. In my Start() function, I've used the following code to set up my animations. walkAnimation = animation["Walk"]; ...
1
vote
0answers
597 views

Unity3d Gravity script issues

I'm try this script out http://wiki.unity3d.com/index.php/Gravity and I'm having some issues with it (it seemed to work when I tried it with an old version of unity) the first issue is of ...
1
vote
0answers
84 views

How do I stop movement from being mirrored on the X and Y axis with Unity & Kinect?

I have made a scene and avatar in the scene, put all of the correct joints on the Open NI Skeleton, but the outcome is not only mirrored on the x-axis, it is also on the y-axis. So, when I lift my ...
1
vote
0answers
356 views

5.1 sound in Unity3d 3.5

I'm trying to implement 5.1 surround sound in my game. I've set Unity's AudioManager to a default of 5.1 surround and loaded in a 6 channel audio clip that should play a sound in each of the different ...
1
vote
0answers
167 views

Virtual World Plaforms and Unity3d

I'm moving in the direction metaverse developing. A few years back I wandered around in Second Life and found it entertaining for a New York minute. Now, I'm set to plunge into the Virtual World/MMO ...
1
vote
0answers
241 views

Mesh deformation maya to unity

I have a model that has been modeled & rigged in Maya, whenever i export it as an FBX and take it into unity it seems to collapse at certain areas (see the attachments for a before and after). The ...
1
vote
0answers
397 views

Unity surf shader not rendering

I have created a default surface shader in unity and added a texture but it is not rendering. If i switch to a diffuse shader i see the texture but my shader is just black. Shader "TestShader" { ...
0
votes
0answers
16 views

Doing imagemagick like stuff in Unity (using a mask to edit a texture)

There is this tutorial in imagemagick http://www.imagemagick.org/Usage/masking/#masks I was wondering if there was some way to mimic the behavior (like cutting the image up based on a black image ...
0
votes
0answers
19 views

Unity game view differs from scene view?

I have an issue in which Unity is not showing the Game view in accordance to that of my Main camera despite setting them up as such in the photos. Would appreciate if someone could tell me where I ...
0
votes
0answers
21 views

Changing the material on an object on click in unity

Iam working on unity2d.I have six game object Object1,Object1,Object1,(these are images) ObjectImage1,ObjectImage2,ObjectImage3(these are images). I have arranged the object in the scene as a list ...