Skip to content

Releases: Live2D/CubismUnityComponents

Cubism 5 SDK for Unity R5

02 Apr 02:35
c598e36

Choose a tag to compare

Added

  • Added Cubism Core for ARM64 iOS Simulator.
    • See CHANGELOG.md in Core.

Changed

  • Update each model's prefab to match environment updates.
  • Change to allow specifying AnimatorController in scenes under Assets/Live2D/Cubism/Samples/AsyncBenchmark.
  • Change to explicitly set texture sampler settings.
  • Change the version of the development project to 6000.0.68f1.
  • Change to work with the Input System package.
  • Change property names related to multiply color and screen color.

Fixed

  • Fix an issue in URP where Cubism models could not be picked in the Scene View.
  • Fix an issue in URP where selected Cubism models were not highlighted with an outline in the Scene View.
  • Fix an issue where the scaling reference position was set to the center of the rendering area.
  • Fix incorrect quaternion composition in CubismRenderer.
  • Fix an issue where the model would disappear when regaining Editor focus if Run In Background was disabled.
  • Fix an issue where the import process would run for models imported under the StreamingAssets folder. by @redwyre
  • Fix an issue where the Koharu model used in scenes under Assets/Live2D/Cubism/Samples was outdated.
  • Fix an issue where CubismPartColorsEditor was using incorrect flags for determination.
  • Fix an issue where the re-import process for a model did not support increasing or decreasing parameters and other elements.
  • Fix CubismImporterBase.Save so that it no longer performs a reimport when saving.
  • Fix the importer to import motion3.json first, followed by model3.json, and then all other assets.
  • Fix PoseMotionImporter processing to accommodate the new import order.
  • Fix an issue where specifying an override in CubismParameterExtensionMethods.BlendToValue() caused the applied value to be the current value of that parameter. by @LoS-Light
  • Fix an issue where offscreen rendering of models was not functioning correctly with Z Buffer in Reversed Z environments.

Cubism 5 SDK for Unity R5 beta3

08 Jan 02:47
cd8058a

Choose a tag to compare

Added

  • Add scripts and assets for using the Universal Render Pipeline and custom render passes to Assets/Live2D/Cubism/Rendering/URP.
  • Add a feature to allow rendering of arbitrary objects before and after the rendering of model draw objects.
  • Add CubismLookCenterTransform and CubismLookCenterArtMesh to allow setting the look-at center using either a Transform or an ArtMesh.

Changed

  • Change to work based on the Universal Render Pipeline.
    • Built-in Render Pipeline and High Definition Render Pipeline are not supported.
      • Cubism 5 SDK for Unity R4_1 and its derivative packages will be maintained as Built-in Render Pipeline compatible versions.
        • Models and features from Cubism 5.3 and later cannot be used.
    • The use of custom render passes is required.

Fixed

  • Fix an issue where ReleaseStaleRenderTextures() could release RenderTexture in use depending on the timing of its invocation.
  • Fix an issue where the texture settings were not as intended when imported.
  • Fix an issue where look-at tracking was misaligned when using CubismLookController.
  • Fix an issue where the Koharu model's .model3.json was missing references to .motion3.json.
  • Fix Koharu's corrupted .motion3.json files.
  • Fix an issue where Raycast was functional even when CubismRaycastable was inactive.

Removed

  • Remove unused shaders and materials.
  • Remove Assets/Live2D/Cubism/Rendering/CubismCommonRenderFrameBuffer.cs and Assets/Live2D/Cubism/Rendering/ArrayExtensionMethods.cs.
  • Remove Assets/Live2D/Cubism/Rendering/Resources/Live2D/Cubism/Prefabs/ModelCanvas.prefab.
  • Remove scripts and related processes under Assets/Live2D/Cubism/Rendering/Masking and Assets/Live2D/Cubism/Samples/Masking.
    • Remove Assets/Live2D/Cubism/Editor/Inspectors/CubismMaskControllerInspector.cs, Assets/Live2D/Cubism/Editor/Inspectors/CubismMaskTextureInspector.cs, and Assets/Live2D/Cubism/Rendering/Resources/Live2D/Cubism/GlobalMaskTexture.asset accordingly.
    • Mask processing has been integrated into CubismRenderer.

