Skip to content

Cannot open Blocks.uproject with UE4.27 #4535

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
WarrenSkywalker opened this issue May 20, 2022 · 29 comments
Open

Cannot open Blocks.uproject with UE4.27 #4535

WarrenSkywalker opened this issue May 20, 2022 · 29 comments

Comments

@WarrenSkywalker
Copy link

Question

What's your question?

I followed the instruction here:https://microsoft.github.io/AirSim/unreal_blocks/, however, the UE4 cannot open the default Blocks environment in the AirSim. I found the version of the engine that made the Blocks.uprojcet is 4.27, which is the same as my UE version, it's wield that UE recognized the project came from an engine of different version.

Include context on what you are trying to achieve

Context details

Ubuntu 18.04LTS, AirSim master branch from its github, Unreal 4.27

Include details of what you already did to find answers

I've tried convert it in place, but met a compile error:
Building would modify the following engine files:
xxxxx/UE4Editor.modules
.....

@LongruiDong
Copy link

Hi .
I am also meeting this error, have you solved yet?

@WarrenSkywalker
Copy link
Author

not yet, hope sb could help us

@Davidsastresas
Copy link

I am having the same issue all of a sudden!

@andrewjong
Copy link

andrewjong commented May 24, 2022

Hi all, I managed to open Blocks.uproject on my machine. UE4.27 on Ubuntu 18.04.

  1. Cloned UnrealEngine to ~/UnrealEngine. Cloned AirSim to ~/AirSim
  2. Cleaned the UBlocks project cd ~/AirSim/Unreal/Environments/Blocks && ./clean.sh
  3. Installed mono-complete for Ubuntu 18.04, which lets you run .exe files on Linux
  4. Made some symlinks: sudo ln -s /usr/bin/mono /bin/mono && sudo ln -s /usr/lib/mono /lib/mono
  5. Ran the following command to rebuild the Blocks project: ~/UnrealEngine/Engine/Binaries/ThirdParty/Mono/Linux/bin/mono ~/UnrealEngine/Engine/Binaries/DotNET/UnrealBuildTool.exe Development Linux -Project=/home/andrew/AirSim/Unreal/Environments/Blocks/Blocks.uproject -TargetType=Editor -Progress
  6. Started UE4Editor from command line: ~/UnrealEngine/Engine/Binaries/Linux/UE4Editor
  7. Clicked More > Browse > /home/andrew/AirSim/Unreal/Environments/Blocks/Blocks.uproject
  8. Error shows up "This project was made with a different version of the Unreal Engine.". Click "More Options" > "Skip conversion"
  9. Project opens, whala! Unfortunately you always have to click "Skip conversion" to open it. If anyone knows a better way, please feel free to share. Thanks!

@zimmy87
Copy link
Contributor

zimmy87 commented May 24, 2022

Thanks for looking into this and providing a solution @andrewjong! Another solution I found is to follow the instructions in this forum post (I suspect this essentially doing the same thing as step 5 in his solution, just with a make command instead of using the UnrealBuildTool). Basically, this is happening because of an outdated BlocksEditor shared library left over from a previous build. I'll try and look into what specific build output needs to be cleaned up to avoid this, but in the meantime, everyone should be unblocked by either @andrewjong's solution or the forum post I linked to.

Here's the solution offered in the previously linked forum post:

/home//UE/UnrealEngine/GenerateProjectFiles.sh /home/projectName/projectName.uproject -game
cd /home/projectName/
make projectNameEditor

@09zs19
Copy link

09zs19 commented May 24, 2022

I have been running into the same issue for about a week or so and the solution from @andrewjong worked perfectly for me. Thank you for the help!

@Davidsastresas
Copy link

Thank you so much @andrewjong, your solution worked for me! Thanks thanks thanks!

@aliadeeba98
Copy link

Hi all, I managed to open Blocks.uproject on my machine. UE4.27 on Ubuntu 18.04.

  1. Cloned UnrealEngine to ~/UnrealEngine. Cloned AirSim to ~/AirSim
  2. Cleaned the UBlocks project cd ~/AirSim/Unreal/Environments/Blocks && ./clean.sh
  3. Installed mono-complete for Ubuntu 18.04, which lets you run .exe files on Linux
  4. Made some symlinks: sudo ln -s /usr/bin/mono /bin/mono && sudo ln -s /usr/lib/mono /lib/mono
  5. Ran the following command to rebuild the Blocks project: ~/UnrealEngine/Engine/Binaries/ThirdParty/Mono/Linux/bin/mono ~/UnrealEngine/Engine/Binaries/DotNET/UnrealBuildTool.exe Development Linux -Project=/home/andrew/AirSim/Unreal/Environments/Blocks/Blocks.uproject -TargetType=Editor -Progress
  6. Started UE4Editor from command line: ~/UnrealEngine/Engine/Binaries/Linux/UE4Editor
  7. Clicked More > Browse > /home/andrew/AirSim/Unreal/Environments/Blocks/Blocks.uproject
  8. Error shows up "This project was made with a different version of the Unreal Engine.". Click "More Options" > "Skip conversion"
  9. Project opens, whala! Unfortunately you always have to click "Skip conversion" to open it. If anyone knows a better way, please feel free to share. Thanks!

