Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.

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
1 answer
4 views

I have a spellsystem where a the spell is a selfcontained GO handling all the logic. When done, it destroys itself. Workes great Now it got a second GO adding animation, bundled it under a parent GO. ...
Zibelas's user avatar
  • 4,742
0 votes
0 answers
23 views

I'm using a very basic animation to create a transition, which involves deactivating a gameobject on the last keyframe. Goal: The ChangeRound animation is about 1 second long. It enables the UI image ...
Curio's user avatar
  • 231
3 votes
1 answer
119 views

I'm trying to implement a robust pause system in Unity and I'm confused about the correct approach. My first (very simple) implementation in my previous project used a ...
Curio's user avatar
  • 231
1 vote
0 answers
30 views

In the Unity engine, I am using GPGS as a token to log in via Google sign-in. It works, but now I have another issue: As of the last update of the SDK 2.1., this method in PGS for Unity is deprecated: ...
Ramarolo's user avatar
0 votes
3 answers
132 views

Object pools are great. They are fun to make, save you a lot of memory and fps. But as my projects grow in size and complexity it gets harder and harder to work with them. If you only have a couple of ...
MrV's user avatar
  • 49
1 vote
1 answer
45 views

I have a prefab with some fixed sizes on itself and its elements: Then added a Aspect Ratio Fitter and a Preferred Height: . When using that prefab from a container with Horizontal Layout Group with ...
Henrique Pombo's user avatar
1 vote
0 answers
20 views

I am pretty new to rendering, and I wanted to add a black and white halftone effect. I wrote the two shaders and created the materials (pass 0 to create mask and pass 1 to mix it with the scene). They ...
R B's user avatar
  • 11
0 votes
1 answer
67 views

Note: I intend to use only the Inspector window to use all textures, not Shader Graph or Nodes or any custom scripts. Also I might use some technical terms incorrectly by mistake, as I'm not much ...
Vikas's user avatar
  • 103
0 votes
2 answers
104 views

