Live2d Unity



  1. Live2d Unity Ui
  2. Live2d Model Lpks
  3. Live2d Unity Parameter
FAQ (frequently asked questions)‎ > ‎Development‎ > ‎Unity‎ > ‎

C# version

Q. Which platform can I use with the C# version?
A.
You can use any platform as long as it corresponds to Unity.
Q. The Live2D model cannot be drawn even after execution.

A.
Because of certain specifications, you cannot call the draw function with Update().
You should call the update or draw function inside OnPostRender() or OnRenderObject() instead.

Q. The range of Collision Detection is shifted a little upward.


Mid 2011 mac mini os upgrade.

A.
This is because of the bug inside the sample code of version 1.0.00.
Please use sample version 1.0.01 instead as we have fixed this aforementioned error.



Q. When exporting the Texture with an actual machine like iPhone, it compresses and sometimes results in an unclear image.

A.
In the inspector, change the 'Format' setting from 'Compressed' to 'Truecolor' in 'Inspector' view to prevent this problem.
After changing the setting to 'Truecolor', the image will be exported as is.

Q. Is it possible to set layers for a Live2D model?
A. Please note that you cannot set layers for a Live2D model because of the specification.
Q. I cannot display the game object with semitransparent material settingsin front of the Live2D model.
A. This is because of the specification of Live2D drawing structure.
To be able to draw semi-transparent materials, try the following method:
With Unity, materials taken by several cameras are composed.Prepare another camera with the setting of 'Clear Flags' as 'Depth only', and make the value of Depth bigger than that of the main camera, then take a picture of what you want to display on the model with the camera.
Or you can use Render Texture, which is offered with Unity Pro version.
It is possible to avoid this problem by displaying the Live2D model with the Render Texture on the game object.
*Added on 22 Nov. 2013.
Refer to following each subject for details.
Q. Is it possible to display a Live2D model in a semitransparent way?
A. It is possible by using Render Texture, which is offered with Unity Pro version.
You can display a model in a semitransparent way by displaying a Live2D model with Render Texture on the game object, and change the setting of transparency of the game object itself.
Q. Is it possible to paint a color on a Live2D model as a whole by multiplication?
A. You can make setting from the function of Live2DModelUnity.getDrawParam().setBaseColor().
Q. The back side of a Live2D model is not displayed.
A. This error is fixed with SDK version 1.0.02.
Or if you do not want to display the back side, add the following command before setting the Texture.
model.setCulling( true );//Validate the culling. (Do not display the back side)
Q. Tell me more about the two Live2D model drawing methods which were added in version 1.0.03_1.
A. Invoke Live2DModelUnity.setRenderMode() just once and pass one of the following as a parameter.
・Live2D.L2D_RENDER_DRAW_MESH_NOW (The default setting value.)

If you use the setting of
Live2D.L2D_RENDER_DRAW_MESH, you can set Layer for a Live2D model.
Pass in the Layer value (the default is 0) to the parameter of Live2DModelUnity.setLayer().
You will now be able to overlap objects over the Live2D model.
*When you use the Live2D.L2D_RENDER_DRAW_MESH setting, make sure that the camera which renders the Live2D model has Projection set to Orthographic.
Q. When I execute Resources.UnloadUnusedAssets(), an error occurs and the model is not displayed.
A. This error is fixed with SDK version 1.0.04_1.

Q. An error occurs during unzipping the downloaded zip file.
A. Errors may occur while unzipping the file if you use Lhaplus as a decompression software.

Live2d Unity

Windows Mac; OS: Windows 8.1, 10 (64-bit version, desktop mode only) macOS v10.12 (Sierra) macOS v10.13 (High Sierra) macOS v10.14 (Mojave) macOS v10.15 (Catalina). UnitySDK uses motion management Unity It is done using Mecanim which is a function. You can visually design a combination of motions in a graphical environment. NativeSDK on the side of Live2D SDK To perform motion management. It will be in the form of direct operation with OWViewer, Pause function We can operate in the form close to 2.1 etc. Cubism 3 SDK for Unity Demo. Texture file is not permitted for commercial purposes. If Unity Editor prints DLLNotFoundException: Live2DCubismCore.dll, Follow these steps: Copy 'Live2DCubismCore.dll', which locates at 'AssetsLive2DCubismPluginsWindowsx8664 or x86' Paste the dll file in Unity Editor folder.

