Questions tagged [unity3d-editor]
May be used for either general editor-specific questions or for questions on the UnityEditor namespace, which is typically used to modify/extend the Unity editor GUI and behavior.
unity3d-editor
254
questions
0
votes
1
answer
45
views
Unity 3D: Instantiating an object after setting it into a list isn't consistent
I am making a game where people walk around catching cats then releasing them into a safe spot.
Here's all the relevant code:
using System.Collections.Generic;
using Unity.VisualScripting;
using ...
0
votes
0
answers
51
views
Controller doesn't work after LoadScene in Unity using input system, but works perfectly in his own scene?
Edit: I made a screen record since it's easier to show rather than explain
I'm making a multiplayer game in unity and i wanted to implement the possibility to use a controller to move the cursor in my ...
1
vote
0
answers
33
views
How do I fix a collision-skipping bug on my character controller?
I have a player object which is parent to a cylinder object (simply for sprite), MainCamera object, and a checkGround object so that I can check if it is touching the ground in order to jump. The ...
-1
votes
0
answers
36
views
How to Accurately Position 3D Bounding Boxes in Unity for HoloLens 2 Based on 2D Object Detection Results?
I am developing an application for HoloLens 2 using Unity 2022.3.30f1 and MRTK Foundation 2.8.3. My goal is to position 3D bounding boxes in the real world based on 2D object detection results ...
0
votes
1
answer
52
views
How to Resolve "The type or namespace name 'Windows' could not be found" Error in Unity for UWP/HoloLens Development?
Background:
I am developing an application for HoloLens 2 using Unity 2022.3.30f1, and I need to use the `Windows. Media` API to capture depth and image data from the HoloLens Research Mode. My ...
0
votes
0
answers
17
views
Is it possible to detect AR planes from 3D objects that we create in unity?
I know AR Foundation detects planes from the real physical environment but I was wondering if it was possible to detect AR planes from 3D objects that we create in the Unity Editor. For instance, I ...
0
votes
0
answers
20
views
Place 3D Object on the Canvas
I'm currently get stuck on a problem that placing a 3d object on the canvas but to the right/left.
By adjusting the parameters x, y, z of the camera, I made the 3d be placed to the right of the ...
0
votes
0
answers
42
views
How to solve exercise Game
Im doing a code house test on unity, using C#, where they gave me the following exercise but i wasn't able to do. but still i want to know how must be done
The exercise is:
Find the compromised server....
0
votes
0
answers
21
views
Why I can't see my gameobject's prefab game object in unity in scene view?
As You Can See Here
indeed it has materials and other needed things to see it but unfortunately you can't. In This image I selected chassis so you could see any problems in inspector if there are some
1
vote
1
answer
99
views
Problem with Raycasting Accuracy on RenderTexture Based on Touch Position in Unity VR
I am encountering a problem with a RenderTexture that displays the perspective of other players on a panel in my Unity VR multiplayer project. The feature is implemented such that when the panel is ...
1
vote
2
answers
73
views
Animating a GameObject with Nav Mesh Agent with idle animation - Unity 3d
I have a Unity Assets store imported GameObject named Zombie1 with a Nav Mesh Agent component set and a Animator component (screenshot: ), and a animation named Z_Idle. I would like to implement the ...
0
votes
1
answer
29
views
What is the problem with this CSharp code (Unity) for highscore counting (the higshscore system is acting like a "normal" score counting system)?
I am making a gaming with Unity and I try to add highscore to my game, but the highscore always resets to 0.
The highscore acts like an other score counting mechanism.
Here is the code:
using System....
1
vote
0
answers
85
views
"Parent directory is not in asset database" Error in Unity AssetDatabase.MoveAsset Despite Creating Folder
I'm encountering the "Parent directory is not in asset database" error when using AssetDatabase.MoveAsset in a Unity Editor script. This happens even though I've implemented the following ...
0
votes
2
answers
46
views
Trying to destroy prefab upon collision
I'm making a 3D Unity game and trying to get randomly-spawned prefabs disappear when they collide with the player object, but I'm not sure why it isn't working.
private void OnTriggerEnter(Collider ...
0
votes
0
answers
30
views
WebCamTexture The portrait mode is enlarged for some reason
I've encountered an issue where the camera is zoomed in portrait mode. No matter how much I searched, I couldn't find a solution. Everything works fine in landscape mode.
The first photo is in ...