I recently added support files to the platforms directory in the UE5.4 install folder through manual copy (won’t say which ones because reasons) and when I go to launch the editor (either straight launch or trying to load my project, it doesn’t matter which one) I get the “plugin failed to load because its module could not be found” error and get kicked back to the Epic Launcher. Although the documentation for my use case says that when adding platform definitions manually, you’re supposed to run a shell script to rebuild everything (e.g. GenerateProjectFile.bat) but I have yet to locate such a file in my UE5.4 install. Perforce has also been mentioned as an option for fixing this, but I’m also having trouble figuring that out (and in fact am not sure if it even applies to my configuration).
Any advice on how to proceed with this?
EDIT: The closest thing I found was a build.bat file and a GenerateProjectFiles.sh (the former being the shell script format for Windows which is what I was looking for) so I ran that and will see what happens when I load the editor again. (EDIT 2: No such luck. I’ll try from the system terminal and see if there was an issue during the process.)
EDIT 3: It appears that I’m supposed to pass a parameter to build.bat which then passes it to the target utility. However, doing so results in the following error, which I may need help with as well:
No platforms specified for target