Please don’t hijack/necro other peoples threads, start your own. A compiler error doesn’t mean it’s the same thing causing the problem. You can create this error by doing a whole bunch of things.
Also, when posting code, always use code-tags and not plain-text.
Note that you can edit your posts, this isn’t a chat so no need to make multiple posts like that.
If you followed a tutorial then you need to follow it again more carefully, in 99% of these kinds of posts it’s a typo/mistake only. Rarely is it the fault of a tutorial. I took at look at the 7 min mark in the video and your code isn’t the same as in the tutorial at all.
In your case you’ve done a lot wrong. You’re using 3D physics (Physics) and 2D physics (Physics2D) so I would highly suggest going over the tutorial more carefully.