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
WeaverSettings
asset 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
WeaverSettings
asset 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
InjectorScriptBuilder
to warnings so that a build can proceed even if the script can't be found. - Fixed
CachedTypeInfo.FindExistingType
to search through all assemblies in case the procedural scripts are put inside an Assembly Definition. - Fixed
AssetGeneratorWindow
to not accumulate multiple copies of assets to generate. - Fixed injection initialization to occur after the
AssetDatabase
is actually ready to load assets so it doesn't incorrectly create a duplicateWeaverSettings
asset.