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.
16,724 questions
0
votes
1
answer
10
views
Does SceneManager.LoadAsync(name) load the whole asset or only the prefab?
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 ...
0
votes
0
answers
17
views
How do you setup a ramp with an existing tile-set in Unity?
(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 ...
0
votes
1
answer
74
views
How can I implement a fish character with a “chargeable tail” mechanic
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 ...
0
votes
0
answers
34
views
Aligning OpenStreetMap data with Cesium 3D tiles
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 ...
0
votes
1
answer
56
views
URP Maximum Sample Index (16) with Light Cookie Input
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:
...
1
vote
1
answer
38
views
Change sprites for multiple image in one function
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 ...
0
votes
1
answer
64
views
Mipmaps and LOD Behavior in Skybox Shaders
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 ...
0
votes
0
answers
81
views
Why does this code behave strangely with different camera angles?
Relevant to this issue are two MonoBehaviour scripts: Actor and Player. ...
0
votes
0
answers
44
views
using Unity URP/lit shader with skinning and DOTS
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 ...
0
votes
1
answer
70
views
OnTriggerEnter called without a Rigidbody
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 ...
1
vote
0
answers
46
views
How can I dynamically make a distance field shape of the lit part of the moon to use it as a halo in a custom skybox shader?
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. ...
0
votes
1
answer
79
views
Color is changing in multiplayer without explicit syncing
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 ...
0
votes
0
answers
37
views
Is a shader easier or scripting easier in terms of creating a panel behind objects
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 ...
1
vote
1
answer
53
views
Why does dynamic light flicker/get replaced with a square when rotating the camera?
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 ...
0
votes
1
answer
53
views
How to reduce the size of my terrain?
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 (...