AnyPortrait > Update Notes > v1.6.0
Update Notes | v1.6.0
(Build April 30, 2025)
Improved Features
1. Mask
- Mask is greatly improved.
- You can freely create and pass masks without the constraints of clipping masks.
- Multiple meshes can create masks targeting a single render texture.
- You can pass render textures and user-defined properties to the target mesh as masks.
- The ability to combine multiple masks is added.
- By applying the mask function, you can create a mask with a normal shader and implement a See-Through effect.
- The "Mask Only Mesh" option is added that does not render and only serves as a mask provider.
- Options to size mask render texture based on screen size are added.
- “v16 Material Presets” are added as the mask feature has been improved. Older materials are classified as “Legacy”. (Link)
Manuals : Mask, Mask and Custom Shader, Combining Masks, Mask Chain, Mask Only Mesh, See-Through Effect
2. Editor Docking
- It is possible to run AnyPortrait editor docked inside the Unity editor layout.
- An issue is fixed where the editor would terminate when "Maximized" while docked.
- An issue is fixed where an error would occur when switching to another scene while the editor was docked.
3. Animation Script Functions
- "TimeLength" and "Duration" properties are added to apAnimPlayData to check the length of the animation, and "GetAnimationTimeLength" and "GetAnimationDuration" functions are added to apPortrait.
- "IsLoop" property are added to apAnimPlayData to check whether the animation is looping, and "IsAnimationLoop" function are added to apPortrait.
- "OnAnimationEnded" event is added to apPortrait to detect when the playing animation ended or reached the last frame.
Manual : Animation Scripts
4. Bake Validation
- Automatic validation of key Bake options is added that need to be set to match the project environment, such as "Render Pipeline", "Color Space", and "Number of Cameras".
- This feature is added to the Bake dialog, and some UI items are moved to the Settings tab accordingly.
Manual : Bake Validation
- It is improved that "Reserved Properties" used inside AnyPortrait in the "Material Library" are automatically determined based on the shader assets.
- "Description" item is added to the "Material Library".
- "Move Symmetrically" function has been added to the mesh editing screen. (Link)
- A function is added to move the axis to the pivot when editing mirrors in the mesh editing screen.
- Assembly definition (asmdef) files are added so that AnyPortrait scripts are compiled separately.
Fixed Issues
- An issue is fixed where an error related to the render texture would occur when the AnyPortrait editor was too small.
- An issue is fixed where the value of the RGB channel would be affected by the Alpha value when the background color was semi-transparent during screen capture.
- An issue is fixed where the data of keyframes would be initialized and unrecoverable when undoing after deleting the timeline of an animation, etc.
- An issue is fixed where the gizmo would not work when undoing after deleting the timeline of an animation, etc.
- An issue is fixed where all lines connecting existing vertices would disappear when undoing after adding vertices in the mesh editing screen.
- An issue is fixed where undoing after creating a new character or Bake would not be performed properly.
- An issue is fixed where a strange image was output to the upper left of the workspace in Unity 2022 or earlier.
- An issue is fixed where an error log related to the command buffer occurred when running with URP in Unity 6.
- An issue is fixed where some list UIs, such as Add Timeline and Add Modifier, were output awkwardly in Unity 6.
- An issue is fixed where the UI for copying and pasting vertices of a mesh was output somewhat small in Unity 2023 or later.
- An issue is fixed where the initial Alpha would be 0 when adding a new key depending on the editor settings when editing the "Color Only (Controller)" modifier.
- An issue is fixed where the brush icon in the rigging edit screen would scale up/down with the screen zoom.
- An issue is fixed where the editor would not be able to edit modifiers due to an error when deleting a mesh registered to a Rigging or Physics modifier and then restarting it immediately.
Developer Comments
- "Custom Shader" manual is updated with the addition of mask functionality. (Link)
- The order and classification of pages in the manual have changed.
- "Linear Color Space" manual is updated. (Link)
- "High-quality image asset" manual is updated. (Link)
- A “Warning about Single Pass” has been added to the manual regarding VR settings. (Link)
- A note regarding mesh group settings is added to the "Re-importing a PSD File" manual. (Link)
The key change in this update is the "Mask" feature.
It was developed with the goal of solving the limitations of the existing "Clipping Mask" and allowing users to flexibly create and transmit mask data.
Contrary to our initial expectations, implementing this feature required re-examining and modifying almost all of AnyPortrait's rendering-related code.
This process took too much time.
We apologize to those who have been waiting.
This version also adds the "Bake Validation" feature.
With the release of Unity 6, the default project template's render pipeline has been changed to "URP", unlike before.
Because of this, those who started Unity with Unity 6 often contacted us in great confusion when they encountered rendering issues and were unable to find the cause.
Because of compatibility issues, "URP" had to be provided only as an optional feature, so to solve this problem, we introduced a method to check the validity of the Bake option and provide guidance.
The items to be validated were determined based on user feedback.
We hope this feature will be helpful to beginners.
In addition, among various issues, a critical issue where data becomes unrecoverable when "Undo" is performed has been fixed.
This issue was caused by our ignorance of Unity's characteristic of duplicating data to a different memory address when list-type data is "Undone" and its length changes.
After confirming this characteristic, we have strengthened the stability of the "Undo" code.
However, we believe that the performance of "Undo" has been somewhat reduced due to this.
We will continue to monitor this issue and seek a good solution.
We would like to thank everyone who gave us great feedback in developing this version.
We will continue to improve the tool to help you with your creative work.
Thank you.