I have 2 scripts on my camera, one for following the player ( FollowTarget.cs ), and one which is supposed to, over time, Slerp the camera's transform position
I've spent days on this, so I'm writing this for anyone who comes across it. Problem: I created a spectator camera in a multiplayer game, which is a Cinemachine
For example, I have a GameObject A with the following script public class A: MonoBehaviour { private void Update() { Debug.Log("Log something");
Whenever I create a new project, I can't seem to open it. It displays "My Project could not be opened. Please check the Logs". Whenever I try to open the Unity
I have encountered a critical issue that Unity Editor freezes. I've spent many hours debugging step by step of my codes but still can't find where the problem i
I am trying to connect NodeMCU with unity for my university project. My nodemcu receives data (tested with a UDP test tool application). I will leave the code b
I have a problem after switching from Unity integrated XR to Open XR when using Holoremoting. The Unity Editor FOV 29 deg, although the Hololens 2 FOV is 54 deg
i have a wave spawner script from a video i saw, since I'm fairly new to this still and its just more so a learning experience than anything really, but when sp
I'm making a multiplayer game. I want to make a system. When a "x" player play a game and there is a "y" player. "x" player should see "y" player's score on "y"
I have a C# unity function and I'm trying to request some json from a webserver but for some reason its not exiting the function where I want it to: using Syste
I have an image with multiple portraits inside, how can I pick each one of them without cutting the image in photoshop or something like that. The image would b
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class QuizManager : MonoBehaviour { public List
I'm trying to load a rendered image from Blender into Unity. But I saved the image with a color depth of 16 bits per channel, and now I want to have the same ac
i'm trying to make a custom editor and i was wondering if there's any way to detect what exact type is an asset when GetType() returns UnityEditor.DefaultAsset.
i am importing my unity project to xcode to compile. I imported Firebase SDK in unity and exported for ios. But on build i am getting the following error. ld: l
How do I get locations for "Local" and "Roaming" inside "AppData" folder through Unity? I am able to get "LocalLow" directory using the code below, how do I get
I have a platform that can swing on a wide cylinder if objects are unevenly distributed on it. To do this, I created a cylinder with a mesh collider, put a plat
I want to set a delay after every dotween loop. Onstepcomplete method doesn't seem to work with Ienumorator and SetDelay method delay at the start of the Tween.
I am trying to convert some video playback code from Unity to C# WPF, and I have hit a wall with the conversion. I have my video frame as a private byte[] _text
I get this error so much! It is not the filename though, because it is beandefine.cs (I want to define a GameObject) Here is the code: using System.Collections.