Whenever I press “Build and Run” my console comes back with 5 errors. How do I fix them? Image attached.
(I also tried exporting a blank project that I didn’t do anything with as a control variable and there were still errors)
Whenever I press “Build and Run” my console comes back with 5 errors. How do I fix them? Image attached.
(I also tried exporting a blank project that I didn’t do anything with as a control variable and there were still errors)
The real bug there is the one about il2cpp. I would suggest reinstalling Unity; looks to me like something went wrong there with the previous installation.
Thanks, I’ll try this later and let you know if it works or not.
Can you provide details about that third error message? If you select it, the lower pane should have more details that might help indicate what the specific error message is.
I ended up taking a video of it because it was so long. Here it is:
https://www.youtube.com/watch?v=qrSE7MiCnlc
Note that you can select all of the text in that bottom pane, copy it, and paste it here. Additionally, you can find the error by opening the Editor log file (https://docs.unity3d.com/Manual/LogFiles.html).
But I can see the error in the video. As the error message indicates, you will need to install Visual Studio with the C++ workload. Please download the Visual Studio installer from Microsoft (the latest version of Visual Studio will work well).
the latest version is already downloaded. Granted, I’ve never opened it. Would this matter?
You should not need to open it, but you do have to manually ensure that the Visual Studio installer added the C++ workload. You could open Visual Studio and try to create a new empty C++ project. If that is not possible, then the C++ tools are not installed.
I was able to create an empty C++ project
That is odd - are you still getting the same error message in Unity wen you build?
Yes
Edit: I’m also using the Shadow cloud service. I wouldn’t imagine so, but could this be a factor?
What is the Shadow cloud service? I’m unfamiliar with that.
Basically I’m on a mac but the shadow cloud service gives me access to a powerful windows computer that I can control from anywhere.
https://shadow.tech/
I’m unclear is this has any impact. So long as Visual Studio is installed with C++ on the Windows machine, this should work. Can you make sure that the computer also has the latest Windows 10 SDK installed?
I installed the windows sdk and it worked! Thanks a lot!