Commit Graph

181 Commits

Author SHA1 Message Date
bd_
685e690d3a
fix: workaround issues with double-Armature hack (#436)
fixes: #308
2023-09-15 21:00:08 +09:00
bd_
6cbcde05f4
fix: avoid name collisions in setup outfit (#435)
The human avatar mapping system seems to use bone _names_ rather than full
_paths_ to identify bones. When the avatar armature and an outfit armature
are both present under the avatar root, this can result in misidentification
of outfit bones as avatar bones on the avatar animator. This in turn results
in issues with Bone Proxy's editor-side tracking logic.

This change adjusts setup outfit to ensure that there is always a prefix
and/or suffix set, renaming bones if necessary.

Note that this does not fully use outfit human avatar data to map bones yet;
this is mostly intended as a patch to resolve the issues that have been
reported recently, particularly around the stricter validations in SDK
3.3.0.
2023-09-14 21:33:22 +09:00
bd_
ebda9cf7d5
fix: fixup expressions menus to avoid validation errors (#434)
This change scales oversized expression menu items, and redacts undefined
parameters to avoid hard-to-diagnose build errors.
2023-09-14 21:24:20 +09:00
anatawa12
c8e535cd7e
fix: Animator can cache incorrect humanoid bone mappings (#431)
When multiple bones with the same name exist in the initial hierarchy, the root Animator
can cache (prior to MA execution) bones that will later be deleted or renamed due to MA
action. While this isn't persisted to the avatar asset bundle, it can result in validation failures
blocking upload. To resolve this, invalidate this cache late in MA execution.
2023-09-14 19:28:49 +09:00
bd_
eecac2350e
fix: improve handling of scale correction when root bone is null (#425) 2023-09-08 20:32:03 +09:00
bd_
f9c19c6d67
fix: automatic bounds does not account for armature scale (#423) 2023-09-08 19:59:26 +09:00
bd_
b6537da650
ui: improve setup outfit usability (#422)
Show a descriptive error when setup outfit fails (fixes #415).
Use HeuristicBoneMapper to fuzzy-match hips (fixes #414)
2023-09-08 19:42:16 +09:00
bd_
75fe74da53
fix: non-unit scale armatures result in incorrect constraint behavior (#421) 2023-09-08 18:44:09 +09:00
bd_
b155202714
fix: incorrect scaling for Visible Head Accessory (#412) 2023-09-03 18:10:17 +09:00
bd_
8da1c9d3be
fix: issues preventing error log from being displayed in some cases (#409) 2023-08-28 21:25:17 +09:00
anatawa12
39da3b6742
chore: remove all components with missing script (#404)
* chore: remove all components with missing script
* Traverse disabled gameobjects when purging missing scripts

Co-authored-by: bd_ <bd_@nadena.dev>
2023-08-22 18:50:08 +09:00
anatawa12
6591f35a78
fix: missing references when VPM resolver is not present
* chore: configure overrideReferences false and referenced dlls

* chore: clear unused using

* chore: remove unused meta file

* fix: missing reference
2023-08-22 18:44:02 +09:00
bd_
0335c31725
fix: issues with build failures when there are duplicate object paths (#398) 2023-08-20 14:15:10 +09:00
bd_
5a5142bf62 chore: improve null checks in FixupAnimatorDebugData 2023-08-20 13:23:03 +09:00
bd_
8471a3134d chore: Add missing metafile 2023-08-19 16:26:20 +09:00
bd_
c48ef9be0e
feat: disregard digits in heuristic bone mapper (#393)
Closes: #387
2023-08-13 21:36:50 +09:00
bd_
06a473eaec
fix: menu installer GUI selection window is broken (#392)
Fixes #391
2023-08-13 21:36:04 +09:00
bd_
2fe0f45873
fix: replace object UI doesn't allow the target to be set (#378)
Fixes: #377
2023-08-06 19:33:04 +09:00
bd_
fedf07c5c7
feat: add a feature to unpack generated assets to separate files (#376) 2023-08-06 19:24:53 +09:00
bd_
3044969454 fix: issues with menu generation (#371)
* chore: adding unit tests for #366 and #326

* fix: duplicate submenu controls not generated for multiple installers

When multiple installers referenced the same expressions menu asset,
only one submenu control would be generated.

* fix: submenus incorrectly deduping across different postprocessing contexts

Fixes: #366, #326

* fix: postprocess context not being inherited into submenus (#326)

This caused issues where parameter mappings were not being applied to
submenus.
2023-08-04 21:45:07 +09:00
bd_
333d4e8a95 chore: fix perf issues with new asset saving logic 2023-08-04 20:23:56 +09:00
anatawa12
6cb59f5fea fix: MA is not performed in Awake if enter playmode settings is enabled 2023-08-03 21:13:17 +09:00
bd_
abdbecf26f fix: attempting to add scene assets to avatar asset 2023-08-02 22:54:30 +09:00
bd_
0f2895c14e fix: serialization GC not recursing into scriptable objects 2023-07-31 21:05:35 +09:00
bd_
9138205ace fix: hands mask not set when merging if the initial configuration used the default
Fixed: #349
2023-07-30 21:05:13 +09:00
bd_
8aba9d4cc7 fix: adjust processing order for Mesh Settings
Closes: #354
2023-07-30 21:05:04 +09:00
bd_
c10a2de7de chore: hopefully fixing CI issues 2023-07-30 02:32:57 +09:00
bd_
9609328cf0 ui: implement replace object UI and add screenshots to docs 2023-07-30 02:32:57 +09:00
bd_
4240a4f4cf feat: add the Replace Object component 2023-07-30 02:32:57 +09:00
bd_
7ce6d93083 chore: automatically save assets referenced at the end of processing 2023-07-30 01:52:54 +09:00
bd_
dec90cb6ca chore: use binary serialization for generated assets
Thanks to @anatawa12 for the suggestion
2023-07-30 01:52:54 +09:00
bd_
806841481c chore: remove a noisy debug log 2023-07-30 01:52:48 +09:00
bd_
51b73fec72 feat: add support for unmangled names and nested merging in MergeArmature 2023-07-30 01:44:53 +09:00
bd_
5231b75055 chore: fix warnings 2023-07-30 01:44:53 +09:00
bd_
21373e13bc chore: fix warnings 2023-07-30 01:42:20 +09:00
bd_
05ed734438 fix: build fails when already-registered subassets are installed as replacement clips 2023-07-29 18:14:47 +09:00
Narazaka
35bcdf9e45 fix #355 2023-07-22 14:32:55 +09:00
AoiKamishiro
0e2dd7197d
ボーンが存在しないSkinnedMeshRendererでRootBoneを設定すると描画位置がずれる問題の修正 (#345)
* Fixed a bug when setting RootBone in SkinnedMeshRenderer with 0 bones.

Co-authored-by: AoiKamishiro <aoi.kamishiro@kamishiro.online>
2023-06-23 19:57:20 +09:00
anatawa12
69dbab616f
chore: remove meta file for empty folder
empty folders are not tracked by git so such a meta file will be removed by unity on loading
2023-06-19 21:58:03 +09:00
bd_
90811f3e55
Merge pull request #341 from bdunderscore/bone-mappings
fix: add some heuristic bone mappings
2023-06-19 20:29:19 +09:00
bd_
085c19cf1b
Merge pull request #340 from bdunderscore/velo-magnitude
fix: add VelocityMagnitude as builtin parameter
2023-06-19 20:20:35 +09:00
bd_
5b40a9392c
Merge pull request #339 from bdunderscore/retain-end-bones
fix: retain bones ending in "end"
2023-06-19 20:20:24 +09:00
bd_
7c2be605e7 fix: add some heuristic bone mappings
Closes: #316
2023-06-19 20:19:38 +09:00
bd_
339789c7c2 fix: add VelocityMagnitude as builtin parameter 2023-06-19 20:13:14 +09:00
bd_
3bed8b8527 fix: retain bones ending in "end"
Closes: #332
2023-06-19 20:11:18 +09:00
bd_
1965389904 fix: remove some leftover bits of the outfit menu system 2023-06-19 20:04:07 +09:00
bd_
cdb5ede7fe
Merge pull request #324 from bdunderscore/enhancement/mesh-settings
Add the Mesh Settings component
2023-06-19 20:02:08 +09:00
Hitsub
9a56ff5bb6
Change timing of BuildHeightCache (#333) (#336) 2023-06-18 15:45:07 +09:00
anatawa12
5577e4c1bc
fix: ArgumentException with components with missing script (#327) 2023-06-06 23:40:46 +09:00
bd_
ed4c1ad5a0
fix: Don't strip objects which contain unrecognized components (#325)
Fixes: #321
2023-06-05 21:41:46 +09:00