Fix some VMD export issues and some other changes (#100)

* Bug fix, improved UI layout and live vocals

* Bug Fixes, New Live Compatibility

* Android build support

* Update build.yml

* Fix issues with the new version of the game

* bug fix

* add config button

* Improve performance

* Sync fork

* bug fix, new uma compatibility

* Add /UserSettings to gitignore

* bug fix, add live characher shader control

* fix compilation errors

* fix compilation errors 2

* fix the live lighting calculation logic

* bug fix, add editor layout settings to gitignore

* bug fix, add editor layout settings to gitignore

* Add time scale keys for live

* live camera bug fix

* add live stage control, optimize live performance

* fix build error

* add uma head custom

* Add tiptoes rotation for VMD export

* Add a save path prompt when exporting VMD files.

* Remove the debug code for body dragging.

* Remove unused physics components to improve performance.

* Fix incorrect VMD exports for loop animations
Fix VMD motion errors during repeated recordings
Fix ghost bone persistence after multiple recordings

* Revert "Remove unused physics components to improve performance."

This reverts commit 7a1ae7f7d13d05380f9215b653d1c6719303a458.

* Reapply "Remove unused physics components to improve performance."

This reverts commit fe4c05f6942198864ca06e25f17a11440961040d.

* fix https://github.com/katboi01/UmaViewer/issues/95

* live timescale bug fix

* bug fix for skin and tail textures in live

* bug fix for skin and tail textures in live (2)

* fix https://github.com/katboi01/UmaViewer/issues/108

* message ui bug fix
This commit is contained in:
CroakFang
2025-08-01 02:43:45 +08:00
committed by GitHub
parent 956bbdb6d2
commit 009f142f5b
11 changed files with 436 additions and 241 deletions
+6 -4
View File
@@ -150,6 +150,7 @@ public class UmaViewerBuilder : MonoBehaviour
if (asset == null)
{
Debug.LogError("No body, can't load!");
UmaViewerUI.Instance?.ShowMessage("No body, can't load!", UIMessageType.Error);
return;
}
else if (genericCostume)
@@ -271,7 +272,7 @@ public class UmaViewerBuilder : MonoBehaviour
}
}
if (tailId != 0)
if (tailId > 0)
{
string tailName = $"tail{tailId.ToString().PadLeft(4, '0')}_00";
string tailPath = $"3d/chara/tail/{tailName}/";
@@ -373,6 +374,7 @@ public class UmaViewerBuilder : MonoBehaviour
if (asset == null)
{
Debug.LogError("No body, can't load!");
UmaViewerUI.Instance?.ShowMessage("No body, can't load!", UIMessageType.Error);
return;
}
else if (genericCostume)
@@ -489,7 +491,7 @@ public class UmaViewerBuilder : MonoBehaviour
}
}
if (tailId != 0)
if (tailId > 0)
{
string tailName = $"tail{tailId.ToString().PadLeft(4, '0')}_00";
string tailPath = $"3d/chara/tail/{tailName}/";
@@ -568,6 +570,7 @@ public class UmaViewerBuilder : MonoBehaviour
if (asset == null)
{
Debug.LogError("No body, can't load!");
UmaViewerUI.Instance?.ShowMessage("No body, can't load!", UIMessageType.Error);
return;
}
else if (isGeneric)
@@ -636,7 +639,7 @@ public class UmaViewerBuilder : MonoBehaviour
umaContainer.LoadHead(asset);
}
if (tailId != 0)
if (tailId > 0)
{
string tailName = $"mtail{tailId.ToString().PadLeft(4, '0')}_00";
string tailPath = $"3d/chara/mini/tail/{tailName}/";
@@ -750,7 +753,6 @@ public class UmaViewerBuilder : MonoBehaviour
Director.instance.InitializeTimeline(characters, UI.LiveMode);
Director.instance.InitializeMusic(live.MusicId, characters);
Director.instance.Play();
LiveViewerUI.Instance.RecordingUI.SetActive(Gallop.Live.Director.instance.IsRecordVMD);
});
});
}