I had some questions about Physics / Rigidbody in Unity. I have a 2D sprite with a collider. The 2D sprite is simply a card that I place on a table with the mouse. I use the collider for raycasting (...
Curio's user avatar
  • 231
0 votes
1 answer
58 views

I'm currently working on a Unity BepInEx Plugin that should allow users to customize certain textures in the game. As part of this, I need to extract sprites from a sprite atlas into individual ...
Ashiepaws's user avatar
0 votes
2 answers
119 views

The "Car" in question is a plane. The question is pretty self explanatory. Here's the Car in the Hierarchy: Here's the car in the inspector: And here's the PlayerMovement script: ...
IamaPineapple24's user avatar
1 vote
1 answer
86 views

For context: I am currently working on a BepInEx Plugin for the Unity-based game Hollow Knight: Silksong. The goal is to be able to replace the base game sprites with custom ones. The game uses Sprite ...
Ashiepaws's user avatar
0 votes
2 answers
79 views

I'm making a 2D game using Unity and I want to implement cutscenes that change over at certain lines. ...
August's user avatar
  • 1
1 vote
1 answer
92 views

I have a scene with quite a few gameobjects in it and for the first time since using Unity, when I enter/exit play mode (or even close and reopen the scene) it takes about a minute to complete this. ...
FrontEnd's user avatar
  • 1,789
0 votes
0 answers
85 views

I am playing a scene in Unity editor. If I play the whole scene, the FPS is 125. Next, there are 2 test cases. Case 1: If I disable some big game objects first, and then play the scene, the FPS is ...
Job_September_2020's user avatar
0 votes
0 answers
103 views

I would like to make a 2d top down scene with 3d Objects. I could make a 3D scene and just tilt the camera 45 degrees on X and that would give me basically the same thing(I think). But I started with ...
MrV's user avatar
  • 49
0 votes
1 answer
47 views

I have a Texture2D of the Moon, and I want to render different moon phases so that it visually matches the examples shown here Celestial Programming : Moon Phase Image Rendering, I've tried several ...
Ahmed Dyaa's user avatar
0 votes
0 answers
41 views

(Maybe good to know, this game is part of a game dev course where we had to make a Vampire Survivors like game) I thought SceneManager.LoadScene() reloaded EVERYTHING in a scene, like a clean state, ...
MrV's user avatar
  • 49
2 votes
1 answer
95 views

For context I am very much a beginner. I have been trying to get the player to move using Unity's new Input System following this tutorial. It's only a year old and others in the comments seemed to ...
Inky Solomon's user avatar
2 votes
0 answers
94 views

I'm creating voxel planets using Marching Cubes (MC). To handle nearby (high-resolution) and distant (low-resolution) blocks, I use an Octree data structure. NOTE: The implementation uses compute ...
Light's user avatar
  • 21
2 votes
0 answers
62 views

When I create a project in Unity, enable Google Cardboard VR support, and build a project on Android, the camera is controlled by a gyroscope, although I did not write any controllers. Even if I ...
Илья Виноградов's user avatar
0 votes
0 answers
156 views

I have heard many conflicting opinions about the pros and cons of using terrain vs mesh in Unity. Some people say that terrain has better performance while others say mesh does. So, I am not sure ...
Job_September_2020's user avatar
0 votes
1 answer
72 views

I want to use Unity as a library for iOS platform. I exported the build from Unity for iOS. But I am unable to locate UnityFrmework.Framework. Is there any step i am missing? Unity Docs states that: ...
Muhammad Faizan Khan's user avatar
1 vote
0 answers
42 views

I'm observing that when I move the camera a little bit it works normally, but if I move more then I'll skip chunks of the screen. I enabled "press CTRL twice to show cursor" with Powertoys ...
BrunoLM's user avatar
  • 111
0 votes
1 answer
36 views

My player is baked entity in subscene while main camera is outside on scene. For some reason system cannot find transform of camera, GameObject was found though. <...
UNREAL's user avatar
  • 1
3 votes
0 answers
139 views

The Goal I have a game in Unity which utilizes pixel art. I'm not following the standard rules of pixel art, however. I'm ok with sprites having different sized pixels, pixels rotating, and pixels not ...
Afropenguinn's user avatar
0 votes
1 answer
58 views

I have an asset called "Ocean" that contains 100 fish, and one of the prefabs for these fish is called "Dolphin". My game has 100 scenes, and each scene contains 1 different fish ...
Job_September_2020's user avatar
0 votes
0 answers
37 views

(Beginner questions) How do you setup the ramp with the tiles in unity? The graphics and the behavior? I've been checking this free tileset: In the image it has connected ramps I cannot seem to get ...
AturSams's user avatar
  • 10.6k
-1 votes
1 answer
125 views

I’m trying to replicate the fish physics from Fish Volleyball. If you want you can try demo of the game or watch video preview The unique part is that the fish doesn’t jump normally — instead, when it ...
Maks's user avatar
  • 99
0 votes
0 answers
61 views

I have my OpenStreetMap data exported using QGIS as a gltf file, and I'm trying to align it with Cesium 3d tiles for my high resolution model. The problem is that both have different coordinate ...
cluck ham's user avatar
0 votes
1 answer
108 views

I just recently imported a new asset package, all of the materials use the URP lit shader, no custom shaders. However, now I can't build the game because I keep getting the same errors: ...
Redsam121's user avatar
1 vote
1 answer
71 views

I am trying to make a digital clock (24:00 type), where each number is an individual image, that should change. So, I want to change sprites for multiple images in one piece of code. But when I ...
Ratty's user avatar
  • 13
0 votes
1 answer
127 views

Is it beneficial to use Generate Mipmaps for a texture used in a skybox shader? I need to use tex2Dlod to fix the edge seams ...
Ahmed Dyaa's user avatar
0 votes
0 answers
118 views

Relevant to this issue are two MonoBehaviour scripts: Actor and Player. ...
Bunabyte's user avatar
  • 331
1 vote
0 answers
79 views

I'm using: Unity: 6000.0.51f1 Entities: 1.3.14 Entities Graphics: 1.3.2 URP: 17.0.4 Shader Graph: 17.0.4 I'm fairly new to both DOTS and Shaders, but when trying to use DOTS with URP combined with ...
TheWolfNL's user avatar
  • 163
0 votes
1 answer
109 views

I use Unity and the player controller in the game is acting strangely. It has a Character Controller but no Rigidbody. I use CharacterController.Move to make him ...
Achie1's user avatar
  • 181
1 vote
0 answers
62 views

I created a custom skybox shader featuring a black sky with only the moon and its halo. The moon responds realistically to the scene’s directional light (sunlight), which creates a convincing effect. ...
Ahmed Dyaa's user avatar
0 votes
1 answer
103 views

In netcode for GameObject, network object script is used to make it networkable which means if the object instantaited it will appear on all clients. Network Transform allow you to sync the transform ...
Muhammad Faizan Khan's user avatar
0 votes
0 answers
50 views

My unity project is 2D universal. My goal here is to create a comic-like panel with outlines behind objects that have certain tags. This panel should follow the rotation and size change of said ...
pockspocky's user avatar
1 vote
1 answer
91 views

I am facing the same problem over and over again with Dynamic Lights in Unity and don't know where next to look. I am still learning Unity so maybe I'm missing something trivial because it happens in ...
rupps's user avatar
  • 141
0 votes
1 answer
109 views

I made a WebGL game at https://jugglecats.itch.io/startastic (password is "password"), but the game was far too large, making it take a too long to load. Upon inspecting the build report (...
Almenon's user avatar
  • 113
0 votes
1 answer
100 views

I am creating an AR game in where I would like to virtualize an 8-ball pool table. Since semantic labeling is practically useless, I would like to have some manual placement of objects and some ...
shanji97's user avatar
  • 302
0 votes
2 answers
86 views

I have this function that spawns an Icon from a world position and animates it to correct UI position. In editor it works fine but in apk on phone it has a wrong starting position. Now as I understand ...
Ivan's user avatar
  • 379
0 votes
0 answers
77 views

Here is the screenshot of a model I downloaded over. In the import settings inspector you can see (my interpretation — correct me if I am wrong please): Unity detects that its scale is in millimeters....
Muhammad Faizan Khan's user avatar
-1 votes
1 answer
68 views

In the editor, it does not matter if I set the resolution in the game view to my pc resolution (1920x1080) or to "Free Aspect". The only thing that changes is that in "Free Aspect",...
Daniel Lip's user avatar
  • 1,785
1 vote
0 answers
39 views

I made a character model with a rig for my game in Unity. The model itself is fine both in Blender and Unity. I decided to add customization of the character's clothing, which means that I need to ...
staff's user avatar
  • 31
1 vote
1 answer
108 views

I am currently modding in keyboard and mouse support for a Unity game that only supports controllers. The game is in an isometric style, and as such, the game camera is slightly tilted. The original ...
cyanic's user avatar
  • 121
0 votes
0 answers
46 views

I have imported NVDIA USD File assets in Unity and for this use the Importer by Unity (com.unity.importer.usd). It successfully showed the USD file in the scene as object but the problem is material ...
Muhammad Faizan Khan's user avatar
0 votes
2 answers
121 views

I am trying to make a camera system for a 2D platformer, with three camera modes to begin with: Follow, normally following the player Horizontal: Y is set, X follows player Static: Locked to a certain ...
CheckerT's user avatar
  • 176
1 vote
0 answers
45 views

I would like to make the square move strictly along a square trajectory. The square will later be used to mask the main sprite. How to achieve this result? How to move the square along the square's ...
White Raven's user avatar

1
2 3 4 5
335