Cubism 5 SDK for Unity R5 beta2

14 Oct 02:34
4e0c106

Choose a tag to compare

Changed

  • Change to a method where RenderTexture for offscreen is pre-created in small numbers and reused.
  • Change the version of the development project to 6000.0.58f2.

Fixed

  • Fix an issue where objects were not rendered when redisplayed.
  • Fix an issue where offscreen was not affected by OverrideFlagForModelMultiplyColors and OverrideFlagForModelScreenColors.
  • Fix an issue where collision detection remained active even when the collision detection Drawable was hidden.
  • Fix an issue where pressing the reset button in the CubismParametersInspector would revert to the state before the reset when running the scene.
  • Fix a bug that hit detection does not match the model’s visual appearance.
  • Fix a bug that the model may be partially clipped when rendered.
  • Fix the size of models using features introduced in Cubism 5.3 differed from models created in prior to Cubism 5.3.
  • Fixed an issue where models for Cubism 5.3 were not rendered correctly in environments where UNITY_REVERSED_Z is enabled.

Cubism 5 SDK for Unity R5 beta1

26 Aug 02:41
21ae7d1

Choose a tag to compare

Added

  • Add support for Blend mode and Offscreen drawing.
    • If the model uses blend mode or offscreen drawing, it will be rendered using a new drawing method that differs from Cubism 5.2 and earlier.
  • Add high-precision mask method.
    • This is only available with the new rendering method in Cubism 5.3 and later, and masks in the new rendering method from Cubism 5.3 onward will automatically use this method.

Changed

  • Change the version of the development project to 6000.0.55f1.
  • Change _isOverriddenDrawableScreenColors and _isOverriddenDrawableMultiplyColors to _isOverriddenDrawObjectScreenColors and _isOverriddenDrawObjectMultiplyColors.
    • The property names that use these backing fields have also been updated accordingly.
    • Serialization of _isOverriddenDrawableScreenColors and _isOverriddenDrawableMultiplyColors is maintained by the FormerlySerializedAs attribute.

Removed

  • Remove CubismCoreDll.GetDrawableRenderOrders and CubismUnmanagedDrawables.RenderOrders.
    • If you need to use these functions, please use CubismModel.AllDrawObjectsRenderOrder instead.
      • See CHANGELOG.md in Core.
  • Remove Chrome OS from the tested environment.

Cubism 5 SDK for Unity R4_1

17 Jul 03:09
ca8babb

Choose a tag to compare

Changed

  • Implement support for Android 16KB page size.

Fixed

  • Fix a bug that prevented builds from working under certain settings.

Cubism 5 SDK for Unity R4

29 May 02:46
55c48dd

Choose a tag to compare

Added

  • Add an empty AnimatorController at the same hierarchy level as each model's Prefab.
  • Add an API to CubismMotionJson for verifying the consistency of motion3.json. by @pillowtrucker
  • Add parameter repeat processing that connects the right and left ends of the parameter to create a loop, allowing the motion to repeat.
    • Add the variable _isOverriddenParameterRepeat to the CubismModel class for managing parameter repeat flags at the model level.
    • Add variables _isOverriddenUserParameterRepeat to the CubismModel class and _isParameterRepeated to the CubismParameter class for managing parameter repeat flags for each parameter.

Changed

  • Change the version of the development project to 2022.3.59f1.
  • Change CubismMath class not to inherit from MonoBehaviour.
  • Change CubismMoc._bytes not to be displayed in Inspector.

