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 forum.
※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
[INFORMATION](6/25/2024)
Cubism Editor 5.1.00 beta1 is now available!

We have incorporated some of the feedback we received from those who tried the alpha version.
Thank you very much for your comments and requests!
All alpha versions will soon be closed to the public and will no longer be available.
Also, the Cubism Editor 5.1 alpha category will be closed, so please send your comments and requests to the Cubism Editor category.
Options

Unity SDK reset prefab in git branch change or pull

greetings

I have a problem that has caused us many headaches when using the live2d SDK in Unity.

The prefab that is generated when importing the model requires additional elements such as c# scripts, colliders, etc. to be used in our project. no problem so far.

The problem comes when using git, since the changes made to the prefab are lost when someone else downloads them through a "git pull", if an additional script or a collider was added etc etc it disappears.

This problem also occurs with local branches, that is, if I move from branch A to branch B (with the changes from branch A already saved in a local and remote commit) and then return to branch A, the changes disappear from branch A


before a git pull or branch move:



after a git pull or branch move:

NOTE: The change of the commit is a change not related with the model or even the same scene
- It may be related to the import process when opening the Unity project, since this occurs whenever this process starts when a project is opened or when the branch change is made.
https://ibb.co/JKdggBr
- I have the following options unchecked
https://ibb.co/KxcBGJY

after a git pull or branch move:
https://ibb.co/Br7vzVX - objects and setter values ​​in the script have disappeared

Thanks in advance for any assistance


Comments

Sign In or Register to comment.