Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
20 views

How to integrate Skype for Business/Lync 2013/SharePoint in Unity3d?

I am developing a cross platform application that needs following features: VoIP Video Call Group Chat Individual Chat Friends & Blocking System Share a Program/ Desktop Shared White Board Share ...
0
votes
0answers
6 views

Pivot points on animated game objects are messed up

Whenever my 3D graphics designer imports models (created in Maya) that are attached to animator controllers, their local pivot points, as shown inside Unity, are invariably messed up. Here is an ...
0
votes
0answers
19 views

low poly random generated terrain in unity

So I'm trying to make a randomly generated terrain that's low poly and is infinite. My goal is to have it so every time you spawn you have a little lander and you can go back to it no mater how far ...
0
votes
0answers
24 views

How can I find a bounding box for a bezier curve and rotate whole curve around a specific point

I am using the code from the question Adding functionality to make individual anchor points of bezier continuous or non-continuous to create bezier curves (I added a line renderer). How can I find ...
0
votes
1answer
49 views

GPU Gems Chapter 1, update normal

Had plans to follow GPU Gems to gain knowledge in Shaders - but my journey came to an abrupt end. ...
0
votes
0answers
39 views

Uses of Unity Resources deprecated - so what else?

Ref: https://unity3d.com/learn/tutorials/topics/best-practices/resources-folder Don't use it. I'm new to Unity and want to reach out for some advice here - I'm at game start, and want to take the ...
0
votes
0answers
6 views

Unity3d - VR - motion controlled hands and ball

setup: I am in a VR environment. My "game" has only two objects: a motion controller controlled "hand" that is rigged and animated (the animation is a grasping pose), and a ball. The ball has a ...
0
votes
0answers
18 views

UI Animation with shader move weakly

I want to animate UGUI vertex with shader like this: ...
1
vote
1answer
21 views

Unity - Display array of Objects in inspector

I have an array of ScritableObject's, which should only be displayed in the inspector if a boolean is true. How would I do this? ...
0
votes
1answer
25 views

Unity camera has no preview, and is not moving

I have set up a camera in 2D mode. There is only one camera named "Main Camera", and it is set to "MainCamera" (tag). In console I can see camera's transform position updating, but it isn't moving. ...
0
votes
0answers
10 views

Upload mobile game to facebook playable ads

How do you upload Unity-based mobile games to Facebooks playable ads that launched recently?
0
votes
0answers
17 views

Unity Shaderlab: Pixel Perfect Distortion Shader that uses screen position?

So I am trying to make a distortion effect vertex-fragment shader! I am pretty new to shaders in general, and I am having some trouble with it. The effect is: from a distortion texture, I get a ...
0
votes
1answer
40 views

Why won't InvokeRepeating work for me?

I am designing an FPS game and scripted this shooting enemy that is supposed to shoot at the player if he is in the trigger zone once every second, but it just rapid fires and ...
1
vote
1answer
66 views

Unity Anti-Cheat solutions

I'm currently working for a websites client development team and need guidance on where to go for anti-cheat with unity. We have scripting, where a user can code in their own features via a editor we ...
0
votes
0answers
15 views

how to update game that uses Sqlite on android?

im working on android game that uses sqlite. i need to update my game in periods of time. my game updates are implemented on database and also player progress and saves are on same database for ...
0
votes
0answers
8 views

Error in Standard FPSController