Fixed

  • Fix CubismPhysicsController to be in the correct disabled state.
  • When performing a Reimport Fixed a problem that .cdi3.json updates were not reflected in CubismDisplayInfoParameterName,CubismDisplayInfoPartName.
  • Fix a problem in which the slider of CubismParametersInspector and CubismPartsInspector in the Inspector window did not move when operated.
  • Fix a bug that CubismParametersInspector and CubismPartsInspector do not display the names of parameters and parts if .cdi3.json is not set on the model.
  • Fix CubismParameterInspector and CubismPartInspector can be operated in play mode.
  • Fix a bug that prevented MotionFade fade-out from working properly.
  • Fix unnecessary processing in CubismFadeController.
  • Fix so that end events are sent for all clips played by CubismMotionController.
  • Fix an error that occurred when playing a expression that uses parameters that do not exist in the model.

Cubism 5 SDK for Unity R3

28 Nov 03:12
5260831

Choose a tag to compare

Added

  • Add processing to parse CombinedParameters from .cdi3.json file.
    • Also add CubismDisplayInfoCombinedParameterInfo component to store this information.
  • Add AnimationBeganHandler, which calls a function when the motion playback starts, to both CubismMotionController and CubismMotionLayer.
  • Add the definition of the function GetLogFunction to CubismCoreDll.

Changed

  • Change OnGeneratedCSProjectFiles function to be disabled in Unity 2017.3 and later by @moz-moz
  • Change to a single function The initialization process in CubismModel class. by @KT
  • Change to optimize update process for Multiply Color and Screen Color.
  • Change argument type of CubismMotionLayer.AnimationEndHandler and CubismMotionController.AnimationEndHandler to match the current usage.
  • Move the definition of csmSetLogFunction from CubismLogging to CubismCoreDll and rename to SetLogFunction.
  • Raycast processing now supports 3D intersection determination.
  • In the AsyncBenchmark scene and AutomaticAsyncBenchmark, changed it so that asynchronous processing is not performed in WebGL.

Fixed

  • The fade in and fade out functionality has been improved to better maintain compatibility with other CubismSDK implementations.
  • Fix an issue in which when the number of textures for masks was increased, masks were not generated for the increased number of textures from the time of execution.
  • Fix an issue that caused an error when parsing Json if the name of the model had certain characters.
  • Fix the condition for setting the fade-out end time for Expression.

Cubism 5 SDK for Unity R2

04 Apr 02:35
97cf812

Choose a tag to compare

Added

  • Add HarmonyOS NEXT from the tested environment.

Fixed

  • Fix an issue where the Allow 'unsafe' Code property was not enabled in the Live2D.Cubism.asmdef.

Cubism 5 SDK for Unity R1

26 Mar 02:37
9f1012b

Choose a tag to compare

Added

  • Add CubimMath class in namespace Live2D.Cubism.Framework.Utils.
  • Add function ModF() to compute floating-point remainder in CubismMath class.

Changed

  • Change the message to output the latest Moc version supported by the CubismCore when the .moc3 file fails to load correctly.
  • Change the version of the development project to 2021.3.36f1.

Deprecated

  • The ToIndex() and ReturnTiles() functions of the CubismMaskTilePool class are not used.

Fixed

  • Fix fade calculation bug in MotionFade.
  • Fix a bug in which masks were not generated correctly when using multiple render textures and displaying two or more models.
  • Fix an issue where normal processing could not be performed when CubismMaskTilePool.Subdivisions is less than 1.

Removed

  • Remove CubismWebGLPluginProcessor.cs.
  • This change is due to the removal of Cubism Core built with Emscripten 1.38.48.
  • See CHANGELOG.md in Core.

Cubism 5 SDK for Unity R1 beta4

18 Jan 03:12
0f4be3f

Choose a tag to compare

Added

  • Add CubismDrawableInspector and parent Part display.
  • Add CubismPartInspector to show parent and descendant trees.
  • Add expression to check for index out of range with CubismRenderer.OnMaskPropertiesDidChange().

Changed

  • Change CubismPartsInspectorInspector to be hierarchical.

Fixed

  • Fix an issue where models with a specific number of masks could not be drawn correctly.