Omar_00971 Posted February 22, 2022 Share Posted February 22, 2022 So basically I'm trying to add the FMOD integration on both C# and C++. VSTUDIO I got to the whole download from the site (2.02.04). Added to bin and changed the batch files (editor, debug and release) extern to have FMOD and also added the FMOD plugin from configuration. I added the .dll to the samples and they work fine... In my code files I did a simple FMOD.get() and the fatal error comes. It still doesn't work for my project. What am I missing? Link to comment
silent Posted February 22, 2022 Share Posted February 22, 2022 Hi Omar, If you need FMOD to work in your project, you need to copy FMOD dlls into the bin folder of your project as well. Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
Omar_00971 Posted February 22, 2022 Author Share Posted February 22, 2022 8 minutes ago, silent said: Hi Omar, If you need FMOD to work in your project, you need to copy FMOD dlls into the bin folder of your project as well. Thanks! I did. Basically this is the steps I did: Added the 4 .dll FMODs to the bin directory Changed all the batch files to include FMOD in the extern_plugin part Added FMOD onto the launch settings in properties Added FMOD plugin through project configuration I don't know what I'm missing Link to comment
silent Posted February 22, 2022 Share Posted February 22, 2022 Can you show us your code and describe how do you launch project? Maybe a screenshot with error if any? How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
silent Posted February 22, 2022 Share Posted February 22, 2022 Just tried to reproduce this behavior in empty C# project, but everything looks good. Here's the link for the test project (no binaries): https://nextcloud.unigine.com/s/KkjGnMKw9P7E7sE 1 How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
Omar_00971 Posted February 22, 2022 Author Share Posted February 22, 2022 14 hours ago, silent said: Can you show us your code and describe how do you launch project? Maybe a screenshot with error if any? I'm away from work or else I would show you. The main error is the fatal error message that's all Link to comment
Omar_00971 Posted February 22, 2022 Author Share Posted February 22, 2022 8 hours ago, silent said: Just tried to reproduce this behavior in empty C# project, but everything looks good. Here's the link for the test project (no binaries): https://nextcloud.unigine.com/s/KkjGnMKw9P7E7sE Wow thank you, when I get home I will check it out. Thanks again Link to comment
Omar_00971 Posted February 23, 2022 Author Share Posted February 23, 2022 Hey silent thanks for waiting. The blank project worked so I decided to try it again. Made new project and added FMOD plug in via configuration Added the same .dll that you gave me in bin Changed launchsettings.json and launch-debug batch -extern_plugin to include "FMOD" Wrote a c# component script with just one line in init: FMOD.checkPlugin() Error says UnigineWrapper: could not load plugin FMOD Link to comment
silent Posted February 24, 2022 Share Posted February 24, 2022 Can you do a screenshot of all the files in the bin directory of your project? For correct FMOD work you need to have at least the following ones: How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
Omar_00971 Posted February 28, 2022 Author Share Posted February 28, 2022 Here ya go. I added the .libs too just in case Link to comment
silent Posted February 28, 2022 Share Posted February 28, 2022 Can you upload your project somewhere? Looks like we can't reproduce this in any way. Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
Omar_00971 Posted March 1, 2022 Author Share Posted March 1, 2022 I uploaded a zip file into my GDrive and i just copy pasted it in there. Let me know what i did wrong. Thank you in advance https://drive.google.com/file/d/1EgZzplfKkvSplCx74LfVCv3vPBxqsMOc/view?usp=sharing Link to comment
silent Posted March 1, 2022 Share Posted March 1, 2022 Omar, thanks for the project! First of all, you forgot to include ending double quotes in the launch parameters: so, all the launch parameters after world_load were simply ignored. Second, looks like you downloaded x86 fmod libraries (instead of x64). In attachment you can find x64 dll files from fmod website that should work as expected. Thanks! fmod_2.2.4_bin.zip 1 How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
Omar_00971 Posted March 11, 2022 Author Share Posted March 11, 2022 Thank you very much, i remade the project today and it worked perfectly fine. Thank you again Link to comment
Recommended Posts