All Questions
Tagged with unity-game-engine visual-studio
1,522
questions
0
votes
0
answers
23
views
Unity - how do I use one child gameObject, out of lots, as a trigger to make them all invisible?
I'm currently making a small game, and one mechanic I'm working on is being able press a "plant flower" button, which triggers all the boxes, showing where you can plant it.
Then you click ...
-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 ...
0
votes
1
answer
43
views
Wheels spninning very fast but vehicle not moving in Unity3D
I am trying to make a small cannon game in unity. I follow wheelcollider's documentation and setup wheelcollider with radius 3. When I accelerate the wheels are spinning very fast but my cannon is not ...
1
vote
1
answer
27
views
Visual Studio not recognizing unity things, and not showing unity C# autocomplete
I installed unity and Visual Studio on my computer to start working on games again, however when editing code it does not autocomplete properly and it does not recognize Unity exclusive stuff.
...
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 ★ ...
0
votes
0
answers
41
views
Type or name space couldn't be found
Assets\VoiceCommand.cs(8,13): error CS0246: The type or namespace name
'KeywordRecognizer' could not be found (are you missing a using
directive or an assembly reference?)
Assets\VoiceCommand.cs(27,35)...
0
votes
0
answers
22
views
USG0001 warnings. Why are these warning appearing in my Visual Studio Editor? [duplicate]
I am creating a project in Unity version 2022.3.71F using Visual Studio version 17.9.6. I am receiving multiple warning in the editor as indicated in the attached image. I can find no information on ...
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 ...
0
votes
0
answers
145
views
Unhandled exception at 0x00007FFBD28B8480 (GameAssembly.dll) when debuging a Unity build deployed onto HoloLens 2
I am deploying a simple build from Unity to HoloLens 2.
I am working with Unity 2021.3.36f1 and VS 2019.
The packages I am using are:
I have been following the HoloLens 2 fundamentals tutorial on ...
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 ...
0
votes
0
answers
49
views
In Visual Studio can I have using static import in quick refactorings menu
In Visual Studio when I right click on let's say function and choose "Quick Actions and Refactorings" option (or just do Ctrl+.), can I somehow have using static import option be populated ...
-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 ...