77,246 questions
0
votes
0
answers
10
views
The HDRP/Lit shader in Unity is throwing an error, but I didn’t do anything
Yesterday while I was designing my game, I was about to create a new material, but I realized that HDRP/Lit was missing and instead it said Failed to Compile. So I started checking the shader and saw ...
0
votes
0
answers
14
views
What is the correct way to configure mainTemplate.gradle in Unity when using EDM and Firebase/AdMob to avoid duplicate classes or dex errors?
I'm an Android developer based in Pakistan working on a Unity 3D game project. I'm trying to integrate Firebase and AdMob SDKs into my Unity project targeting Android. I've enabled the Custom Gradle ...
3
votes
2
answers
85
views
Is there a way to tell which side of a wall you are touching?
I am making a parkour game, and have ran in to a problem. There is a wall run mechanic, where if you are wall running your player rotation is locked to the plane of the wall. This works perfectly, as ...
0
votes
0
answers
28
views
Why is velocity inconsistent during Unity animation using Quaternion.Lerp and Time.unscaledDeltaTime?
I am animating the rotation of a GameObject in Unity using Quaternion.Lerp and an animation curve. Here's the relevant code snippet:
while (elapsedTime < totalTime)
{
[![enter image description ...
0
votes
0
answers
27
views
Infrequent/inconsistent updates of a BLE device without CDM
I'm not too familiar with Bluetooth or Android development, so please forgive me if my terminology is not on point!
Anyways, I'm working on a Java (Android studio/gradle) plugin that is used in a ...
0
votes
0
answers
33
views
Playfab profane display name filter
I'm making a Unity game and I need to apply a filter for display names. How can I do that? I read that PlayFab already has a system for this, and I’ve tried using it with PlayFabErrorCode....
1
vote
1
answer
81
views
Why does the function not run after being subscribed to my Unity Event? (C#)
My UIManager.cs class:
using UnityEngine;
public class UIManager : MonoBehaviour
{
public static UIManager instance;
public System.Action<bool> OnSwitchCargoOverview;
private void ...
-1
votes
0
answers
18
views
Unity Editor stuck on loading/generating .ase file
I'm creating a relatively simple 2D game, and every time I try to launch the editor it gets stuck on this loading/generating texture for this singe Skeleton Idle.ase file.
Skeleton Idle is an idle ...
-1
votes
0
answers
23
views
Local Notification not showing when game is killed in some android devices in Unity [closed]
I’m using the Mobile Notifications Unity Package for local notifications, but I’m facing an issue: I’m not receiving local notifications on most devices when the game is killed, even if their Android ...
1
vote
1
answer
60
views
Jump method not applying forces despite them being calculated and the method being called properly
Recently migrated my unity project into the new input system and my jump logic is not working despite the jump method being called correctly for the debug.logs. Any help?
using System.Collections;
...
1
vote
1
answer
23
views
MRTK3 RayInteractor hover works, but click doesn't select (Editor only, XR Device Simulator)
I'm using Unity 2022.3.21f1, MRTK 4.0.0-pre.1
For testing, I'm using the XR Device Simulator in the editor.
I'm encountering an issue where hover using RayInteractor works fine, but selection via ...
0
votes
0
answers
45
views
What caused the image to not scale & fit the holder, and not returning to origin?
Here's the detailed video showcase:
text
I'm a beginner and trying to make a indie game by myself. But I can't figure why the card didn't returned to the empty with 'CardSpawn' as soon as I drag out ...
-3
votes
0
answers
25
views
Weird visual glitch in Unity inspector [closed]
I have this weird visual glitch in Unity editor as well as UI builder.
Unity inspector example
UI builder example
It appears as vertical lines that obscure text fields, colour fields and such. If i ...
-4
votes
0
answers
29
views
how do i get multiplayer to work other places places unity mirror [closed]
Hi I'm looking up how to use unity mirror but I have noticed that they all show local multiplayer but I want to be able to create a game where I can play with my friends that are in different ...
-3
votes
0
answers
51
views
ML-Agents connects to Unity but never starts training – agent methods not called, scene keeps resetting
I'm trying to train an agent in Unity using ML-Agents. When I run the training command from the command line using:
mlagents-learn --run-id=test
it successfully connects to Unity:
[INFO] Listening on ...