Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:04,220 --> 00:00:08,480
It's a very quick video that I've inserted because I found people that had a few issues with Visual
2
00:00:08,480 --> 00:00:08,950
Studio.
3
00:00:08,960 --> 00:00:13,910
You don't need to be doing anything in this video you don't need to be writing the code it's oldest
4
00:00:13,910 --> 00:00:15,760
example to make my point.
5
00:00:15,890 --> 00:00:20,360
And the problem that some people are getting is when they go to type things within Visual Studio for
6
00:00:20,360 --> 00:00:25,990
example typing debug they're not getting this auto complete they're not getting all this extra information.
7
00:00:26,090 --> 00:00:32,090
And so if I hit the full stop here or the period then it finishes the word debug I can see it changes
8
00:00:32,110 --> 00:00:35,740
color and you can see how I get all these other options as the next thing to type.
9
00:00:35,810 --> 00:00:38,820
So I can type log so alone it knows to auto complete.
10
00:00:38,830 --> 00:00:40,400
So that's what I'm talking about.
11
00:00:40,430 --> 00:00:46,070
If you're not getting that behavior if you're seeing problems if things aren't opening properly in Visual
12
00:00:46,070 --> 00:00:48,260
Studio then I've got a checklist for you.
13
00:00:48,260 --> 00:00:52,740
If everything's fine at the moment you can skip this video and continue on with the course.
14
00:00:52,820 --> 00:00:54,080
But just remember it's here.
15
00:00:54,080 --> 00:00:59,500
If you do have issues in the future so here's a checklist for you to fix Visual Studio problems.
16
00:00:59,630 --> 00:01:05,990
First of all try restarting unity and restarting Visual Studio of course and then also ensure that Visual
17
00:01:05,990 --> 00:01:07,710
Studio is your external editor.
18
00:01:07,790 --> 00:01:08,690
What I mean by that.
19
00:01:08,690 --> 00:01:10,280
Well let's hop over into unity.
20
00:01:10,340 --> 00:01:11,990
Again this is just a blank project.
21
00:01:11,990 --> 00:01:14,640
I've started up to illustrate the point here.
22
00:01:14,780 --> 00:01:21,410
What you want to do is come up to edit preferences or go down to preferences in the middle of the thing
23
00:01:21,410 --> 00:01:26,900
you here preferences and then we click on external tools and Laura says external script editor we want
24
00:01:26,900 --> 00:01:32,960
to make sure that his visual studio 2017 or whichever Visual Studio you're using as part of this course
25
00:01:33,150 --> 00:01:34,830
but I'm using 2017.
26
00:01:35,120 --> 00:01:41,720
Make sure that is the correct one is selected in their next point that you can try to fix problems.
27
00:01:41,780 --> 00:01:47,230
That's just another way to find that is to check that the unity dev tools are installed in Visual Studio.
28
00:01:47,240 --> 00:01:49,070
For that we go within Visual Studio.
29
00:01:49,070 --> 00:01:57,860
We go to Tools and then extensions and updates so into visual studio over into tools and then extensions
30
00:01:57,860 --> 00:01:59,500
and updates up near the top there.
31
00:01:59,730 --> 00:02:05,640
And you can see the very first thing that I have installed is Visual Studio 2017 tools for unity.
32
00:02:05,750 --> 00:02:10,790
So we need to have these unity tools in there if that is not in your list of things that are installed
33
00:02:11,030 --> 00:02:15,590
that could be the reason you are having the problem and then you need to go and find through online
34
00:02:15,590 --> 00:02:22,070
to search for the unity Visual Studio basically Visual Studio Tools for unity is what you need a search
35
00:02:22,070 --> 00:02:25,980
for and find if you don't see that in your installed tools.
36
00:02:26,270 --> 00:02:31,980
The next thing you can try if you're having issues is to check that the script is included in the project.
37
00:02:32,060 --> 00:02:36,100
So to do that within Visual Studio we open up our solution explorer.
38
00:02:36,260 --> 00:02:38,070
So we find under.
39
00:02:38,570 --> 00:02:46,280
Let's see and view solution explorer click on that or you can do control old L if you're on a P.C. and
40
00:02:46,280 --> 00:02:50,630
you can see here is showing us all of the things that should be within our project.
41
00:02:50,650 --> 00:02:54,890
So all the things that Visual Studio says aha I'm going to pay attention to these things.
42
00:02:54,890 --> 00:02:59,660
And within unity I've got one script that I've set up called test.
43
00:02:59,720 --> 00:03:05,000
That's the one I'm doing just for this video and you can see here that test is one of the things that's
44
00:03:05,000 --> 00:03:09,140
listed in all of the things that visual studio thinks is in my project.
45
00:03:09,140 --> 00:03:16,280
If I right click on that you can say I have an option to exclude from the project if I exclude it and
46
00:03:16,640 --> 00:03:18,100
I need to save the changes first.
47
00:03:18,100 --> 00:03:22,550
So that's cool if I exclude it then you can see it has this kind of dotted line pattern around it.
48
00:03:22,580 --> 00:03:27,770
That means that Visual Studio is not going to recognize that the way it should when we go and open that
49
00:03:27,770 --> 00:03:28,920
up from unity.
50
00:03:29,030 --> 00:03:32,750
It's going to be a little bit confused a little bit upset about what's going on.
51
00:03:32,780 --> 00:03:34,030
So here we go.
52
00:03:34,220 --> 00:03:37,190
It's not going to do the right kind of behavior we're expecting.
53
00:03:37,190 --> 00:03:44,220
So if you finally you've got that dotted line around it right click including Project blank back over
54
00:03:44,220 --> 00:03:44,450
here.
55
00:03:44,450 --> 00:03:49,010
So yeah including project and then it should change color and look the way it's supposed to.
56
00:03:49,010 --> 00:03:49,250
OK.
57
00:03:49,280 --> 00:03:52,640
So that's including the files particularly the scripts.
58
00:03:52,640 --> 00:03:57,200
Make sure that all your scripts are in the project because scripts is what we're editing in Visual Studio
59
00:03:58,760 --> 00:03:59,120
OK.
60
00:03:59,130 --> 00:04:00,440
Fifth point out of six points.
61
00:04:00,440 --> 00:04:02,010
Try updating Visual Studio.
62
00:04:02,070 --> 00:04:02,700
How do you do that.
63
00:04:02,700 --> 00:04:09,280
Well we go over to help and then help and let's see should be in here somewhere check for updates.
64
00:04:09,290 --> 00:04:14,220
So just as you would do with any software check for updates and make sure that you have the latest version
65
00:04:14,220 --> 00:04:17,720
of Visual Studio if nothing else has fixed it.
66
00:04:17,880 --> 00:04:23,610
And then also you can install and use a different version of Unity I'm using twenty eighteen point one
67
00:04:23,610 --> 00:04:26,610
at the moment later on in the course I'm using twenty eighteen point two.
68
00:04:26,610 --> 00:04:32,250
Either of those should work just fine if using 2017 or something older that might be why you're getting
69
00:04:32,280 --> 00:04:35,880
issues so make sure that you are up to date with unity so there's a checklist.
70
00:04:35,880 --> 00:04:39,090
Feel free to come back to this in the future if you do have problems if you don't have problems.
71
00:04:39,240 --> 00:04:39,900
Excellent.
72
00:04:39,900 --> 00:04:44,050
Most people don't but I wanted to make sure I got this video in early just in case you do.
73
00:04:44,070 --> 00:04:44,310
OK.
74
00:04:44,340 --> 00:04:47,610
Let's get back to continuing with our no wizard.
7879
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.