I get the error: Assets/Standard Assets/Characters/FirstPersonCharacter/Scripts/FirstPersonController.cs(33,17): error CS0246: The type or namespace name `MouseCamera' could not be found. Are you ...
0
votes
0answers
18 views

How to QUICKLY make material from images in Unity?

Ok for these years Ive made materials from exported texture images by 1. importing the images 2. make a material 3. Manually drag each image into its slot in the material There must be a faster ...
0
votes
1answer
21 views

Unity Editor wont open

When attempting to open an old project or create and open a new project unity won't open. The hub will open and when you choose a project it will close and then nothing will happen. Also when a new ...
0
votes
1answer
24 views

Unity Rigidbody sitting on top of another Rigidbody does not move with the Rigidbody its sitting on

I have a mesh with a rigid body that moves back and forth like a platform. Other rigidbodies fall onto the upper surface of this cube. The problem I have is that when the platform rigid body moves the ...
0
votes
1answer
24 views

Weird behavior using TextMeshPro

I have a very simple scene setup. What I want to do is to create a button prefab composed of a sprite and a TextMeshPro object. When I group the sprite and the text under a GameObject, the pivot of ...
0
votes
0answers
23 views

Using a light mask overlay without lighting the sky

I'm using an overlay to create a lighting effect in a 2D game. The overlay is a grey-scale mesh and I multiply each pixel of the mesh with the pixel already written to the framebuffer. This works ...
0
votes
0answers
14 views

Animation doesn't play on start

I've got a simple question, I'm making a mecanim animation to my character but walk animation sometimes start on diferent positions, sometimes it start using left leg, that's right, and sometime using ...
0
votes
1answer
33 views

Camera Movement - Snap Camera back to origin in relation to the player object

I am trying to implement camera movement like it is done in Guild Wars 2. Scenario is when A and D keys are pressed, the player rotates right / left and the camera follows and stays behind the ...
0
votes
0answers
26 views

How can I call OnHierarchyChange only once when there is a change in the Hierarchy?

I'm using EditorWindow type script and when there is a change in the Hierarchy it's getting to the method OnHierarchyChange but then keep getting there each second/frame nonstop. And I want to do ...
5
votes
2answers
68 views

Object move along path

I am making a game where the player gets chased by lava along a road. From the road mesh i can access the points along each side. Currently i have an edge collider that moves along these points and ...
1
vote
1answer
16 views

Unity, understading Layout element - Min size and preferible size

I have been some time working with unity, and I am trying to get a better understand of the UI system. I am a mobile developer and I am redesigning the UI but I am unable to achieve what I want. My ...
0
votes
0answers
11 views

Problem in GLTF and collada library

I am trying to use collada library to import a 3d model in unity scene at runtime(for desktop application). As per this answer i insert collada files on unity it didn't accept this line (shows an ...
0
votes
0answers
7 views

How to continue receiving Arduino IMU sensor data using Unity BLE Bluetooth Asset?

I'm currently using the Bluetooth LE for iOS, tvOS and Android asset. My issue is with sending bytes from Arduino to the Unity Android app that I made. I can receive data, but then it stops after a ...
0
votes
1answer
22 views

How to give individual tiles their own collider in Unity's tilemaps?

My floor tile is a 2D drawing of a 3D platform, for lack of a better description. I want my player character to stand not on the top of the tile but a little inside it, as the red circle does in the ...
1
vote
0answers
20 views

How do I tag a specific build for sorting/filtering in Unity Performance Reporting?

I am working in a Unity project where there are multiple versions of the app being build from the same code base. The app being built is determined by a Script Define. I want to be able to sort ...
0
votes
0answers
24 views

Animator only plays the first few frames

i'm working on a Shooting Game as a project using UFPS as the platform and the Soldier Pack as the AI's Asset. However, i can't seem to implement the animations properly as they only keep on playing ...
0
votes
1answer
35 views

How to download material files (including shaders) from external source on runtime?

My game has a lot of different materials, shaders and textures. When a bunch of players are dropped into the same game, I want those assets to be loaded from an external source instead of being built ...
0
votes
1answer
31 views

Keeping 2 objects within cameras view

I have two object to control and I wanted to keep them at cameras view without adjusting the cameras size but the camera can move only in positive y-axis meaning ones it goes up it shouldn't move down ...
1
vote
0answers
52 views

Sprite sizing in Unity

I have a visual design created in Photoshop which is 1440 pixels wide and 3118 pixels heigh. I need to import the assets in Unity and achieve the same layout that's done in Photoshop. I tried playing ...
0
votes
1answer
41 views

Load 3D model from external directory

I am developing a desktop application that want to load the 3D model from desktop. Using file explorer user wants to choose the 3d model then it want to show in the application scene.I tried to find ...
1
vote
1answer
30 views

New Unity Post Processing - Default Project '3d With Extras' - What effect is causing this transparency in distant objects?

I've recently seen in Unity you can start a new project with Extras included. Which is basically some post processing to make it look nicer as standard, as well as some assets/materials etc to get you ...
0
votes
2answers
78 views

Is it secure to use UDP socket for a game server?

I'm working on a multiplayer android game with Unity. For server side I use python. There is no login system or username. Basically, there is a matchmaking system and rooms. I send json object which ...
6
votes
2answers
2k views

How to make a custom event system framerate friendly?

I have a simple event system: ...
0
votes
0answers
14 views

translatory motion of a unity game object based on orientation

I have a unity game object which changes its orientation based on orientation data from smartphone sensors. I am using the code below. What I don't know is to move the object based on orientation. ...
0
votes
0answers
20 views

Movement of objects not recognised in Scene View till objects are selected

I created a game object and added a SpriteStuff script to it that I created with a various properties and functions for the game object. I also made a few copies of ...
0
votes
0answers
25 views

Unity movement forward doesn't work as expected

I'm moving my object on a road builded with a primitive plaines, there is also some downhill parth, (like a car that run on a road) here is my script : ...
0
votes
0answers
14 views

Animator's OnAnimatorMove() and MonoBehaviour's Update() method problem

It seems whenever I try to use animator's statemachine with OnAnimator method... Then I write some codes codes in Update method.... It seems my game stop functioning OnAnimatorMove method on ...
2
votes
2answers
50 views

Temporarily ignore collision?

Same premise as this question. When the ball bounces off of a wall, I want the ball to temporarily ignore all further collision events of the wall it just collided with, for three seconds for example. ...
0
votes
0answers
19 views

How can I move car by Joystick like Death & Really?

I'm trying to move my car by Joystick like this gif: I have Idea to making this system: suppose there is object front of car as carrot.when player move Joystick , carrot will rotate.so car will ...
2
votes
0answers
43 views

How should I organize 2D sprites?

I'm using a Unity Tilemap in my 2D game, and I have several hundred 32x32 sprites. Most of the examples I've seen using sprites have a few consolidated sprite sheets that contain all of the game's ...
0
votes
1answer
18 views

Problems when rotating object to animate in Unity

I am trying to create some animations for a car model in Unity and I have a problem with the rotation of the wheels https://imgur.com/a/HcWxyob Here I can set the rotation properly as the pivot ...
0
votes
1answer
47 views

How to make a 2D sprite slowly vanish as it crosses a line — as if disappearing behind a wall?

...Except there is no wall. Only one of its edges. Here is what I mean. Notice how the lines "sink" into the center square. I've been trying to do something very similar, in Unity. My approach is to ...
1
vote
2answers
35 views

Is Apple Game Center Multiplayer Online?

I'm trying to build a real-time multiplayer game on Unity. I was thinking of using services such as PUN or UNet, but then I ran into Game Center's multiplayer API. I've read that Apple doesn't give ...
0
votes
0answers
9 views

Unity - TextMeshPro Assembly Reference not being recognized

I'm trying to use TextMeshPro plugin which requires the TextMeshPro library. The problem is, despite the fact that the library includes this reference, it's still not recognized. Using the old TMPro ...