Skip to main content

All 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 ...
Tiny Designs's user avatar
-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 ...
Ahmed Hussein's user avatar
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 ...
Amit Shakya's user avatar
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. ...
Emma's user avatar
  • 23
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. ...
Kdroscrapshack's user avatar
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 ★ ...
難波八郎's user avatar
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)...
Saurabh Singh's user avatar
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 ...
Calvin De Beverly's user avatar
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 ...
SvenBTB's user avatar
  • 11
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 ...
Sal's user avatar
  • 13
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 ...
Luke's user avatar
  • 55
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 ...
Luke's user avatar
  • 55
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 ...
netspie's user avatar
-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 ...
Vald1z's user avatar
  • 9
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 ...
Husam Abu Zina's user avatar

15 30 50 per page
1
2 3 4 5
102