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
[Notice of Holidays]
Please note that our staff will not be available from 2024/Dec/28 - 2025/Jan/5 JST.
The Live2D Creators Forum will remain open during the holidays.
Submissions that require a response will be answered after we reopen for business.
Please note that it will take longer than usual to respond to your request.

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.