Skip to content
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 crash when playing scene with RNBO plugin #34

Closed
JimPapanick opened this issue Dec 19, 2023 · 2 comments
Closed

Unity crash when playing scene with RNBO plugin #34

JimPapanick opened this issue Dec 19, 2023 · 2 comments
Labels
invalid This doesn't seem right

Comments

@JimPapanick
Copy link

JimPapanick commented Dec 19, 2023

I am aiming at creating simple and custom plugins to run in a mini game for Windows.
Whenever I run the scene to test my sounds, Unity crashes.

I am following this tutorial here so you can imagine my setup exactly the same as his. (The plugin export/setup starts at the 8m mark)
https://www.youtube.com/watch?v=OBRRrwvZ_mo

In the Crashes folder I find these two files:

crash.dmp

Editor.log

Stuff I have tested:

-Build a simpler plugin (still crashes)
-Turn off the object attached with the Audio Source routed to the Mixer with the plugin (doesn't crash)

@x37v
Copy link
Contributor

x37v commented Dec 19, 2023

@JimPapanick one question is.. the tutorial you reference, it doesn't actually use this rnbo.unity.audioplugin but instead our older JUCE based export.. which are you using?

@JimPapanick
Copy link
Author

JimPapanick commented Dec 21, 2023

I have followed the steps and it works. I will update for further errors.

Steps:
-Downloaded RNBOTypes and moved it in a custom directory
-Made an export and a build folder inside it to keep my plugins
-Used cmd:
mkdir build
cd build
cmake .. -DPLUGIN_NAME="Simple Delay"
cmake --build .
-That made a folder "Simple Delay" in my build folder which I then moved in RNBOTypes
-Went in Package manager and installed .json file
-Put an AudioSource with a random clip routed to a Mixer with my plugin.

So far so good, thank you.

@x37v x37v closed this as completed Jan 2, 2024
@x37v x37v added the invalid This doesn't seem right label Jan 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants