Howdy, Stranger!

It looks like you're new here. Sign in or register to get started.

If you have any questions, reports, suggestions, or requests about Live2D, please send them to this community.
※We cannot guarantee statements or answers from Live2D staff. Thank you for your understanding in advance.
 
Live2D Cubism
Cubism Products and Downloads
Cubism product manuals and tutorials
Cubism Editor Manual    Cubism Editor Tutorial    Cubism SDK Manual    Cubism SDK Tutorial
Live2D user has created a tutorial video(unoffilcial) in English. SEE ALSO.
Thank you, brian_tsui!
[Live2D Tutorial 2020] Introduction to Tools and Technical Concepts
"[NOTICE]" About the support for Mac models
Cubism Editor is not supported with Apple M1 processors.
Please refer to System Requirements for details.
We will not respond to any related inquiries with this message.
[INFORMATION] (5/19/2022)
Cubism Editor 4.2 beta1 and SDK R5 beta1 are now available!

Cubism Editor 4.2 beta1 includes many new features that expand the range of expression even further than 4.1.
Cubism SDK R5 beta1 also supports some of the new features in Cubism Editor 4.2!

The 4.2alpha category will be closed at the end of May. Currently, it is for browsing only.
If you have any comments or requests for 4.2 beta1 or later, please send them to Cubism Editor category .
The alpha version of the Editor will be available until the end of June, but we recommend you to move to the beta version when you use it.

Model animates in Unity editor... but not in build or editor's full-screen mode?

Hello.
The SDK version I am using is CubismSdkForUnity-4-beta.2
I am using a script to update my model's parameters at runtime.
It appears to animate the model just fine when I play the project in the Unity editor. But then when I select the "Maximize On Play" button and play the project in the Unity editor, the model does not animate. It also will not animate when I build the project into an executable. It only animates in the Unity editor, and only when the Unity editor is not in "Maximize On Play" mode.



In order to display my model over everything else, I have it attached as a child to a blank (transparent) image that belongs to a canvas, which references the scene's main camera.


My script for manipulating the parameters has an implementation that looks like this (which is in the LateUpdate() function:



I wrote this with help from the instructions here: https://docs.live2d.com/cubism-sdk-tutorials/about-parameterupdating-of-model/#
This works, but only in the Unity Editor. If I build the project, or if I maximize the game preview in the Unity Editor, the script does not have any effect on the model's parameters.
If I print the parameter.Value to the Debug.Log(), I can see that it is still manipulating the parameter:


However, the model on the screen does not reflect these parameter changes, unless I run the game in the Unity Editor without setting the game preview to "Maximize On Play."
Because my script works to update the parameters in the Unity Editor, I wonder if I am missing something that makes it stop working when I "Maximize On Play" or build the project.
I created my model in Live2D Cubism Editor 4.0, and I imported it into my Unity project by following the instructions here: https://docs.live2d.com/cubism-sdk-tutorials/getting-started/#

Comments

Sign In or Register to comment.