When you hotReload a plugin that has capability added (no static fields, initiated in Load, not at variable aswell) and you have a consumer plugin, when you hotReload the provider, it won't delete the capability, which results in that if you reload the user plugin aswell, it still use the functions which are NOT loaded in form of plugin.
Reproduce steps
Create a List or something into provider plugin.
Create a capability to add items to list and get its count.
Add items from consumer with a cmd or so, which use the capability of provider.
Reload provider, then reload consumer.
Use the get size function and you'll see the item count is that which got unloaded due to the hotReload.
Description
When you hotReload a plugin that has capability added (no static fields, initiated in Load, not at variable aswell) and you have a consumer plugin, when you hotReload the provider, it won't delete the capability, which results in that if you reload the user plugin aswell, it still use the functions which are NOT loaded in form of plugin.
Reproduce steps