[SOLVED] Unity Plugin Editor not showing


// edit :

SORRY, posted too early,… I added one Slider Component to my GUI and now everything is fine and the GUI shows up. So first I figured that might be a bug, so I commented everything in my PluginEditor out again and restored the Hello World part, and then that worked too… so no idea what fixed it but all is good now.

//original post:

I’m super excited about the new Unity Plugin export target and just built a first little test plugin. Audio works, my Parameters show up, so far so good.

But the PluginEditor doesn’t seem to load in UnityEditor. I didn’t do anything fancy as far as the GUI goes, it’s just “Hello World” in the paint method for now. AudioProcessor::hasEditor() returns true (and obviously Standalone and VST/AU Plugin Builds show the proper PluginEditor).

But Unity is still just showing me the standard Unity sliders in the Editor instead of the “Hello World” window. Am I missing something important?

1 Like

I have the same problem here (plugin is loaded with the default unity parameter editor UI)…

This trick didn’t solved it for me…

I followed the steps described here, both with a new plugin project, and with the AudioPluginDemo example without success (on MacOS with Juce 5.4.2 / Unity 2018.3.5f1)

Maybe I’m also missing something important here ?

Ok, I just moved the C# script associated with the plugin (the one that is generated by Juce) from the inside to the outside of the bundle, and the editor magically showed up :blush: !
It seems that it was not recognized by Unity the first time… weird…

Hello all,

Trying to put [https://docs.juce.com/master/tutorial_audio_processor_graph.html](this plugin) into unity, I find myself in the same situation.

I moved the .cs file outside of the plugin folder, without success

Can anyone succeed to port this plugin into Unity

Thanks !