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
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 ...
Job_September_2020's user avatar
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 ...
AturSams's user avatar
  • 10.6k
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 ...
Maks's user avatar
  • 101
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 ...
cluck ham's user avatar
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: ...
Redsam121's user avatar
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 ...
Ratty's user avatar
  • 13
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 ...
Ahmed Dyaa's user avatar
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. ...
Bunabyte's user avatar
  • 331
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 ...
TheWolfNL's user avatar
  • 153
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 ...
Achie1's user avatar
  • 181
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. ...
Ahmed Dyaa's user avatar
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 ...
Muhammad Faizan Khan's user avatar
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 ...
pockspocky's user avatar
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 ...
rupps's user avatar
  • 141
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 (...
Almenon's user avatar
  • 113

15 30 50 per page
1
2 3 4 5
1115