76,987 questions
-1
votes
0
answers
33
views
Nea 2d game on unity need help to present interactable sprites and make words appear when typing [closed]
I am creating a 2D game inspired by both Papers Please and Not my neighbour. At the moment I have a character which appears onto my screen and is meant to present documents which I am then able to ...
Advice
0
votes
1
replies
26
views
Unity webgl url
I have a question: how can you make a product in Unity format that has, for example, dmg hp cirt-dmg
and each weapon has an icon, but I want to put either an icon or a video on the weapon?
I have a ...
0
votes
0
answers
71
views
Unity - Libraries of ARM64 not supporting 16 KB page size
I’m currently testing my Unity project for Android 15 compliance (Google Play requirement for 16 KB memory page sizes).
After upgrading to Unity 6000.0.62f1 (which claims to support 16 KB page size by ...
0
votes
0
answers
42
views
Google Signin with AWS Cognito
Our games built using Unity, use Google Play Games Services v1 to support Google Signin. Once the player is signed in, token is obtained using:
token = PlayGamesPlatform.Instance.GetIdToken();
and ...
1
vote
2
answers
85
views
Unity gameobject destroyed and returns "null" but still returns "obj == null" as false
I have a class for lists called UniqueListWithActions<T> with the constructor method
public UniqueListWithActions(List<T> _list)
{
list = _list;
}
list is declared as
...
0
votes
1
answer
79
views
Pause menu not appearing when pressing ESC
I'm trying to do a pause menu that opens when you press Esc but it isn't working, I don't know why.
The pause menu object has been asigned to Pausemenu
using UnityEngine;
using UnityEngine....
Best practices
1
vote
2
replies
52
views
Finite State Machine for different enemies
I’d like to ask about best practices for using a finite state machine to handle different enemy behaviors.
I already created a state machine for my basic enemies with the following behavior:
...
0
votes
0
answers
26
views
Can't select a TextMeshPro Input Field on ChromeOS builds
I have a TextMeshPro Input Field component that works fine in the editor. However, when building to a Chromebook, if I select it, it immediately deselects itself and I am not able to type in it (at ...
1
vote
0
answers
69
views
nea game doesn't allow me to present and click on sprites
I'm creating a game for my nea and I have tried multiple times to make me as a user of the game to press on documents that my character presents, and to be able to interact with it. I have checked ...
-6
votes
0
answers
69
views
Understanding CPU vs GPU Time Distribution in Unity [closed]
I'm trying to check whether my understanding of how Unity distributes work across the CPU and GPU is correct.
Below is the simplified model I'm working with:
The CPU runs gameplay scripts, prepares ...
-3
votes
0
answers
57
views
unity error CS0117: 'TcpListener' does not contain a definition for 'Queue' [closed]
Library\PackageCache\[email protected]\Editor\Messaging\Messenger.cs(164,30): error CS0117: 'TcpListener' does not contain a definition for 'Queue'
How do i fix this?
1
vote
1
answer
127
views
VS Code doesn't Recognize Unity Classes
For two days now, I've been having a rather strange problem.
The MonoBehaviour class isn't recognized by VS Code, with the following error:
Error while loading [...]: Exception thrown: System....
-1
votes
0
answers
54
views
HLSL URP 17.0 PBR functions do not render light
Unity provides their PBR lighting function with UniversalFragmentPBR, and UniversalFragmentBlinnPhong, but for me, it doesn't seem to render the light.
I have been following a couple of books on ...
0
votes
0
answers
62
views
Mobile game Test version is not visible on any android device. ( Unity- Android)
I recently started working on a Unity mobile game (Android). I upload my builds to Google Play Console for testing and share the test link with my testers. They can install the app from the Play Store ...
Best practices
0
votes
3
replies
68
views
How to not write a Firestore Converter for each type. (Firestore + Unity / C#)
I am using Firestore and Unity, I want to be able to serialize a Unity class, say Vector2Int so I write a Vector2IntConverter(FirestoreConverter<Vector2Int>).
When I upload my DTO, say:
[...