Questions tagged [unity3d]

Unity is a cross-platform game engine by Unity Technologies.

Filter by
Sorted by
Tagged with
0
votes
0answers
5 views

Rotation does not trigger when script is executed

I am trying to make a projectile rotate to the target when it spawns in, but it is not currently working, no rotation occurs. Thanks in advance! GameObject proj = Instantiate(projectile, ...
0
votes
0answers
3 views

How to convert Line-Renderer line to Mesh

I am trying to create 3D Mesh by using Line Renderer, I can now hold and move my mouse and create a line. But the problem is I want to change it to Mesh, so that it can be 3d. I found about BakeMesh ...
0
votes
0answers
3 views

Gaps in between Isometric tilemap in Unity2D

I have this isometric tile map I am trying to use, but it has some weird gaps in between them and I don't know what to do (it's my first time using isometric shapes). I looked it up, but I can't ...
0
votes
0answers
5 views

How to fix Unity WegGL video that only plays sound

I have videos streaming through a URL on Unity. When I play the videos, they only show a white screen and play the audio. How can I get the video play as well? This is on Unity 2021.2.8
0
votes
0answers
8 views

Unity Input System Drag having an offset after dragging

I am new to the new Unity Input System and implemented a dragging algorithm. It should work with the mouse upon click&drag. The dragging operation will move the cimemachine cameraTarget, and ...
0
votes
0answers
7 views

ArKit not included in unity.framework on xcode (unity)

so im trying to manually add arkit in my build script for my ci/cd using the xr-plugin-management api. but for whatever reason. although it reads arkit as enabled once compiled xcode does not add ...
0
votes
0answers
9 views

Grab Object with hand tracking in unity

Hello unity Community, Does anybody know a recent solution to grab object with hand tracking in 2022? I try to set different component on my hand prefab (OVR grabber script/ rigidbody and collider) ...
0
votes
0answers
9 views

Unity Prevent spawning objects from overlapping 2D

i have 3 of the same code below and was wondering what should i add to avoid all the objects from overlapping when spawned? Thanks in advance! using System.Collections; using System.Collections....
0
votes
0answers
11 views

Is there a way to quickly copy all of the transitions from one animator state to another?

I have an animation controller with a lot of animations in it, most of which transition to each other. I've set up all of the transitions in one state, and now I'm seeing its pretty tedious to have to ...
0
votes
0answers
6 views

Missing or Invalid Field in Promoted Objects: For optimization goal APP_INSTALLS, application_id needs to be valid

Missing or Invalid Field in Promoted Objects: For optimization goal APP_INSTALLS, application_id needs to be valid. Please set it in the Promoted Objects. (#1815437) I get this error when trying to ...
0
votes
1answer
17 views

Can't define the problem in Unity properly

So basically, my distant friend is making a game, and I decided to help him. I created Unity project, placed the assets, scenes and classes, all this stuff. When it came to SceneChanger.cs (not mine, ...
0
votes
0answers
9 views

How to sample each pixel in a TextureCube in compute shader in Unity?

Currently I want to do some calculations on each pixel in a Cubemap in Unity and output the new Cubemap. Since I can't write to TextureCube, I use a RWTexture2DArray. The problem is that I don't know ...
0
votes
1answer
18 views

Why does a game object fall slowly when rigidbody2d.velocity.y is equal to 0?

I'm new to Unity. rb2.velocity = new Vector2(speed * moveDirection, Y); When I set the Y in new Vector() to 0, the character falls slowly because of (I think) the gravity. But when I set the Y to ...
-1
votes
0answers
10 views

How to check for raycast collisions in ARFoundation?

I'm trying to detect a raycast collision from screen center to object in AR. If collision is deteced and object has tag "Chest", then a button is activated. No mather what I do, the button ...
-1
votes
0answers
11 views

How to save logcat to a local file using adb inclued in a Unity application?

I have a problem using ADB within a unity application. I want to use ADB cmd to save my logcat.txt to a local file, here are my code:` string cmdStr1 = "shell logcat -f /sdcard/logcat.txt"; ...

15 30 50 per page
1
2 3 4 5
4335