But sir, after executing the command wine UnrealBuildTool.exe Development Linux -Project=/home/andrew/AirSim/Unreal/Environments/Blocks/Blocks.uproject -TargetType=Editor -Progress, I am getting the following error:
wine: Unhandled page fault on read access to 0000000000000004 at address 000000007BCDCAE4 (thread 0019), starting debugger...
000f:err:service:process_send_command service protocol error - failed to write pipe!
Using 'git status' to determine working set for adaptive non-unity build (Z:\home\adeeba\UnrealEngine).
Invalidating makefile for BlocksEditor (Paper2D.uplugin has been added)
ERROR: Platform Linux is not a valid platform to build. Check that the SDK is installed properly.

And I'm stuck here! Please help me out in this regard.

Thank you.

@andrewjong
Copy link

@aliadeeba98 , based on the backslashes in your path, it looks like you're on Windows. The instructions I wrote are for Linux. However perhaps it will still work if you simply run ~/UnrealEngine/Engine/Binaries/DotNET/UnrealBuildTool.exe Development Windows -Project=/home/andrew/AirSim/Unreal/Environments/Blocks/Blocks.uproject -TargetType=Editor -Progress? Not entirely sure because I'm not on Windows myself.

@aliadeeba98
Copy link

@aliadeeba98 , based on the backslashes in your path, it looks like you're on Windows. The instructions I wrote are for Linux. However perhaps it will still work if you simply run ~/UnrealEngine/Engine/Binaries/DotNET/UnrealBuildTool.exe Development Windows -Project=/home/andrew/AirSim/Unreal/Environments/Blocks/Blocks.uproject -TargetType=Editor -Progress? Not entirely sure because I'm not on Windows myself.

@andrewjong I'm working on Ubuntu 20.04 LTS and for executing the UnrealBuildTool.exe file in Linux I am taking the help of Wine software.

@aliadeeba98
Copy link

@aliadeeba98 , based on the backslashes in your path, it looks like you're on Windows. The instructions I wrote are for Linux. However perhaps it will still work if you simply run ~/UnrealEngine/Engine/Binaries/DotNET/UnrealBuildTool.exe Development Windows -Project=/home/andrew/AirSim/Unreal/Environments/Blocks/Blocks.uproject -TargetType=Editor -Progress? Not entirely sure because I'm not on Windows myself.

@andrewjong Thanks a lot!! Now, the issue has resolved.

@andrewjong
Copy link

mono should let you run the .exe in Linux

@jacobsayono
Copy link

@andrewjong hi, your solution worked to compile Blocks, but in the end, i would still get the error:
Engine modules are out of date, and cannot be compiled while the engine is running. Please build through your IDE.
do you think it is because i am using Ubuntu 20.04 LTS?

@tanyaspaul
Copy link

same error on my Ubuntu 20.04 LTS any tips or individual that managed to solve this issue?

@gmgarciam
Copy link

This command will generate project files for the game and then follow it with the make command.

./UnrealEngine/GenerateProjectFiles.sh '/Unreal Projects/MyProject/MyProject.uproject' -game
make

@andrewjong
Copy link

andrewjong commented Jan 18, 2023

Since AirSim is now deprecated, I suggest transitioning to Colosseum Sim, which is a fork of AirSim. They've carried on AirSim to Unreal Engine 5. We use it for our project and it's working well.

@KadriyeNur
Copy link

I am faced wıth thıs error
Plugin 'SteamVR' failed to load because module 'SteamVR' could not be found. Please ensure the plugin is properly installed, otherwise consider disabling the plugin for this project.

@panyaoqiang
Copy link

I have also encountered this problem. Have you resolved it

@abheek19
Copy link

Hi, @andrewjong ,
I tried all the steps you mentioned. 2 things I noticed while following the steps mentioned:

  1. the SymLinks already existed, both of them. So I went forward with the following steps.
  2. Even after going through all the steps, I still got the same error that as I started with.

@panyaoqiang
Copy link

panyaoqiang commented Jun 19, 2023 via email

1 similar comment
@panyaoqiang
Copy link

panyaoqiang commented Jul 24, 2023 via email

@cheslee-z
Copy link

Thanks for looking into this and providing a solution @andrewjong! Another solution I found is to follow the instructions in this forum post (I suspect this essentially doing the same thing as step 5 in his solution, just with a make command instead of using the UnrealBuildTool). Basically, this is happening because of an outdated BlocksEditor shared library left over from a previous build. I'll try and look into what specific build output needs to be cleaned up to avoid this, but in the meantime, everyone should be unblocked by either @andrewjong's solution or the forum post I linked to.

