#IDE Configuration

1 messages · Page 1 of 1 (latest)

bitter citrus
high zodiac
#

where do i find this Modify option

bitter citrus
#

see step 1

high zodiac
#

visual studio is already installed

bitter citrus
#

great! then open the installer like step 1 says

high zodiac
#

the setup of video studio or the visual studio itself?

bitter citrus
#

the visual studio installer

high zodiac
#

i will just redownload it

#

free download?

#

correct?

bitter citrus
#

you don't need to redownload it, just open the installer

#

it's literally already installed

high zodiac
#

i dont get what you mean by installer, is it the Setup?

bitter citrus
#

yes

#

or you can press the windows key and type "visual studio installer" and it will show up as an installed app that you can run

high zodiac
#

this pops up

#

and then dissapears

#

nothing opens

bitter citrus
bitter citrus
#

obviously it worked. you needed to open the installed app called Visual Studio Installer

high zodiac
bitter citrus
#

the file you downloaded was just an installer for that

#

great! install that game development workload. then complete the rest of the steps

high zodiac
#

it doesnt start downloading though

#

the only button i can press is Close

#

should i close it?

bitter citrus
#

you have to choose one of the two dropdown options then click that button instead of the down arrow

high zodiac
#

yeah i know

#

still i dont have the option

#

to install

dire terrace
#

Then there is nothing to install

high zodiac
dire terrace
#

ie. the workload was already installed

high zodiac
#

if i uncheck Unity Hub

#

then i can modify

#

maybe i just need to uncheck it because i already have Unity Hub?

bitter citrus
#

you don't have to uncheck that, it will uninstall the unity hub if you do

#

(at least that's what it looks like it is going to do)

high zodiac
#

okay so its already installed then

bitter citrus
#

yes, so complete the rest of the steps

#

and regenerate project files when you see that option while completing the next steps

#

after doing all of that restart visual studio

high zodiac
#

i dont see "Add" button

#

which is step 3

dire terrace
#

You already have a Unity version, skip

high zodiac
#

visual studio is already my external script editor

bitter citrus
#

regenerate project files

high zodiac
#

where, what does that mean

bitter citrus
dire terrace
#

Use your eyes

high zodiac
#

oh ye i missed it

#

okay i pressed it

bitter citrus
#

now restart visual studio

high zodiac
#

like

#

close it

#

and reopen it?

bitter citrus
#

yes . . .

#

but open it by double clicking a script in your unity editor

high zodiac
#

oh i cant do that

bitter citrus
#

why not?

high zodiac
#

unity crashes

#

whenever i open a script

#

from asset folder

#

it says Waiting for unity's something to be executed

#

yup it crashed

bitter citrus
#

so does it crash or does it just bring up that waiting window?

high zodiac
#

both

bitter citrus
#

so just to confirm, unity is fully closing itself?

high zodiac
#

trying to

#

but never does

#

i have to close it by force

#

with task manager

dire terrace
#

So it's not crashing

#

It's doing something

high zodiac
#

yea but never getting to it

#

so i cant do anything

dire terrace
#

How long have you waited?

#

Don't answer 10 seconds

high zodiac
#

no ofcourse not

#

i think the record was 7 minutes

#

which i had patience to wait

dire terrace
#

You'll have to pinpoint why it does this, by looking at the Editor Log

high zodiac
#

editor log within unity?

#

cuz i literally cant

#

press

#

on anything

dire terrace
#

In the file explorer

#

At %LOCALAPPDATA%\Unity\Editor\Editor.log

high zodiac
#

i pasted what u wrote in WIN+R

#

this is what showed up

dire terrace
#

Scroll to the bottom and look for anything abnormal

bitter citrus
#

i wonder if it has anything to do with the project being in OneDrive

high zodiac
dire terrace
#

Oh surely, it interferes with it

high zodiac
#

this is the bottom

high zodiac
#

can i just drag drop it somewhere else?

bitter citrus
#

move the project to a different folder that isn't part of OneDrive

dire terrace
#

OneDrive will catch directory & file changes to sync them, effectively locking them for a bit of time to read them, causing issues

high zodiac
#

by the way this is the popup

dire terrace
#

If you need to sync your project to the cloud, use a version control software like Git and its remote server like GitHub instead

high zodiac
#

alright i drag dropped the project to C disk

#

now its loading

#

k it just crashed

dire terrace
#

Don't cancel it

#

You'll corrupt your project if you do

high zodiac
#

...

#

i dont think it will uncrash

#

well anyhow, if i create a new project in a different location and open a new script inside that project to open visual studio

#

IDE should be configured, right?

bitter citrus
#

should be, yeah

high zodiac
#

alright, all ill need to do is redo 7 hours of work and come back here to ask for help for the same problem ill probably have

bitter citrus
#

since you had your project hosted on onedrive, you may be able to sign into the website and download it from there

high zodiac
#

alright ill try, thanks for the help! i honestly appreciate it with all my heart

#

i was going insane

#

by the way, you said i have to restart visual studio

#

is it alright if visual studio wasnt open in the first place?

bitter citrus
#

you only had to restart it to ensure that it loaded the newly generated project files since it was already open

high zodiac
#

okay it didnt work

#

i opened a script in a new project which is located in Drive C

#

and unity still crashed

#

do i have to open visual studio via unity?

bitter citrus
#

if explorer crashes just from moving files and unity is crashing from opening visual studio you may have deeper issues with your PC

high zodiac
#

but if i open visual studio first, and then open a script from there

#

everything is fine

dire terrace
#

It should be fine to run VS from Windows as long as the project files were generated

#

You can check that by navigating to where your project is, and looking for a .sln and a .csproj file

high zodiac
#

i see a .sln file

dire terrace
#

And the csproj right above it

high zodiac
#

alright, so is my IDE configured?

dire terrace
#

Can't tell

bitter citrus
#

you have to actually open the project to find out

high zodiac
#

i wrote nonsense in the script and i didnt get any error

dire terrace
#

Open the project an post a screenshot

high zodiac
dire terrace
#

It looks configured, at least the project is listed top-left

#

If you hover the MonoBehaviour with the mouse, what does it say

high zodiac
dire terrace
#

It looks like it's recognizing it, but not fully. There should be another line in that popup

#

Do you have the Solution Explorer window on the right of VS?

high zodiac
#

i do

dire terrace
#

It's in folder view, can you switch that back to normal?

high zodiac
#

i never changed anything there

#

how do i switch it?

dire terrace
#

The button on the right of the house icon

high zodiac
dire terrace
#

Right, now double click the .sln file

#

It should take you back to normal

high zodiac
#

now there is another line

dire terrace
#

Ah, it seems to have loaded more of it

high zodiac
#

oo it works

#

alright! Sadly i cant ask you for solution to my previous problem because my previous project is gone lol

#

atleast i have IDE configured now

#

alright thanks so much for your help