Commit Graph

36 Commits

Author SHA1 Message Date
kaikoga
efa263b551
chore: Fix non-VRChat support (for MA 1.10.5) (#1324)
* feat: add version defines for VRCSDK

* chore: early return if VRCSDK project but not VRChat avatar
2024-10-27 10:06:35 -07:00
Haï~
3b067e4664
Make compatible with Unity 6 projects (#1232)
* Disable compilation for use in Unity 6 (6000.0.20f1):
- Do not compile some classes and code paths in non-VRChat projects.
- This has been tested in Unity 6 (6000.0.20f1).

* Fix hide internal components in Unity 6:
- [AddComponentMenu("")] does not work in Unity 6.
- Replace it with [AddComponentMenu("/")]
- This alternative is confirmed to also work in Unity 2022.

---------

Co-authored-by: Haï~ <hai-vr@users.noreply.github.com>
Co-authored-by: bd_ <bd_@nadena.dev>
2024-10-19 18:58:41 -07:00
bd_
9dc342e81e
fix: always-on toggles fail to animate objects to off (#1300)
Closes: #1285
2024-10-19 17:15:23 -07:00
bd_
ae975506d7
fix: occasionally objects controlling reactive components "flicker" (#1298)
Reported-by: @whipnice
2024-10-19 17:15:14 -07:00
bd_
f40d02ceb9
fix: NRE when AnimatorControllerLayer.stateMachine is null (#1283)
Closes: #1056
2024-10-12 17:29:27 -07:00
bd_
656a401684
fix: proxy animations are cloned in Merge Animator (#1266)
This fixes issues with しゃがみ置き換え+α among other things.
2024-10-05 15:19:42 -07:00
bd_
6dafe72c3b fix: play audio path mapping is broken
Closes: #936
2024-09-29 14:28:44 -07:00
lilxyzw
2826c27d63
fix: cloned AnimatorController is not registered in ObjectRegistry #1205 (#1206) 2024-09-24 18:11:39 -07:00
bd_
5090d45cfe
prof: add some profiling annotations (#1183) 2024-09-20 20:46:35 -07:00
bd_
7bf5106246
fix: animation clips are not added to the persistent asset object on build (#1182)
This resulted in data loss when `AssetDatabase.StopAssetEditing()` was called, which can happen if VRCF triggers Poi lockdown.
2024-09-20 20:32:27 -07:00
RayLight1732
4f77723906
Fix copy logic of sync layer (#1135) 2024-09-13 18:06:56 -07:00
bd_
668ab35b46
fix: avatar masks are not rewritten when merging animators (#1093)
Closes: #228
2024-09-03 15:44:29 -07:00
bd_
28ed2e0ed1
fix: layer cross-references are broken by empty layer pruning in some cases (#1075)
Fixes: #830
2024-09-01 16:55:42 -07:00
bd_
c6e863d409
fix: MA Parameters does not update animator parameter curves (#1072)
Closes: #180
2024-08-31 20:47:13 -07:00
bd_
1c766e9fe8
fix: error when multiple gameobjects have the same path (#957) 2024-08-06 20:43:55 -07:00
bd_
489d3a7374
fix: actually fix cursed interaction with unity timeline (#955)
Closes: #950
2024-08-06 20:30:29 -07:00
bd_
9a974f5f09
fix: shape changer would not generate animations when controlled only by object toggle (#951) 2024-08-05 21:50:35 -07:00
bd_
098a85af50
fix: not all clip settings are copied properly (#953)
Closes: #949
2024-08-05 21:13:50 -07:00
bd_
2cd996db55
fix: cursed interaction with Unity Timeline causes animation curves to be lost (#952)
Closes: #950
2024-08-05 21:13:41 -07:00
bd_
32dc864d8d
feat: add Object Toggle component (#942)
* feat: add Object Toggle component

* docs: Object Toggle docs

* chore: add missing HelpURL

* chore: fix broken test
2024-08-03 19:56:07 -07:00
bd_
d8e01234f0
feat: delay GameObjects turning OFF by one frame, when they control ShapeChangers (#934)
Closes: #918
2024-07-28 20:22:32 -07:00
bd_
57fe84548c
feat: shape changer can respond to multiple parent objects being animated (#916)
* refactor: generalize the shape changer implementation a bit

* feat: shape changer can respond to multiple parent objects being animated

Closes: #865
2024-07-06 21:39:42 -07:00
bd_
b3142d7f11
chore: minor cleanups, unit tests (#901) 2024-06-24 11:14:18 +09:00
Jeremy Lam aka. Vistanz
90dfc1822c
Implement VRCAnimatorPlayAudio handling logic (#899)
* feat: Implement VRCAnimatorPlayAudio handling logic (Quick & Dirty)

* chore: Remove redundant PlayAudioHolder and debug logs
2024-06-24 10:19:34 +09:00
bd_
628c07a505
fix: synced layers with substatemachines are broken (#882)
repro case provided by @anatawa12
2024-06-17 08:26:00 +09:00
bd_
8d3da50b37
feat: MA Shape Changer (#863)
* chore: migrate Scale Adjuster to NDMF preview system

* feat: MA Shape Changer

* chore: update NDMF dependency

* fix: unit test failure
2024-06-03 09:52:08 +09:00
ZenithVal
2c69bb2b76
Fix Audio Clip References in Animator (#780)
For the new VRC Play Audio State Behavior available in Open Beta
2024-03-16 15:55:34 +09:00
bd_
0ff1da0734
fix: type corrections not applied to substatemachine exit transitions (#751)
Closes: #748
2024-03-09 18:55:31 +09:00
bd_
27f0557367
fix: float conversion breaks sub-state-machine entry transitions, including FaceEmo (#674)
* fix: float conversion breaks substatemachine entry transitions

Closes: #669

* fix: unnecessary type conversions
2024-02-17 19:19:35 +09:00
bd_
54d4e974db
feat: convert animator parameters to float when types are inconsistent (#662) 2024-02-12 19:35:11 +09:00
kaikoga
5359e3b006
chore: Fix non-VRChat support (#650)
* add referenced assembly

* remove unused usings

* MA Merge Blend Tree is VRC specific

because it expects VRC style Animator Layer setup

* PruneParametersPass is VRChat specific

* fix: use FindAvatarTransformInParents() to be more cross platform

* fix MergeArmatureHook: nop logic for PhysBones if we do not dedup PhysBones

* fix AnimatorCombiner: ignore VRC components when non-VRC

btw, is AnimatorCombiner VRC specific?

* conditional compile some VRChat specific tests
2024-02-12 14:59:23 +09:00
bd_
d0b4dd67e5
fix: issues with blendtree handling in AnimationDatabase (#615)
Closes: #609
2024-01-07 17:07:50 +09:00
bd_
610ce40270
fix: remove duplicate animator merger and add parameter type mismatch error asset references (#585)
Closes: #549
2023-12-27 20:30:04 +09:00
bd_
aa698565ab
feat: add merge blend tree component (#572)
* chore: refactor state machine clone logic out as a separate class

* feat: add layer priority and relative path root options to Merge Animator

* feat: add Merge Blend Tree component

* chore: adjust NDMF dependency

* docs: update merge-animator docs

* docs: merge blend tree docs
2023-12-22 17:17:40 +09:00
kaikoga
3667dc319a
chore: Wrap VRC dependencies and VRCAvatarDescriptors (#504)
* add version defines

* refactor: prefer BuildContext.ctor() overload taking GameObject

* wrap unit tests entirely with MA_VRCSDK3_AVATARS

* wrap unit tests smart with MA_VRCSDK3_AVATARS

* wrap runtime entirely with MA_VRCSDK3_AVATARS

* wrap VRC.SDKBase.IEditorOnly with MA_VRCSDK3_AVATARS

* wrap editor entirely with MA_VRCSDK3_AVATARS

* fix AvatarObjectReference.Get(Component)

* wrap editor smart with MA_VRCSDK3_AVATARS

* wrap BuildContext smart with MA_VRCSDK3_AVATARS

* wrap PluginDefinition smart with MA_VRCSDK3_AVATARS

* style: move conditional compiles one step outside
2023-11-10 15:37:56 +09:00
bd_
ddbc3b164b
chore: restructure repository to put package at top-level (#477)
* chore: rearrange package structure to have the package at the root

* ci: update CI workflows

* ci: fixing workflow bugs

* ci: recurse building .zip package

* ci: more fixes

* ci: add back in the nadena.dev VPM repo

* ci: fix tests
2023-10-08 15:39:57 +09:00