C
C#3d ago
Gasper 1.0

why is my code weird??

Hello, i'm really new to game dev so i'll make it quick, i'm startting to learn with this videos of Pandemonium and i'm getting to the code part, i'm using Visual studio for the code but i think i missed something, i couldn't find why avent after double checked
No description
16 Replies
ero
ero3d ago
you haven't set up unity to recognize visual studio as your editor
Gasper 1.0
Gasper 1.0OP3d ago
i did
No description
ero
ero3d ago
have you installed the necessary unity workloads in vs? have you tried restarting both apps?
Gasper 1.0
Gasper 1.0OP3d ago
what do you means by workloads? i did, its been like this for a while i think
ero
ero3d ago
what it says. open the visual studio installer and modify your vs 2022 installation
Gasper 1.0
Gasper 1.0OP3d ago
oh yeah, i aleready done this! (its french i'm sorry)
No description
ero
ero3d ago
hm. last thing that comes to mind is the things you have checked here. this page shows more things selected, but i won't blindly recommend you check random things without knowing what they do in any case you can ask in $unity, which will likely be more helpful
Gasper 1.0
Gasper 1.0OP3d ago
yes, thank you for trying tho !
Buddy
Buddy3d ago
$unitybug
MODiX
MODiX3d ago
If intellisense is not working for Rider / Visual Studio, follow these steps.
Go into Unity Editor -> Preferences -> External Tools -> Set Visual Studio (or JetBrains Rider) as your preferred editor.
Go into Unity Editor -> Preferences -> External Tools -> Set Visual Studio (or JetBrains Rider) as your preferred editor.
Close the editor and re-open it again by double-clicking a script file.
Buddy
Buddy3d ago
@Gasper 1.0 Oh, they had done it already Then restart unity and after that regenerate the csproj
Gasper 1.0
Gasper 1.0OP3d ago
Yep 😅 How do you do it?
Buddy
Buddy3d ago
Its this button
No description
Gasper 1.0
Gasper 1.0OP3d ago
Oh ok i'm trying it dosn't work and it crashed ..lol
FusedQyou
FusedQyou2d ago
💡 IDE Configuration If your IDE is not autocompleting code or underlining errors, please configure it. Select one: • :visualstudio: Visual Studio (Installed via Unity Hub) • :visualstudio: Visual Studio (Installed manually) • :vscode: VS Code • :rider: JetBrains Rider • ❓ Other/None @Gasper 1.0

Did you find this page helpful?