Linux build guide for Unreal Engine 5.2 #91
eotsn
started this conversation in
Show and tell
Replies: 1 comment 1 reply
-
Thank you so much for this guide! ❤️ I'm gonna pin it. If you find some time, can you make a PR where you add this as LINUX.md into the repository link it in README.md and put the whitelisted platforms in the .uplugin? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First of all, thank you so much @microdee for your work on this plugin ❤️ Support for my SpaceMouse was one of the last things keeping me back from moving my game dev workflow over to Linux.
With that said, it wasn't completely straightforward how to get the plugin working on Linux. But after compiling some notes from older GitHub issues and performing some small tweaks I can now navigate my scenes with ease once again! I'm hoping this guide will help others who are looking into how to use their favorite tools on Linux.
First of all, this is my system configuration with a clean OS install and
spacenavd
(for Blender support) installed:Preparation
Start by cloning the repository including submodules:
Next we need to update the
SpaceMouse.uplugin
file and whitelist Linux as a module platform. For each module in the file (4 in total) make sureWhitelistPlatforms
looks as follows:Building
You can build the plugin using the
RunUAT.sh
CLI tool included in your engine install.Open your favorite terminal and paste the following command, substituting with your chosen plugin and engine installation directories:
This will build the plugin and make it available in the
/UE4-SpaceMouse/Out/Linux
directory.Installation
After this you can copy the
Linux
directory into your UE5.2 project'sPlugins
directory and rename itSpaceMouse
. Start the Unreal Editor and verify that the plugin is enabled in Edit > Plugins > Input Devices. Then check that plugin settings are available in Edit > Editor Preferences > Plugins > SpaceMouse.If everything is there the plugin was built successfully and ready to be used! However, it could be that nothing happens when you try to move using the SpaceMouse within your scene. If so, you might need to add a
udev
rule to help your device communicate with the plugin. Copy the following content and save it in a file named90-3dconnexion.rules
in the/usr/lib/udev/rules.d
directory. This will require root privileges!Restart your computer and you should now be able to use your SpaceMouse in Unreal Engine 5.2! 🎉
References
Beta Was this translation helpful? Give feedback.
All reactions