I’m on Unity 2020.3.12f
I have a custom native plugin to render and I am trying to load RenderDoc.
This results in a crash in my plugin from the OnRender() code path, probably because the device is no longer valid.
Should I expect to receive a UnityPluginUnload() call before this point?
Or a call to OnGraphicsDeviceEvent(kUnityGfxDeviceEventShutdown)?
I have attached a debugger and I am not able to catch these calls.
I’ve moved this question to the Graphics part of the forum.