Problems encountered during UE4 and Airsim installation and solutions

Problems encountered during UE4 and Airsim installation and solutions

foreword

I installed UE4 and Airsim according to the tutorial of the last blogger. I encountered some problems during the process. Here I summarize and give possible solutions

Tutorial: (Deciphering AirSim-First Draft) Chapter 1: Getting to Know AirSim - Zhihu (zhihu.com)

UE4 download is slow

UE4 is on the Epic platform, and this game platform is not the slowest among several game platforms, but the speed is also unstable. Sometimes I connect to the campus network at a speed of 2M/s, and sometimes it is as if the network is disconnected. . I also searched for many ways to speed up downloads on the Internet, such as physically disconnecting the network and plugging it back in, and various tricks. Different network environments and different devices may not be the same.

UE4 download is slow

Solution

Here is my solution. The first thing to pay attention to is not to quit Epic at any time, and then reopen it. This will cause the downloaded ones to be rescanned again, and the speed is not fast, which is a waste of time. But the download speed has been extremely slow, it is also possible to do so.

0. Restart the computer;

1. Connect the computer to the hotspot of the mobile phone;

2. Completely close Epic, turn on the accelerator, I use the Thor accelerator (but I think the effect is average);

3. Open EPic, download UE4, I downloaded version 4.27;

4. Switch to WiFi network, the download speed is stable at 1~2MB/s, which is better than the half-dead state before.

ps: It seems that the download is more stable at night, and the download is faster on the internal hard drive. I downloaded it on the external SSD before.

In addition, for the problem that the Unreal Engine cannot be started, I also wrote an answer, which can be used for reference: How to solve the problem that ue5 downloads, opens and loads to 95% and does not move? - Zhihu (zhihu.com)

Prompt during Airsim compilation: Unable to open include file: “Eigen/Dense”: No such file or directory [D:\software\Visual_studio2022\2022Community\AirSim\Air

When compiling Airsim according to the tutorial, an error was reported during the compilation process, indicating that "Eigen/Dense" could not be opened. Open this folder in the resource manager and find that the "Eigen" folder is empty, so search and download Eigen.

Eigen error

Solution

eigen download link: eigen.tuxfamily.org/index.php?title=Main_Page#Download

Download the Eigen library and replace this folder in Airsim. Please pay attention to the download. Originally, I downloaded eigen3.4, but the problem was not solved, and a new problem appeared.

After downloading Eigen3.3.8, the problem is solved.

Airsim编译过程提示:ERROR: Could not find NetFxSDK install dir; this will prevent SwarmInterface from installing. Install a version of .NET Framework SDK at 4.6.0 or higher.

.NET

Prompts me to download .NET FrameWork.

Solution

First, I downloaded .NET6.0.48, but the problem was not solved. I read someone else’s blog, saying that I downloaded .NET Framework 4.7.2 Developer Pack ( to install the Developer Pack, not the Runtime ), and the problem was solved.

Download link: .NET framework 4.7.2 download link , all version directories of .NET framework

.NET installation

MSB3073 code is 6

This problem is an error generated by compiling the Blocks environment after starting Visual studio2022. I have searched a lot on the Internet and have not found an answer that suits me. For this reason, I installed and uninstalled Airsim many times, and tried many answers on the Internet, but none of them worked.

Solution:

Uninstall and reinstall Visual Studio , and then retry the process of configuring Airsim

That's right, it's that frustrating. It worked.

summary

This article mainly summarizes some problems encountered in the installation and configuration of UE4 and Airsim, which can be regarded as a record of stepping on the pit. There are also many ways to deal with these problems on the Internet, but due to version issues and timeliness, they may not be applicable to themselves.
If you think my writing is good, please give me a free like! If there are errors in the content, please also give me feedback.

Guess you like

Origin blog.csdn.net/qq_45830323/article/details/130659140