Skip to content

Releases: anatawa12/AvatarOptimizer

v1.8.3

24 Dec 16:12
Compare
Choose a tag to compare

Version 1.8.3

Installer unitypackage for this version is here.

Fixed

  • Prefab overrides on the scene are reverted on first load of the scene at first launch #1372
  • Animating transform with C# named properties are broken by merge bone #1373
    • Animator window won't create such animation but some script generates and it works surprisingly
  • Errors with blendShapes with exactly same name in a mesh #1374
    • Such mesh can be generated with Autodesk Maya or 3ds Max
    • Unity API denies generating such mesh with C# so AAO will rename such blendShapes to unique name to support.
    • Unity Animator does animate first blendshale only so second shape would generally removed by remove unused blendShapes.

v1.8.3-beta.1

24 Dec 13:36
Compare
Choose a tag to compare
v1.8.3-beta.1 Pre-release
Pre-release

Version 1.8.3-beta.1

Installer unitypackage for this version is here.

This is SNAPSHOT, not a stable release. make sure this may have many bugs.

Fixed

  • Prefab overrides on the scene are reverted on first load of the scene at first launch #1372
  • Animating transform with C# named properties are broken by merge bone #1373
    • Animator window won't create such animation but some script generates and it works surprisingly
  • Errors with blendShapes with exactly same name in a mesh #1374
    • Such mesh can be generated with Autodesk Maya or 3ds Max
    • Unity API denies generating such mesh with C# so AAO will rename such blendShapes to unique name to support.
    • Unity Animator does animate first blendshale only so second shape would generally removed by remove unused blendShapes.

v1.8.2

11 Dec 02:58
Compare
Choose a tag to compare

Version 1.8.2

Installer unitypackage for this version is here.

Added

  • - button for prefab safe set #1368

Fixed

  • Errors with models with UV at very edge #1363
  • Errors if exactly same AnimatorController is specified for multiple playable layers #1366
  • Errors if objects removed by some component is listed on exclusions of Trace and Optimize #1367
  • OverflowException when creating prefab #1369

v1.8.1

01 Dec 03:15
Compare
Choose a tag to compare

Version 1.8.1

Installer unitypackage for this version is here.

Fixed

  • Optimize Texture may break liltoon outline mask #1357

v1.8.1-beta.1

30 Nov 12:46
Compare
Choose a tag to compare
v1.8.1-beta.1 Pre-release
Pre-release

Version 1.8.1-beta.1

Installer unitypackage for this version is here.

This is SNAPSHOT, not a stable release. make sure this may have many bugs.

Fixed

  • Optimize Texture may break liltoon outline mask #1357

v1.8.0

30 Nov 05:07
Compare
Choose a tag to compare

Version 1.8.0

Installer unitypackage for this version is here.

Added

  • AnyState to Entry/Exit optimization in Optimize Animator #1157
    • If AAO found animator layer only with AnyState, AAO tries to convert them to Entry / Exit pattern.
      • Currently due to implementation there are some patterns that can be convert but but not converted.
      • We may relax some restriction in the future.
    • Because we have to check for each condition if we use AnyState but we can check for only one (in best case) with entry/exit, this generally reduces cost for checking an parameter in a state.
    • Combined with Entry / Exit to 1D BlendTree optimization, which is implemented in previous release, your AnyState layer may be optimized to 1D BlendTree.
  • Optimize Texture in Trace nad Optimize #1181 #1184 #1193 #1215 #1225 #1235 #1268 #1278 #1313 #1328 #1338 #1334 #1346
    • Avatar Optimizer will pack texture and tries to reduce the VRAM usage.
    • Currently liltoon is only supported.
  • Copy Enablement Animation to Merge Skinned Mesh #1173
    • This feature copies activeness / enablement animation from merge target renderers to the merged renderer.
    • This feature is not enabled by default. You have to enable it in the inspector.
    • This feature supports copying activeness animation of activeSelf of the GameObjects or ancestors of the GameObjects.
      However, this feature does not work if multiple GameObjects (or both GameObject and Renderer itself) are animated.
    • In addition, this feature will be animate the enabled of the merged renderer, so you must not animate the enabled of the merged renderer.
      • If animations are unsupported, AAO will show an error message and abort the build.
  • Support Read/Write disabled Meshes with Av3Emulator Enabled #1185
    • Previously, AAO cannot process meshes with Read/Write disabled if AAO is triggered by Av3Emulator.
    • Since this release, AAO can process meshes with Read/Write disabled if AAO is triggered by Av3Emulator.
    • In addition, AAO now supports non-Float32 vertex buffers.
      • We still use Float32 internally so Int32 data might lose precision a little.
      • However, AFAIK there is no real-world problem with this so we implemented this way.
      • If you found such a case, please report it.
    • This change make AAO incompatible with Unity without Graphics.
      • If you're building your avatar with batchmode with -nographics, please remove -nographics.
  • Asset Description for Avatar Modify Support bundled in an avatar, Shinano #1189
  • API to get in advance whether a polygon will be removed #1177
  • Rename BlendShape component to rename BlendShapes #1245 #1296
    • This can be used to avoid blendShape name conflicts in Merge Skinned Mesh
  • Invert option for Remove Mesh in Box #1257
    • You now can remove polygons outside of the box instead of inside the box.
    • Along with this new feature, we renamed Remove Mesh in Box to Remove Mesh By Box to make it more clear.
      • This doesn't change the class name of the component since it's already a part of the public API.
  • Remove Mesh By UV Tile, a new way to remove polygons #1263
    • You now easily remove some polygons of models configured for UV Tile Discard.
    • This component removes polygons like UV Tile Discard with Vertex Discard Mode.
  • Automatically remove unnecessary material properties based on shader #1041
    • This feature is added to Remove Unused Objects in Trace and Optimize.
    • When you changed shader for an material, properties for previously used shaders might be remain
    • This may increase your avatar size by unexpectedly including unused textures
  • Right-click menu option to create a new GameObject with a specified component #1290
  • Automatically Merge Blendshape #1300 #1324
    • This is new automatic optimization in Trace and Optimize
    • This is a part of "Optimize BlendShape" optimization.
    • AAO 1.8.0 introduced BlendShape support for Merge Skinned Mesh, but new default mode "Rename to avoid conflicts" would increase number of BlendShape.
    • This feature is added to relax this problem by automatically merging multiple BlendShapes of one Mesh.
    • With this feature, you can use rename mode without performance loss.
  • Fix mode for PhysBone Limits in Merge PhysBone #665 #1336 #1345
    • In addition to existing Copy and Override, we added Fix mode.
    • This mode will try to correct roll axis by rotating bone.
    • This feature allows you to configure the mode for PhysBone Limits in Merge PhysBone.
    • This is useful if all configuration is same but roll axis is different.
  • Automatically merging meshes which have BlendShapes #1308
    • In previous version of Avatar Optimizer, meshes which have BlendShapes are not automatically merged.
    • This was because BlendShape manipulation load is proportional to the number of vertices in Unity 2019.
    • However, in Unity 2020 and later, BlendShape manipulation load is mostly proportional to the number of moving vertices.
    • This means that increasing the number of vertices in a mesh which has BlendShapes does not increase the load of BlendShape manipulation much.
    • Therefore, we decided to automatically merge such meshes.
  • Improved OSC Gimmick Support #1306 #1351
    • We added two information for OSC Gimmick in Asset Description.
    • By defining parameters read / written by OSC Gimmick, your OSC Gimmick no longer breaks.
  • Automatically Merge Material Slot #1334
    • If you have multile material slots with same material, it will be merged automatically.

