-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unity Build with custom plugins not working on other computers #50
Comments
Hi Jim, very cool idea for a game! Unfortunately (or fortunately?) I think that the game is working for me, so I'm not getting any errors. I can start the game, I can start to play with my voice, I can tell the ali baba door "open sesame," etc. I hear music playing in the background (very quiet, but I hear it). Can you share some of the errors you are getting on other machines? |
Should've specified. Those levels don't use any rnbo plugins so far. That starts after level 4 when you have to dim up the lights. The dimmer should be moving along with your voice but it doesn't. Also next level where you have to lift the crates , they also should be moving but aren't. To quickly go to those rooms just say "skip" or "skip this level" . All the solutions and cheatcodes are in the Walkthrough.txt |
Has anyone looked into this? Anyone else have a similar problem? It's like anything that includes the exported dll's isn't being initialized on other computers. It just seems like the game is working on the pc that it was built on but on others, ONLY the exported custom rnbo plugins aren't working. |
Hi Jim -- skipping the levels with "skip" gets me to the high/low note sections, and while I'm not sure if they are functional, I also don't see any errors. Are you getting any errors that you could copy and share here in text form? If you build your RNBO plugin for Windows, and then build your game from Unity for Windows with the plugin included in your build, you should be able to hear your RNBO-generated audio on other Windows machines. Here's a question -- if you build your Windows game from Unity, can you quit the Unity editor and successfully run the game (RoomPuzzle.exe) with RNBO-generated audio on that computer? Or are you only hearing audio in the editor? If you can only hear audio in the editor, you may need to make sure your game has some logic that actually spawns the audio source or listener in the scene, as you might be hearing the audio of the Audio Mixer in-editor but not actually have a component that generates this audio in your game. Thank you for your patience -- as this is an experimental "use at your own risk" repository, we do endeavor to support you here, but the support might take a little bit of time. |
Thank you... it sounds like the RNBO plugin dll is probably not being included in your build, or something like that. Can you also share a screenshot of your build settings in the Unity editor, your package settings in the package manager, anything that we could look at to see how you have the project set up? |
if screenshots don't make sense, do you mind making a discord sharescreen? this would really help I think |
Hi Jim, Thank you for sharing the screenshots... everything you've shared looks right, but there are a few things you'd want to make sure about. Some of this goes a bit beyond the support we can provide, and is more about Unity development in general, but I can try to point you in the right direction. The "experimental" heading for the RNBO packages is expected and accurate!
I'd like us to try something out. Below you can find a link to a simple unity game which uses a RNBO plugin, I've confirmed that it works on multiple Windows machines. I'd like you to try to build this game yourself, using the patch I've pasted below, and following the steps outlined below. patch:
steps:
If this works, the game you build should sound just like the one at this link: If this works, we can confirm that RNBO is working correctly for you. Now, check to see if there is any step here that looks different to how you are using RNBO in your project. |
before I do any of these (because I have to renew my rnbo license to do that and I'd like to avoid unnecessary cost) 1: export the plugin in subfolder "export" in main folder D:\Unity\RNBO\rnbo.unity.audioplugin-main
3: Ctrl+C kai Ctrl+V the new folder in the build, within RNBOTypes so that Unity can have it I don't know if i should add "cmake --build . --config Release" instead of "cmake --build ." at the end of each export of my plugin. |
That's my suspicion -- you are on a Windows machine, so if you run |
That was the problem exactly! Thank you for your patience |
1 similar comment
That was the problem exactly! Thank you for your patience |
Hi Jim! Very glad to hear that things are working for you now. |
in unity i've made a game that uses custom audio plugins from max msp's rnbo. i built it on a regular laptop windows 11 home. is there any obvious reason why the plugins in other laptops don't work? I attach my game below so you can look for yourself at the build. https://error-occurred.itch.io/the-room-puzzle
For me it seems that other laptops are missing some libraries but isn't everything inside the exported plugin?
I'm not a programmer or a pro at maxmsp, so please lemme know if it's something that can or can't be fixed
The text was updated successfully, but these errors were encountered: