Closed arokhsar closed 1 year ago
@arokhsar did you add RNBOTypes
? https://github.com/Cycling74/rnbo.unity.audioplugin/blob/main/docs/GETTING_STARTED.md#installation
I did not! It works now. In my opinion, that section of Getting Started makes it sound like installing the custom plugin installs both itself and RNBOTypes packages when it says "This should result in the RNBO Unity Types package and the package named with the name you chose for your RNBO plugin added to the Installed Packages for your project."
But could be my own reading problem. Thank you for your help!
I get the following error in Unity when I attempt to add the package.json file generated by the build process via the package manager:
[Package Manager Window] Cannot perform upm operation: Unable to add package [file:/Users/rokhsar/Aria/RNBO/rnbo.unity.audioplugin-main/build/MyCustomPlugin]: Package com.cycling74.mycustomplugin@file:/Users/rokhsar/Aria/RNBO/rnbo.unity.audioplugin-main/build/MyCustomPlugin has invalid dependencies or related test packages: com.cycling74.rnbotypes (dependency): Package [com.cycling74.rnbotypes@0.0.1] cannot be found [NotFound]. UnityEditor.EditorApplication:Internal_CallUpdateFunctions () (at /Users/bokken/buildslave/unity/build/Editor/Mono/EditorApplication.cs:356)
I'm on a MacBook Pro, M2, OS 13.2.1. Unity version is 2021.3.21f1.
The contents of my package.json file are:
{ "name": "com.cycling74.mycustomplugin", "version": "0.0.1", "displayName": "My Custom Plugin", "unity": "2017.1", "licensesUrl": "https://support.cycling74.com/hc/en-us/articles/10730031661587", "dependencies": { "com.cycling74.rnbotypes": "0.0.1" }, "keywords": [ "rnbo", "audio", "native_audio_plugin" ] }
See below if you want to try it with my RNBO patch: