Skip to content

[Enhancement] Provide option to exclude plugin libraries from build #482

@noisecrime

Description

@noisecrime

Which platform is your feature request for?

iOS, Android

Description

Would it be possible to add a feature that excludes the copying/inclusion of the plugin libraries when making a build?
Perhaps an option added to the PlayerSettings > AVPro Movie Capture settings?
e.g. a toggle per platform to include plugins, defaulted to true.

The use case of this is that I have a project that requires the client being able to record a video of the app in a standalone version (Win, OSX), but this feature is not offered in the mobile builds with the AVProCaptureCamera prefab is excluded from the scene in those builds, by making the gameObject tag 'EditorOnly'

Currently I use a custom OnPreprocessBuild script with a high callbackOrder value to 'reset' the changes your 'PluginProcessor.cs' script makes for Android. However this is just duplicating the work performed and needlessly increases build duration.

I could customise AVPro's 'PluginProcessor.cs' but that is just additional pain point when updating the asset.

Simply setting the plugin's 'Platforms for plugin' wont work as the 'PluginProcessor.cs' will override them, whenever I try building for Android.

Apricate any consideration you could give to this. Thanks

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions