All Questions
1,125
questions
-5
votes
1
answer
61
views
Allow Player to Jump Only when on Ground Unity
I try to let the player to jump when only it is on ground but it keeps jumping even it was in the air
here is the code :
public class Player : MonoBehaviour
{
float moveSpeed = 5;
public ...
2
votes
1
answer
120
views
IntelliSense not working in Visual Studio
I released a game in march and it was the last time I used Unity (and Visual Studio) for a few months. I opened it up today to do some more work, only to discover IntelliSense has stopped working.
...
1
vote
1
answer
83
views
Unity C# Microsoft SQL Server
I would like to connect to a Microsoft SQL Server from within C# while using Unity (2022.3.25f1). According to the C# Pocket Reference, it seems I can connect to SQL Server with the code marked with ★ ...
1
vote
0
answers
44
views
What's keeping me from running/deleting projects in Visual Studio and Unity?
With Visual Studio, VS Code, and Unity, I keep running into the same two problems (if it matters, I'm coding in C# in all of these). When I'm trying to run (or sometimes even just open) a project, I ...
2
votes
1
answer
57
views
Unity - scrollview/dragging breaks after specific scene inactivity
I have multiple scenes in my project which ill call A/B/C. A is the main scene where i have multiple UI functionalities some of which is point/click, others are a scrollview with a viewport all of ...
1
vote
1
answer
58
views
Unity - Camera zoom/transform android problem
The below script is responsible for rotating and zooming (adjusting the cameras transform) the main camera, the rotate works fine and the zoom almost works fine.
Once built to an android device i can ...
-1
votes
1
answer
108
views
Unity - Visual Studio Community IDE1007 : The name '...' does not exist in the current context [closed]
This issue just appeared from nowhere. It was working just fine the day before. When I try to refer to any, literally ANY, data or var of whatever, the same problem appears, even when referring to a ...
1
vote
1
answer
55
views
Path array is empty. Make sure to assign a valid path in the inspector. UnityEngine.Debug:LogError (object)
Hello Unity community,
I'm currently facing an issue with my AICarScript in Unity, specifically with the path array being empty. I've implemented a waypoint-following system where the car should ...
1
vote
0
answers
61
views
Holelens2 refuses to connect to a OPC.UA server
I am currently working on a Unity project for my university, where we are tasked with creating an app for the Hololens2 to present CO2 data collected from a 3D printer via an OPC.UA server.
I've ...
0
votes
0
answers
71
views
How Can I Visualize the project files in a Live Share Session Visual Studio 2022
I've developed in different moments some C# scripts for a game with a friend (We're developing in Unity). Turns out we could've coded at the same time using Live Share in Visual Studio.
So we decided ...
0
votes
0
answers
71
views
UnityEngine.UI not working, ive tried a lot of fixes but im still getting this error
The type or namespace name 'UI' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)
This is the error I'm getting, I've got thousands of errors in my project ...
0
votes
1
answer
113
views
Bullet movement not working in Unity NetCode
Introduction:
Basically I've been working with Unity Netcode. I got a relay server set up. A lobby system. Basic Movement down. Now I want to spawn a bullet that shoots the direction that the player ...
0
votes
0
answers
25
views
Unity auto-redirection of view to the location where the selected button is
My project is containing a panel in which it contains a scroll_area with scollrect and rect mask 2d. In children, There is a gameobject containing vertical layout. And finale there is a list of button ...
0
votes
1
answer
88
views
Infinite instantiate loop
I am creating a game object and it is suppose to create once object and everytime the button e is pressed, the it destroys the game object and spawns in another location. but for this case it keeps on ...
0
votes
1
answer
55
views
Unity.Mathematics/uint2x3.gen.cs' is a binary file instead of a text file after i updated my unity editor
After i updated my unity editor from 2021 lts to 2022 lts i getting this problem. i tried few things. reinstalled unity editor, deleted library but nothing worked
error CS2015: 'C:\Users\MyName\...