Questions tagged [unity-game-engine]
Unity is a cross-platform game engine by Unity Technologies. Questions should be about programming with the game engine and not usage of the graphical interface. Questions about the usage of the graphics interface are off topic.
unity-game-engine
79
questions
0
votes
1
answer
31
views
Read json dictionary with multiple sub keys into unity c# script
I am trying to get my data from a json file into unity with a c# script. The goal is to move all players at the same time based on positional data, which i already have. I need to group the ...
0
votes
0
answers
9
views
Unity - My MS 4.8 DLL works however MS ADOMDNet client fails with 'Method not implemented'
(I posted this on the Unity Android forum and no replies yet so I thought I'd also add here).
I've dug around the web a lot and tried various things.
I have written my own C# DLL to communicate with ...
0
votes
1
answer
37
views
Why does unity increase total allocated memory when its running idle?
I created a new empty project just to test memory leak.
This is the only script in the project:
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ...
0
votes
0
answers
6
views
Unity ARFoundation with ARCore Scene Segmentation + ARKit Mesh Classification
Is this possible:
Unity ARFoundation with ARCore Scene Segmentation + ARKit Mesh Classification - both of which are supported by Unity's ARFoundation Samples
And what's the setup process?
1
vote
0
answers
17
views
Can't build android unity apk && aab
I'm new to unity and I have to build apk and aab files of existing project
But when I try to build I get an error and I can't understand what's wrong
here is console logs
FAILURE: Build failed with ...
-1
votes
0
answers
11
views
setting up virtual reality in the SteamVR plugin on Unity [closed]
I was given an assignment at the University. I'm working on a project in Unity where I want to set up VR using the SteamVR plugin. I installed the SteamVR Plugin, added CameraRig and hand models to ...
3
votes
0
answers
26
views
Make a Texture3D writeable on the GPU in Unity
I have a Texture3D that I've defined:
tex = new Texture3D(8, 8, 8, TextureFormat.RFloat, false);
for (int x = 0; x < 8; x++) {
for (int y = 0; y < 8; y++) {
for (int z = 0; z < 8;...
0
votes
1
answer
27
views
Player is jittering when colliding with a wall
When I move against the wall, the player starts jittering.
using UnityEngine;
public class Movement2 : MonoBehaviour
{
[Header("Movement")]
public float Speed = 4f;
public float ...
0
votes
2
answers
40
views
Unity: Script won't delete 1 of the objects if 2 are colliding
I have this C# segment of code to make auto generated rooms, does anyone know why my code won't delete the clones of the object? I've tried a lot of methods, but I can't for the life of me get it to ...
-1
votes
0
answers
38
views
How do I fix unity hub (3.8.0) not wanting to open on mac?
I'm trying to install and open the unity hub v.3.8.0 on macOS Catalina. Whenever I open the app I get an error message saying: "The Hub has encountered a critical error and must close. You can ...
0
votes
1
answer
37
views
Why yield return null can't executed in Start() void
This problem is not always occurred.But when it happened,I can't find a way to fix it.
Here is the code:
void Start()
{
StartCoroutine(test());
}
IEnumerator test()
{
...
0
votes
0
answers
12
views
Lighting doesn't work in Unity with built in URP
I made a Unity project via the 3D URP, and I've been trying to use lighting thru sprite renderers, and 3d objects, however it doesn't work.. At all.
I'm trying to test to see if a red light would ...
0
votes
1
answer
24
views
Unity State Machine suddenly refuses to react to player input
I have been attempting to create a souls-like character controller in Unity, using this tutorial with the use a Finite State Machine using the following tutorial.
So far, everything has been working ...
0
votes
1
answer
27
views
The car does not turn when using the Wheel Collider
I'm trying to make a car controller using Wheel Collider. I have 4 wheels. And the parent object with rigidbody and box collider. Inside the parent object, I have four objects with Wheel Collider, as ...
0
votes
0
answers
19
views
What's going on with the lighting?
With the lighting on my HDRP stage, something is wrong with the lighting in some corners on the floor and on the walls.
I don't understand what this could be related to.
I also tried to place Light-...