Skip to main content

Questions tagged [unity]

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.

Filter by
Sorted by
Tagged with
0 votes
2 answers
89 views

How can I get complete path of a sprite? describes how to get a sprite path using UnityEditor.AssetDatabase which isn't available in builds. I need a way to get the ...
Goose's user avatar
  • 123
1 vote
1 answer
132 views

I'm not sure if there's a setting or wildcard I'm missing, but when I search in the hierarchy panel the results are presented in alphanumerical order with no reference to the hierarchy of the ...
FrontEnd's user avatar
  • 1,789
0 votes
0 answers
126 views

I am experimenting with 3D car physics in Unity and want a good car for a racing game. I've been trying to implement turning (and drifting) for this car. I want the car to automatically drift at high ...
ak64_k15's user avatar
1 vote
1 answer
63 views

I have created a custom shader based on Unity's standard surface shader, but tiling and offset properties don't work at all. Only the albedo texture slot's tiling works. How do you make tiling work ...
V.R.S's user avatar
  • 35
0 votes
1 answer
117 views

I am trying to work out how to use LOD Groups with interactive gameobjects. As a simple example lets say I have a prop which when the player is a certain distance away it plays a sound. The problem I ...
FrontEnd's user avatar
  • 1,789
3 votes
0 answers
135 views

I’ve played The Last Campfire recently and got really inspired by it, so I’m trying to recreate some scenes from the game just to improve my 3D art skills. But there’s one thing that I’m a bit lost. ...
GrandMagus's user avatar
2 votes
1 answer
143 views

I'm working on a turn-based tactics game in Unity3D/C# in which players control Detachments composed of multiple Units. Each Detachment occupies one hex on a map, and may contain up to one each of ...
novawhelk's user avatar
2 votes
0 answers
136 views

I have animations that are played via script. Occasionally, glitches occur at runtime that I can't explain. Here is an example: These glitches do not occur consistently but appear in almost all ...
Jachuc's user avatar
  • 45
1 vote
1 answer
187 views

I am developing a Meta Quest 3 (v74 for my OS with SDKs version being the lates the time of writing - v72) application in Unity 6 41f1 (and 29f1), where I currently struggle to get the application ...
shanji97's user avatar
  • 302
0 votes
0 answers
82 views

I'm encountering an issue with in-app purchases (IAP) in Unity, in the iOS sandbox environment. It seems to be allowing a player to re-purchase a non-consumable item they already bought. Below are the ...
Mohammed Rilwan Ibrahim's user avatar
1 vote
0 answers
52 views

In the video you''ll see I change the Time Countdown to 500, but when the game is running the value is 15. I've had this issue before, and re-created the script / prefab from scratch. Can someone help ...
Anthony's user avatar
  • 11
1 vote
0 answers
58 views

I'm jumping in a huge Unity project and looking for ways to develop an initial understanding of the code base. I'm wondering if it's possible to have the name of the scripts that are being loaded at ...
frame21's user avatar
  • 11
1 vote
0 answers
64 views

I want to have a sprite that is invisible when outside of light, and visible when inside of light. I created a new Custom Lit Shader Graph in Unity 6 with the following setup: I then created a player ...
stevendesu's user avatar
1 vote
3 answers
251 views

I'm developing a game in Unity, and I've reached a point where I need to handle multiple states, such as main menu, gameplay, pause, score screen, etc. At first, I tried managing this with a switch ...
Daniel Hall's user avatar
0 votes
2 answers
197 views

I'm going to use a texture atlas for my upcoming project, and am trying to find a way to create a color overlay for only a specific section of my texture. Below what I'm trying to accomplish, only for ...
L9572's user avatar
  • 11
0 votes
1 answer
98 views

What are my options with Unity to host a multiplayer server as cheap as possible? Preferable if it's also avaliable in Russia.
Треш's user avatar
1 vote
0 answers
74 views

I've been working on learning how to create painted textures. I was able to create a castle model and hand panted the texture on to it. The castle looks great, but only when it is specifically set to &...
Gary Holiday's user avatar
1 vote
0 answers
93 views

I'm creating a game in C# with Unity. I want to know how I can send myself telemetry data (e.g. how long it took the player to complete the level) in the code in a way which is easy to set up and ...
Robin's user avatar
  • 723
0 votes
1 answer
218 views

Is there something special I need to do to get the drag handlers to work on my UI? I have an EventHandler, a Canvas with a GraphicsRaycaster, and the Canvas has 2 children, both TextMeshPro buttons. ...
Aaron's user avatar
  • 155
0 votes
0 answers
38 views

if (Input.GetMouseButtonDown(1)) { animator.SetBool("Aiming", true); vC.m_Lens.FieldOfView = 73f; Debug.Log(vC.m_Lens.FieldOfView); }; When I ...
kaliboba's user avatar
1 vote
0 answers
69 views

I have a shader for outlining an object, how do I apply the material with this shader to all submeshes, not just the last one?
d1spatcher's user avatar
0 votes
1 answer
62 views

I am fairly new to Unity. I want to create a VR project that I build to WebXR and publish to the web. I am using the sample scene from this project and it helps me get up and running. I am able to ...
Bernie2436's user avatar
0 votes
0 answers
59 views

Question: In Unity, I have multiple additive scenes, each with its own camera and Canvas. The Canvases are set to Screen Space - Overlay and use their respective scene cameras. All Canvases are on the ...
Oozeer's user avatar
  • 101
1 vote
1 answer
103 views

I want to change all properties of the lens distortion in my post process profile but can't. I can change the intensity and scale but not the center and multiplier values. This is my code: ...
Thamska's user avatar
  • 13
1 vote
1 answer
212 views

