Skip to main content
Stack Overflow for Teams is now Stack Internal: See how we’re powering the human intelligence layer of enterprise AI. Read more >
Filter by
Sorted by
Tagged with
-1 votes
0 answers
32 views

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 ...
LoneRanger17's user avatar
0 votes
0 answers
40 views

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 ...
Hsy9's user avatar
  • 1
Best practices
0 votes
3 replies
61 views

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: [...
guilleatm's user avatar
-6 votes
0 answers
66 views

using UnityEngine; public class PlayerLocomotion : MonoBehaviour { PlayerManager playerManager; AnimatorManager animatorManager; InputManager inputManager; Vector3 ...
Michael's user avatar
-6 votes
0 answers
33 views

So im using Admob AOA, Inter and Reward ads in my Unity game project but the problem is when Interstitial or Rewarded ad is displaying, if i clicked on it to navigate to the ad page and return to the ...
Nam's user avatar
  • 1
-3 votes
0 answers
73 views

How do you handle this typically? My Main Camera is in default position at my players head. My SniperScope Camera is positioned either at the end of the scope lens or at the guns muzzle, which I got ...
dangoqut132's user avatar
1 vote
0 answers
38 views

I am making a clone of the game "Arrow Out." I am not sure if this is even the correct way but I am thinking of using gizmos to check if there is another arrow in the path of the clicked ...
GameDevEnthu's user avatar
Advice
0 votes
2 replies
43 views

I am currently working on AI Behaviour in a Beat-Em-Up game in Unity for my beat-em-up project, I am currently using my own statemachine system (with states that don't inherit from monobehaviour) to ...
Grantlbart's user avatar
0 votes
1 answer
59 views

====== cocoapods-1.16.2 Unity 6000.0.41f1 Firebase 13.4.0 OSX 15.5 ISSUES: Android: not building > Could not resolve all files for configuration ':launcher:debugRuntimeClasspath'. > Could ...
user3623413's user avatar
-1 votes
0 answers
24 views

In my Unity Project when my game runs my world item prefab initiates sprites that don't show on my inventory display only the canvas that can't be seen on screen and it doesn't spawn any collectable ...
Duane Cooper's user avatar
-3 votes
0 answers
35 views

So my issue is that I have a parent gameobject with an OnTriggerEnter script, and said script is being triggered when entering a trigger that a child gameobject has. The child gameobject has no ...
Adroopyboi's user avatar
-2 votes
0 answers
47 views

Basically I'm trying to write a simple player movement script using input action assets. However, once I press one of the buttons (WASD) and hold it down, the player moves in the correct direction, ...
Kpbackup's user avatar
0 votes
0 answers
30 views

I am trying to create an HTTP listener in my game application to be run on Android. I have created this script that receives API requests from the network and do some stuff in the game. using ...
M_G_Shad_Man's user avatar
Advice
1 vote
1 replies
47 views

I'm fiddling around with a 2D side-scroll game using C# in Unity. Basically, I have a method that gets called when I hit an animation trigger on the animator and that method instantiates a GameObject (...
NobleRuckus's user avatar
-1 votes
0 answers
42 views

I have tried for days to troubleshoot but only met with persisting Type Mismatch. I am working on a flappy bird game and i wanted to make the pipes go faster as the score increases so i made a [...
1fabian4's user avatar
-1 votes
1 answer
36 views

I'm encountering a serialization error when building a Unity project for UWP and running it in Visual Studio: A scripted object probably BlankScene has a different serialization layout when loading (...
Gabriel Alabi's user avatar
0 votes
0 answers
68 views

I've implemented basic FPS recoil (code shown below) and currently, the player can counteract the recoil climb by pulling the mouse down, but when the recoil returns to zero, the player view is at a ...
IainChambers's user avatar
0 votes
0 answers
49 views

I actually make a game about a space explorer but i've enconter a problem. When my player hit the ground (or when he spawn on the surface) he slide on the back of the planet. How can i actually make ...
Matheo Besson's user avatar
1 vote
0 answers
51 views

Please help me with the Earth model in Unity. I don't understand what's wrong. I downloaded the blue marble texture from the NASA website, attached it to a Material, and placed it on a sphere. I want ...
Андрей Ковынёв's user avatar
0 votes
0 answers
38 views

I’m working on an AR project in Unity 2022.3 using Vuforia Engine 11.3.4 and AR Foundation 5.2.0. When I try to build or play in the editor, I get the following compile error: Library\PackageCache\com....
noura selmi's user avatar
Best practices
0 votes
4 replies
105 views

I'm a self-taught beginner learning through trial and error. I'm working on a card game in Unity (C#), and I'm trying to design a clean and extensible system for validating targets during gameplay. ...
Parkhomovsky Oleksander's user avatar
Advice
1 vote
0 replies
70 views

I am doing a 3D game using a Unity, and I need my NPC can communicate with the players with voice I want my NPC can speak with a voice that response is generated by the LLM, so the response will ...
Alden Ling's user avatar
1 vote
1 answer
79 views

I'm working on a project where I want to collect movement data (X/Y/Z position and rotation) from a VR headset (a PICO Neo 3 Pro Eye) using a C#/Unity script, and export it as a CSV. I have a script ...
sam's user avatar
  • 31
0 votes
0 answers
63 views

I created a square GameObject named "Target" and added a Box Collider 2D component. Then I wrote the following C# script: using UnityEngine; public class ClickToDestroy : MonoBehaviour { ...
Neely Lee's user avatar
0 votes
1 answer
104 views

I've been trying to fix this issue with my code for a while now but I can't seem to figure it out. For some reason, the enemies can still spawn outside of rooms, but they won't ever spawn outside of ...
G-Dawg's user avatar
  • 1
0 votes
1 answer
96 views

I'm currently struggling to understand why the crouch mechanic isn't working all that well in unity. I would be grateful to anyone who can help me understand why this code doesn't work and how can I ...
Daniel Leon's user avatar
2 votes
1 answer
70 views

In Unity, I have an idea for a simple game where, if a child object collides with an object tagged "wall" and presses the W button, the parent object moves towards the collided object. ...
user25482554's user avatar
2 votes
0 answers
66 views

I’m currently developing a Full Motion Video (FMV) game which, by its nature, contains a very large number of video and audio clips. I’ve encountered a critical issue that only appears in the built ...
İsmail Seçkin's user avatar
0 votes
1 answer
85 views

image resolver is stuck at 0% Running Gradle... E:\game project\spaceFighterMobile\Temp\PlayServicesResolverGradle\gradlew.bat --no-daemon -b "E:\game project\spaceFighterMobile\Temp\...
Md Labib Alam's user avatar
2 votes
1 answer
70 views

When I open my Unity scripts in Visual Studio 2022, I am greeted with this error: I tried deleting all .csproj files before opening in VS and also tried reinstalling VS and Unity. The file being ...
JSB's user avatar
  • 49
1 vote
1 answer
97 views

I am currently developing a WebGL app with Unity and using PlayerPrefs to try and make it so that a unique user id is generated for a player and used to connect to a remote lobby system. The problem I'...
samson's user avatar
  • 45
0 votes
0 answers
39 views

I have a Unity package that creates a iOS widget extension with its own Bundle Identifier. Everything builds and runs correctly when I build locally from Xcode, but when I try to build using Unity ...
sapir1126's user avatar
2 votes
1 answer
132 views

How to index Firebase Realtime Database for leaderboard and get current user’s rank? I’m using Firebase Realtime Database to store user data for a game. I want to implement a leaderboard based on the ...
Oozeer's user avatar
  • 312
0 votes
0 answers
112 views

Using Il2CppDumper, I have dumped my files and am perusing the methods and their arguments using dnSpy. Some methods take string arguments like this one: [Token(Token = "0x6000338")] [...
Garren Fitzenreiter's user avatar
0 votes
0 answers
54 views

I want to implement basic movement using a rigidbody but my player at the start of the game cant move using WASD and can only jump and shift. When they shift, they slide to the side a bit before WASD ...
Mohamed Nasser's user avatar
0 votes
0 answers
34 views

I work on a small android project that uses the unity-clases.jar generated by Unity. Some (not all) of the files/classes in the .jar can't be resolved when compiling the android project and I don't ...
jptsetung's user avatar
  • 9,189
-4 votes
1 answer
72 views

Unity keeps giving me error from cs.meta file to change the language version from c#9 to c#10 or greater because of feature "global using directive", how should I change the version or what ...
rumaisa khalid's user avatar
0 votes
1 answer
96 views

I created this code in Unity to only move the object in my scene if the threshold is exceeded, but it does not set my tracking object, and continues to snap to it. My tracking object was a rigid body ...
Bryce Robinson's user avatar
0 votes
0 answers
62 views

game engine : Unity3d 2021.3.17f1. programming language :C#. Windows 10 Hello, I create a football like game in Unity 3d. How do I check that a game object with a Rigidbody component and a Physic ...
MikaMikashu's user avatar
0 votes
1 answer
74 views

I'm trying to test the free trial version of VLC for Unity, the package was downloaded here https://videolabs.io/store/unity/ I imported the downloaded "vlc-unity-trial-v6.unitypackage" in ...
jptsetung's user avatar
  • 9,189
1 vote
1 answer
75 views

I'm developing a Unity application that connects to custom ESP32-based Bluetooth LE joysticks on Android. I'm experiencing a consistent pattern where the first connection attempt fails with an ...
Marco Vincenzi's user avatar
1 vote
0 answers
47 views

when using gravity, it's working fine the camera is following smooth. when gravity is disabled, the camera is stuttering. and i tried in the Rigidbody to set the Interpolate property to Interpolate ...
Daniel Lip's user avatar
  • 11.5k
0 votes
0 answers
55 views

I'm making a multiplayer game using Server/Client mode in Photon Fusion 1 in unity where players dogfight with their planes. Now the issue I'm facing is when I attach Network transform component on ...
Umair Manzoor's user avatar
0 votes
1 answer
47 views

I wanted to study using ECS for a new project. But after I imported them using the git urls provided by the official site, i ran into some error messages: here are the packages i have: I have ...
Oak橡木's user avatar
0 votes
0 answers
97 views

I followed all of the instructions in this video and installed al the the proper packages on top of Python 3.10.0 https://www.youtube.com/watch?v=v1d7SinTzEY&t=1s pip install torch torchaudio ...
Mich's user avatar
  • 3,704
1 vote
1 answer
89 views

How can I make it so that the player cannot move, even through physics, in one direction? I tried this option: using UnityEngine; using UnityEngine.InputSystem; public class Player: MonoBehaviour { ...
PinBIb's user avatar
  • 21
1 vote
0 answers
62 views

I'm attempting to render out part of a spritesheet to a new standalone texture. I have the triangles, vertexes and uv coords of my sprite but my code only correctly renders the first triangle not the ...
Knackname's user avatar
0 votes
0 answers
43 views

I work on my project on both Mac and Windows. Some editor headers were written in Visual Studio on Windows in Chinese, and were encoded in GBK(default I guess). However they don't show properly on mac ...
ArtS's user avatar
  • 2,022
-3 votes
1 answer
56 views

You can see that the player rig has the axes bug not the prefab I have added 0.5 to the current position I was doing a unity course(Game Dev.Tv) and I happen to know that my Z axis is not correct. ...
Akshat Mittal's user avatar
0 votes
0 answers
37 views

I am building and app for Android XR and I am using Unity to build 3D text. My final goal is to allow user to set text in textfield in Jetpack Compose UI, save it to Firestore, fetch it and display 3D ...
user7289922's user avatar

1
2 3 4 5
1540