Changed

  • Skip Enablement Mismatched Renderers is now disabled by default #1169
    • You still can enable it in the Inspector.
    • This change does not affect the behavior of previously added components.
  • Use UInt16 index buffer if possible even when total vertex count is more than 2^16 #1178 #1255
    • With baseVertex in index buffer, we can use UInt16 index buffer even if total vertex count is more than 2^16.
    • Of course, if one submeh references wide range of vertices, we cannot use UInt16 index buffer so we still use UInt32 index buffer in such a case.
  • Reimplement Preview system with NDMF Preview System #1131 #1195 #1218 #1270
    • This will prevent issues relates to Animation Mode bug.
    • This allows you to preview Remove Mesh components without selecting Mesh OR while in Animation Mode.
  • Improved Prefab Safe Set, which are used in MergePhysBone, MergeSkinnedMesh, FreezeBlendShape and more components #1212 #1219 #1221 #1236 #1287 #1294 #1348
    • This should improve compatibility with replacing base prefab, which is added in Unity 2022.
  • Allow multiple component for Remove Mesh components with API #1216 #1218
    • This allows non-destructive tools to add Remove Mesh components even if Remove Mesh component are added before.
  • Animator Parser Debug Window now supports ObjectR...
Read more

v1.8.0-rc.11

29 Nov 07:16
Compare
Choose a tag to compare
v1.8.0-rc.11 Pre-release
Pre-release

Version 1.8.0-rc.11

Installer unitypackage for this version is here.

This is SNAPSHOT, not a stable release. make sure this may have many bugs.

v1.8.0-rc.9

28 Nov 04:15
Compare
Choose a tag to compare
v1.8.0-rc.9 Pre-release
Pre-release

Version 1.8.0-rc.9

Installer unitypackage for this version is here.

This is SNAPSHOT, not a stable release. make sure this may have many bugs.

Fixed

  • NRE if some playabke layer is missing from AvatarDesciptor #1350

v1.8.0-rc.10

28 Nov 13:02
Compare
Choose a tag to compare
v1.8.0-rc.10 Pre-release
Pre-release

Version 1.8.0-rc.10

Installer unitypackage for this version is here.

This is SNAPSHOT, not a stable release. make sure this may have many bugs.

Added

  • Regex mode for OSC Parameters in Asset Description #1351

Removed

  • Prefix, Suffix, and Contains mode for OSC Parameters in Asset Description #1351
    • Please use regex mode instead

v1.8.0-rc.8

17 Nov 05:22
Compare
Choose a tag to compare
v1.8.0-rc.8 Pre-release
Pre-release

Version 1.8.0-rc.8

Installer unitypackage for this version is here.

This is SNAPSHOT, not a stable release. make sure this may have many bugs.

Fixed

  • NRE when saving Prefab with PrefabSafeUniqueCollection #1348