Here's the solution offered in the previously linked forum post:

/home//UE/UnrealEngine/GenerateProjectFiles.sh /home/projectName/projectName.uproject -game
cd /home/projectName/
make projectNameEditor

@KadriyeNur, I also encounter your problem when using attentioned method, everything seems to be OK by just disabling the plugin. By the way, my PC is ubuntu 20.04

@tbh123456
Copy link

您好,您的邮件耀强已经收到,辛苦了
I have meet the same question ,do you know how to disable the SteamVR?

@panyaoqiang
Copy link

panyaoqiang commented Jan 30, 2024 via email

@IaroslavS
Copy link

Hi all, I managed to open Blocks.uproject on my machine. UE4.27 on Ubuntu 18.04.

1. Cloned UnrealEngine to `~/UnrealEngine`. Cloned AirSim to `~/AirSim`

2. Cleaned the UBlocks project `cd ~/AirSim/Unreal/Environments/Blocks && ./clean.sh`

3. Installed [mono-complete for Ubuntu 18.04](https://www.mono-project.com/download/stable/#download-lin), which lets you run .exe files on Linux

4. Made some symlinks: `sudo ln -s /usr/bin/mono /bin/mono && sudo ln -s /usr/lib/mono /lib/mono`

5. Ran the following command to rebuild the Blocks project: `~/UnrealEngine/Engine/Binaries/ThirdParty/Mono/Linux/bin/mono ~/UnrealEngine/Engine/Binaries/DotNET/UnrealBuildTool.exe Development Linux -Project=/home/andrew/AirSim/Unreal/Environments/Blocks/Blocks.uproject -TargetType=Editor -Progress`

6. Started UE4Editor from command line: `~/UnrealEngine/Engine/Binaries/Linux/UE4Editor`

7. Clicked More > Browse > `/home/andrew/AirSim/Unreal/Environments/Blocks/Blocks.uproject`

8. Error shows up "This project was made with a different version of the Unreal Engine.".   Click "More Options" > "Skip conversion"

9. Project opens, whala! Unfortunately you always have to click "Skip conversion" to open it. If anyone knows a better way, please feel free to share. Thanks!

I have Unreak Engine 5.2 and I don't have UnrealBuildTool, I found only UnrealEngine/Engine/Binaries/DotNET/UnrealBuildTool/UnrealBuildTool.
When I've run

UnrealEngine/Engine/Binaries/ThirdParty/Mono/Linux/bin/mono UnrealEngine/Engine/Binaries/DotNET/UnrealBuildTool/UnrealBuildTool Development Linux -Project=/home/user/workspace/Colosseum/Unreal/Environments/Blocks/Blocks.uproject -TargetType=Editor -Progress

An error occurs:

Cannot open assembly 'UnrealEngine/Engine/Binaries/DotNET/UnrealBuildTool/UnrealBuildTool': File does not contain a valid CIL image.

@panyaoqiang
Copy link

panyaoqiang commented Feb 15, 2024 via email

@nvhungv2k
Copy link

Hi all, I managed to open Blocks.uproject on my machine. UE4.27 on Ubuntu 18.04.

1. Cloned UnrealEngine to `~/UnrealEngine`. Cloned AirSim to `~/AirSim`

2. Cleaned the UBlocks project `cd ~/AirSim/Unreal/Environments/Blocks && ./clean.sh`

3. Installed [mono-complete for Ubuntu 18.04](https://www.mono-project.com/download/stable/#download-lin), which lets you run .exe files on Linux

4. Made some symlinks: `sudo ln -s /usr/bin/mono /bin/mono && sudo ln -s /usr/lib/mono /lib/mono`

5. Ran the following command to rebuild the Blocks project: `~/UnrealEngine/Engine/Binaries/ThirdParty/Mono/Linux/bin/mono ~/UnrealEngine/Engine/Binaries/DotNET/UnrealBuildTool.exe Development Linux -Project=/home/andrew/AirSim/Unreal/Environments/Blocks/Blocks.uproject -TargetType=Editor -Progress`

6. Started UE4Editor from command line: `~/UnrealEngine/Engine/Binaries/Linux/UE4Editor`

7. Clicked More > Browse > `/home/andrew/AirSim/Unreal/Environments/Blocks/Blocks.uproject`

8. Error shows up "This project was made with a different version of the Unreal Engine.".   Click "More Options" > "Skip conversion"

9. Project opens, whala! Unfortunately you always have to click "Skip conversion" to open it. If anyone knows a better way, please feel free to share. Thanks!

Thanks @andrewjong Your way worked for me.
My workspace: Ubuntu 20.04LTS, Airsim branch master, Unreal Engine 4.27

@panyaoqiang
Copy link

panyaoqiang commented Jul 2, 2024 via email

@rahmarzougui
Copy link

6. ~/UnrealEngine/Engine/Binaries/Linux/UE4Editor

Thank you this worked for me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests