UE5 Compatibility update
UE5 is here but the marketplace doesn’t support it yet (normally only stable versions are supported, no preview or early access).
I made a UE5 compatible version but there is no way for me to upload it. So instead I uploaded an update to 4.26 version which will work with UE5 too, but you need to compile it yourself as a project plugin.
Be aware that UE5 is early access and things can change or break, no warranty! Don’t use for production!
The update changes nothing except adding the ue5 compatibility. Nanite meshes are supported too because the plugin sees them as regular static meshes. You need to define the sockets and the collision, as usual.
Problems:
- UE5 switched to Chaos physics by default, which are not yet as good as PhysX. Because of that physics based examples will not always work correctly. Most of problems occur when attaching/detaching meshes. Also it feels much less responsive. UE5 Chaos is already working better than previous versions, there’s hope it’s fixed soon.
- Nanite meshes don’t support translucent materials, that’s why the preview of a nanite mesh will be gray. You can setup your own material by using SetPreviewMaterial on the preview actor.
How to compile the plugin for UE5
- Make sure you have a recent version of Visual Studio 2019 (v16.4 or greater)! UE5 will not work with older versions. Docs
- Install the plugin for UE4.26 (I only modified 4.26 version of the plugin , not older versions), the version of the plugin should be 1.1.4
- In your project folder create a folder called “Plugins”
- Go to C:\Program Files\Epic Games\UE_4.26\Engine\Plugins\Marketplace and copy the folder called “MSSR” into “<Your Project>/Plugins” folder you just created. That’s the source of the plugin. So now you have “<Your Project>/Plugins/MSSR”
- To be sure that nothing 4.26 related remains in the plugin go to “<Your Project>/Plugins/MSSR” and delete “Binaries” and “Intermediate” folders.
- Edit “<Your Project>/Plugins/MSSR/MSSR.uplugin” (it’s a text file) and replace the line
“EngineVersion”: “4.26.0”,
by
“EngineVersion”: “5.0.0”,
- Now launch your project. There will be a popup saying “The following modules are missing or built with a different engine version … Would you like to rebuild them now?” Answer “Yes”.
At this moment the Unreal will launch the Visual studio and try to compile the plugin.
If everything works the project will open and you will have the plugin working. To be sure, open the “Plugins” window and check it’s there and enabled.