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,714 questions
0
votes
0
answers
6
views
UI Toolkit px size different from the game view
I set my game viewport to QHD and my UI Builder viewport to match game view. Yet in my UI Builder the window is nicely scaled within bounds, and in game view it is waaay too big. How can I make them ...
-1
votes
1
answer
40
views
Should I use Unity 5 or Unity 6? [closed]
I have been working on character drawing for a long time and Unity 6 is also relatively new. I am using the 2020 Unity5 version. The game I will make will not be a very advanced game. I will do ...
0
votes
0
answers
27
views
How can I fix the rotation on a sprite normal map in Unity?
I'm making a 2D ball game in Unity v6.0, now in the process of adding some 2D lighting.
The player ball is a circle sprite. To make it look like a sphere, the sprite has a normal map added as a ...
0
votes
0
answers
38
views
How to code marking dead stones in Go board game. Getting user input outside of update
This is a follow-up question to coding capturing in Go. I have that successfully working. I am pretty sure that I am not reposting, this is a completely different question I have it just happens to be ...
0
votes
4
answers
114
views
Is it possible to set a specific frame rate on my game
For the past month i've been working on a vr project and i wonder if i can obliged players to be on 90hz when playing the game because if player use 60hz then the game becomes laggy and since 90hz is ...
1
vote
2
answers
118
views
How can I play hundreds of characters at the same time on stage without dropping FPS?
I will make a game. In this game, the player will make 6 soldiers from 6 different looking characters in his own area and there should be this many characters on the other side. When I look at those ...
0
votes
1
answer
97
views
How do you detect edges in a PNG map
so basically i'm making a personal project based around a strategy map game.
I'm using this image as the map:
The problems are as follows:
I can't detect the borders as it is not an SVG
If the first ...
7
votes
3
answers
4k
views
Is it possible to directly check for source code modification
I'm looking for a better way to actually detect "cheats" by checking if the source code of my game has been modified and if any code has been injected to the original code in C#.
The issue ...
0
votes
0
answers
21
views
How do you make unity shader with custom lighting usable in deferred rendering mode
I found a unity shader with custom lighting method that approximates subsurface scattering effect. I tried using it in deferred rendering mode and unfortunately it doesn't work. From what I have read ...
0
votes
0
answers
24
views
How to change colours of UI in Unity using Animation?
I'm making UI that's using controller support, and therefore I have to script it and use an Animation, but how do I make sure that a color change when hovering over a button happens instantly, because ...
0
votes
1
answer
50
views
Null reference exception when accessing ActionMap stored in a singleton
I'm a beginner developer and I'm currently working on a 3D game project with a third person view.
When I implemented my first ActionMap into my character controller,...
0
votes
0
answers
7
views
VFX Graph: Particle Strip Trails Stretching Due to Reused Indices – How to Set Unique Strip Index?
I have a system in Unity’s VFX Graph where:
A source particle collides → triggers a GPU Event
This event spawns a new particle which also triggers a strip trail
I am trying to get one trail per ...
0
votes
0
answers
36
views
Same prefab appears very different inside another parent
I am on Unity 6.
I have 2 prefabs: the buildings shown in this picture.
Each of these prefabs includes another prefab, which is the "hexagonal tile".
It's the same "hexagonal tile"...
0
votes
0
answers
48
views
How do I add an outline to a Unity tilemap?
Is it possible to add a nice outline to a unity tilemap?
For example, if my tilemap looks something like the image on the left, I want to make it render like the image on the right:
I found this ...
0
votes
0
answers
26
views
Is there a way to prevent probuilderize deleting faces?
I have used Probuilder to "probuilderize" the interior of a building however when I do this faces get deleted all over the model. I know it is definitely Probuilder causing this as when I ...