Released 2022-08-26
Upgrade Guide
To upgrade an existing project from an earlier version of Weaver:
- See the Weaver v6.0 Upgrade Guide if you are upgrading from a version older than that.
- Move your
WeaverSettingsasset out of the Weaver folder (Assets/Plugins/Weaver/Weaver Settings.asset by default). - Delete the previous version of Weaver (Assets/Plugins/Weaver by default).
- Import the new version of Weaver.
- You can move the
WeaverSettingsasset back into the Weaver folder if you want to, but it's not necessary.
Changes
- Disabled the "Multiple types with the name .." warning for procedural scripts that aren't active.
- Demoted exceptions in
InjectorScriptBuilderto warnings so that a build can proceed even if the script can't be found. - Fixed
CachedTypeInfo.FindExistingTypeto search through all assemblies in case the procedural scripts are put inside an Assembly Definition. - Fixed
AssetGeneratorWindowto not accumulate multiple copies of assets to generate. - Fixed injection initialization to occur after the
AssetDatabaseis actually ready to load assets so it doesn't incorrectly create a duplicateWeaverSettingsasset.