Live2d

Live2d Unity Ui

Live2d unity motion

Live2d Model Lpks

Live2d

Live2d Unity Parameter

FAQ (frequently asked questions)‎ > ‎Development‎ > ‎Unity‎ > ‎

C# version

Q. Which platform can I use with the C# version?
A.
You can use any platform as long as it corresponds to Unity.
Q. The Live2D model cannot be drawn even after execution.

A.
Because of certain specifications, you cannot call the draw function with Update().
You should call the update or draw function inside OnPostRender() or OnRenderObject() instead.

Q. The range of Collision Detection is shifted a little upward.


A.
This is because of the bug inside the sample code of version 1.0.00.
Please use sample version 1.0.01 instead as we have fixed this aforementioned error.

Download xcode offline.
Xcode cannot be installed on macintosh hd.


Q. When exporting the Texture with an actual machine like iPhone, it compresses and sometimes results in an unclear image.

A.
In the inspector, change the 'Format' setting from 'Compressed' to 'Truecolor' in 'Inspector' view to prevent this problem.
After changing the setting to 'Truecolor', the image will be exported as is.

Q. Is it possible to set layers for a Live2D model?
A. Please note that you cannot set layers for a Live2D model because of the specification.
Q. I cannot display the game object with semitransparent material settingsin front of the Live2D model.
A. This is because of the specification of Live2D drawing structure.
To be able to draw semi-transparent materials, try the following method:
With Unity, materials taken by several cameras are composed.Prepare another camera with the setting of 'Clear Flags' as 'Depth only', and make the value of Depth bigger than that of the main camera, then take a picture of what you want to display on the model with the camera.
Or you can use Render Texture, which is offered with Unity Pro version.
It is possible to avoid this problem by displaying the Live2D model with the Render Texture on the game object.
*Added on 22 Nov. 2013.
Refer to following each subject for details.
Q. Is it possible to display a Live2D model in a semitransparent way?
A. It is possible by using Render Texture, which is offered with Unity Pro version.
You can display a model in a semitransparent way by displaying a Live2D model with Render Texture on the game object, and change the setting of transparency of the game object itself.
Q. Is it possible to paint a color on a Live2D model as a whole by multiplication?
A. You can make setting from the function of Live2DModelUnity.getDrawParam().setBaseColor().
Q. The back side of a Live2D model is not displayed.
A. This error is fixed with SDK version 1.0.02.
Or if you do not want to display the back side, add the following command before setting the Texture.
model.setCulling( true );//Validate the culling. (Do not display the back side)
Q. Tell me more about the two Live2D model drawing methods which were added in version 1.0.03_1.
A. Invoke Live2DModelUnity.setRenderMode() just once and pass one of the following as a parameter.
・Live2D.L2D_RENDER_DRAW_MESH_NOW (The default setting value.)

If you use the setting of
Live2D.L2D_RENDER_DRAW_MESH, you can set Layer for a Live2D model.
Pass in the Layer value (the default is 0) to the parameter of Live2DModelUnity.setLayer().
You will now be able to overlap objects over the Live2D model.
*When you use the Live2D.L2D_RENDER_DRAW_MESH setting, make sure that the camera which renders the Live2D model has Projection set to Orthographic.
Q. When I execute Resources.UnloadUnusedAssets(), an error occurs and the model is not displayed.
A. This error is fixed with SDK version 1.0.04_1.

Q. An error occurs during unzipping the downloaded zip file.
A. Errors may occur while unzipping the file if you use Lhaplus as a decompression software.