NativePluginLoader doesn't seem to work for loading native rendering extensions. DLL loading etc. works fine but OnGraphicsDeviceEvent is never called.
I don't know enough about Unity internals to know why DllImport works and loading the DLL dynamically doesn't, I assume it gives Unity enough metadata for reflection to realize that the script is loading a plugin and registers the callbacks.
Is this something you've tried?
NativePluginLoader doesn't seem to work for loading native rendering extensions. DLL loading etc. works fine but
OnGraphicsDeviceEventis never called.I don't know enough about Unity internals to know why DllImport works and loading the DLL dynamically doesn't, I assume it gives Unity enough metadata for reflection to realize that the script is loading a plugin and registers the callbacks.
Is this something you've tried?