Since I do not know in detail what is going on in your project, I can only try to point you in the right direction. Here is a tutorial I found that is pretty useful if you are using Unreal Engine 4. You should generally be able to follow it even if you are using Unreal Engine 5, but there might be a few problems you might encounter. Once you have done the tutorial and then followed the instructions in my previous answer, you should be good to go. Good luck with it!