Commit Graph

432 Commits

Author SHA1 Message Date
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
bd_
6af61302f0 chore: dependency and project settings update 2023-09-14 20:23:00 +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_
b1e763fdb0 Update to new NDMF API 2023-09-10 17:14:19 +09:00
bd_
5320c474dd 1.7.5 2023-09-08 20:32:31 +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_
36b13b8192 chore: protect against prefab instances leaking into play mode 2023-09-05 20:16:41 +09:00
bd_
99386fc756 feat: NDMF integration 2023-09-04 23:18:23 +09:00
bd_
b155202714
fix: incorrect scaling for Visible Head Accessory (#412) 2023-09-03 18:10:17 +09:00
bd_
8251f3fcf7
fix: missing load in background flag on clap sample asset (#413) 2023-09-03 18:10:06 +09:00
bd_
e3e7bc6e87 1.7.4 2023-08-28 21:25:49 +09:00
bd_
8da1c9d3be
fix: issues preventing error log from being displayed in some cases (#409) 2023-08-28 21:25:17 +09:00
bd_
798d38d1ce 1.7.3 2023-08-22 19:53:47 +09:00
bd_
34b973e9fe 1.7.3-rc.0 2023-08-22 18:58:11 +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_
f3ff0bdb5b 1.7.2 2023-08-20 14:16:01 +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_
86aca10ed5 1.7.1 2023-08-13 21:38:17 +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
anatawa12
897e9915bc
fix: MA Replace Object doesn't have icon (#386) 2023-08-13 16:21:17 +09:00
bd_
176e792137 1.7.0 2023-08-07 21:12:02 +09:00
bd_
16faa4d98a 1.7.0-beta.2 2023-08-06 19:33:49 +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_
f63c2f9a1a 1.7.0-beta.1 2023-08-04 21:45:42 +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_
4b40c5197a chore: fixup stray import 2023-07-30 02:11:49 +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_
c0b4777462 v1.6.0 2023-06-19 20:52:51 +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
bd_
f41719e432 chore: remove components merged into the Mesh Settings component 2023-06-05 20:46:04 +09:00
bd_
3c7634e4ea feat: add Mesh Settings component 2023-06-05 20:18:46 +09:00
bd_
095c2667a0 fix: MA Menu Item was showing a spurious gizmo icon
Fix this for new components as well by using reflection to find all avatar tag components
and remove the gizmos appropriately.
2023-06-05 19:10:31 +09:00
bd_
d5c2b98a05
Merge branch 'main' into enhancement/add_bounds_override_module 2023-06-05 19:04:30 +09:00
AoiKamishiro
7bc29b2ea5
MAProbeAnchorの追加(ModularAvatarでAnchorOverrideを設定できるように) (#304)
Co-authored-by: AoiKamishiro <aoi.kamishiro@kamishiro.online>
2023-06-05 18:53:49 +09:00
raiti-chan
17589fceb5 Add BoundsOverride module and BoundsOverrideBlocker module 2023-05-31 22:37:10 +09:00
bd_
f4d8383ced 1.5.1 2023-05-23 21:11:07 +09:00
bd_
a4c3e1d0f4
fix: internal parameters not renamed on installed VRCExpressionMenu submenus (#314)
Thanks to suzuryg for finding the cause of the bug and suggesting an initial fix.

Reported-By: 33linn
Fixes: #305
2023-05-23 21:10:22 +09:00
HotKonti
c87ac92a04
Add Korean language support (#269)
* Add Korean language support

- Update Localization.cs to include Korean
- Add ko.json for Korean translations
- Add ko.json.meta file for metadata
2023-05-21 17:12:48 +09:00
bd_
044e2ae704 fix: "fake humanoid" bones can be pruned by game object GC pass 2023-05-21 17:01:07 +09:00
raiti-chan
9f0522b273 Changed to replace labels and subParameters of Control with an empty array if they are null. 2023-05-21 16:32:53 +09:00
bd_
ce2ba4f312 1.5.0 2023-05-17 20:28:06 +09:00
bd_
05f2276aab chore: adjust PreventStripTagObjects to avoid stripping non-MA components as well 2023-05-17 20:27:33 +09:00
Azukimochi
a7e4c11885 Add "Elbow_L/R" to bone name mapping
"Elbow_L/R" is bone name of KokuriRuru
2023-05-15 20:12:35 +09:00
bd_
86dd536e6e 1.5.0-beta-4 2023-05-14 22:13:17 +09:00
bd_
0115e3946b chore: update VPM dependencies 2023-05-14 22:02:52 +09:00
bd_
bf42cb95c1 rollback: remove action system for 1.5.0 release 2023-05-14 22:02:52 +09:00
bd_
ababe2e80a ui: presets menu 2023-05-14 20:18:41 +09:00
bd_
ab529dc936 chore: dependency updates 2023-05-14 20:18:41 +09:00
bd_
0d5ae35661 feat: make it easier to adjust the order of outfit menu items 2023-05-14 20:18:41 +09:00
bd_
6b5fc80167 fix: rename parameters hook interferes with menu installer references 2023-05-14 20:18:41 +09:00
bd_
ff7c3ff702 ui: add option to add outfit menu to avatar 2023-05-14 20:18:41 +09:00
bd_
e763281966 ui: group menu items [NEEDS DOCS] 2023-05-14 20:18:41 +09:00
bd_
1e2c821a25 ui/fix: action-related config shown on menu items with no actions 2023-05-14 20:18:41 +09:00
bd_
5a36db7b7f ui: add action blendshape editor 2023-05-14 20:18:41 +09:00
bd_
1175e43bfd chore: extract column logic for future inspectors 2023-05-14 20:18:41 +09:00
bd_
d8cab10a3d feat: unified clothing menu 2023-05-14 20:18:41 +09:00
bd_
5cba6f24cb feat: initial support for blendshape actions 2023-04-30 20:58:11 +09:00
bd_
93a0171940 feat: control groups now use default-to-off, no override support for now 2023-04-30 20:08:31 +09:00
bd_
cae4622bfc compat/feat: use AvatarObjectReference for action paths 2023-04-30 19:55:45 +09:00
bd_
47a1e8393c 1.5.0-beta-3 2023-04-26 20:21:25 +09:00
bd_
f7f9fc773c
fix: SDK 3.2.0-beta.1 compatibility (#289) 2023-04-26 20:20:30 +09:00
Hitsub
f12db983c1
Meshが空のSkinnedMeshRendererがあるとActionGeneratorがエラーを起こすのを修正 (#280) 2023-04-20 17:33:15 +09:00
Hitsub
1901035fd8
空のSubMenuがあるとMenuInstallerの表示でエラーが発生するのを修正 (#282) 2023-04-20 17:33:04 +09:00