Meta has an application called Meta Haptics Studio that allows you to create detailed haptic timeseries data. It outputs this data in the following format as amplitude and frequency information: ...
Programmer9000's user avatar
1 vote
1 answer
181 views

For a few weeks now we experienced random crashes of our Unity game. At first we thought it was part of our more or less complex Gameplay and Multiplayer implementation but today it happened in our ...
Nenad Slavujevic's user avatar
0 votes
1 answer
90 views

Have an basic enemy prefab that when spawned, I would like it to lock to player and move toward them, with smooth rotation. However, as you can see in this video, the enemy initially moves away from ...
Anthony's user avatar
  • 11
1 vote
1 answer
162 views

I am having an issue with shader graphs. I have made a shader to put textures on white sprites. The texture itself shows properly and I can tweak the size without any problems. The issue is that it ...
FSic's user avatar
  • 188
0 votes
0 answers
29 views

I am working with isometric tiles the first time and have some trouble importing them from tiled. I want them to be imported so that the upper part of the "cube" matches the tile so that i ...
Starbax's user avatar
  • 101
0 votes
0 answers
57 views

I'm developing a board game in Unity and facing an issue with image clarity. The board consists of multiple nodes, each displaying a 480x600 px image. However, these images appear blurry and ...
Sanchit Singhal's user avatar
1 vote
1 answer
157 views

So, to keep it short, I am developing a simple top-down RPG. The player (and party) can only move in 4 directions. Seems really simple, but I have not been able to find a good answer on how to ...
J_D's user avatar
  • 11
0 votes
1 answer
76 views

I'm trying to access the GUID of an object and use these GUID to search for the object, whether it is in a scene or in the ...
Ahmed Dyaa's user avatar
0 votes
0 answers
49 views

I'm a novice to game development and experimenting with trying to create an RCS thruster (child game object) on a capsule (parent game object). What I am desiring to do is to apply a force on the ...
Skittles's user avatar
  • 103
1 vote
1 answer
140 views

I am trying to create a ScriptableSingleton to save certain values for a tool window I developed. The data is saved and loaded as long as Unity is running, but ...
Ahmed Dyaa's user avatar
0 votes
1 answer
164 views

I am placing a 3D game object with a SpriteRenderer + Billboard attached to it in my scene. However, since it's a distance away from a perspective camera, the sprite gets scaled, losing a lot of the ...
PayasoPrince's user avatar
0 votes
3 answers
585 views

I have a hexagon sprite MainTex over which I want to render an outline texture SecondaryTex independent of the alpha value of the MainTex. Since I have a fairly large grid with many hexagons, two ...
Jachuc's user avatar
  • 45
0 votes
0 answers
37 views

I am trying to develop a tool for baking light in Unity but with some modifications and additions. Currently, what I want to achieve is for the commands ...
Ahmed Dyaa's user avatar
1 vote
0 answers
61 views

Attempting to get a UI Panel to match the color and background of a GUI Window. Currently, using the default style for a GUI Window. Attached is a screenshot of the GUI Window. I've tried access the ...
wrappingduke's user avatar
0 votes
1 answer
162 views

I need to shrink the radius of a ring without deforming it by shrinking it's outline(the way scaling it would). I need to do this until the hollow fill is gone and its a solid spot. Here's an example: ...
PayasoPrince's user avatar
0 votes
0 answers
59 views

For context, I'm almost a total beginner when it comes to the Unity Engine and game dev with some programming knowledge. As I have already tried to develop games many times in the past, but I lacked ...
Victor Neves's user avatar
0 votes
1 answer
67 views

I am trying to develop a tool for light baking with certain modifications, but I do not understand the difference between the two functions BakeAsync and ...
Ahmed Dyaa's user avatar
0 votes
0 answers
96 views

I'm developing a tile-based game where some of the tiles have unique materials (generally to avoid repetitive patterns by sampling a large or procedural texture using world space coordinates). However,...
TT87's user avatar
  • 51
0 votes
1 answer
131 views

I have a hexagon grid with cubic coordinates. I want to calculate clockwise all border hexagons for a given movement range. At the moment, I am iterating every neighbor that is not in the range and is ...
Jachuc's user avatar
  • 45
0 votes
0 answers
45 views

I use a Fiio K11 DAC to improve sound quality and quickly switch between headphones and speakers. Unfortunately Unity doesn't seem to be able to communicate with the device. From my understanding ...
AzulShiva's user avatar
  • 679
0 votes
0 answers
48 views

Here is my script for opening animation. It basically sets the localPosition of an object out of the screen and then brings back in smoothly. The problem is I got ...
Said Polat's user avatar
0 votes
0 answers
31 views

In Unity 6, I have a NavMeshSurface attached to a floor with other items as NavMeshObstacles and this seems fine. The problem is,...
daijo's user avatar
  • 1
0 votes
0 answers
69 views

In a 3D world, I have a hockey puck-like body. I have made a mechanic where I can launch the puck with a slingshot mechanism. But the point of contact is determined with a raycast and the "sling ...
tomsseisums's user avatar
  • 3,366
0 votes
0 answers
123 views

I'm creating a simple bullet hell game for Android and I ran into an issue when diagnosing my game using the Memory Profiler where memory usage was increasing after each play-through. I had calls to ...
hoffer's user avatar
  • 1
0 votes
1 answer
56 views

When I first used it I remembered it as always calling the specific method once. So if I created a Jump Action with the key binding of space using SendMessage: and then created a method for it: ...
MrV's user avatar
  • 49
0 votes
1 answer
121 views

In Unity 6, there are multiple options for post processing, but I have been unable after many tutorials and AI advice and the Unity docs, and also installing free packages and removing them and ...
daijo's user avatar
  • 1