shino
05a1823c37
Fix compile errors at build time
2024-05-31 18:46:38 +09:00
Isamu Mogi
698a4dbc8e
Unity2022.2.4以下と2021.3.17以下でFindObjectBy系APIが存在しないのに対応
...
FindObjectsBy系のAPIは、UniVRMがサポートしているUnityのうち、次の範囲のバージョンには存在しない。
- 2021.3.0~2021.3.17
- 2022.1.0~2022.1.24
- 2022.2.0~2022.2.4
そのため、該当するバージョンのUnityではコンパイルエラーが発生していた。UNITY_2022_3_OR_NEWERで分岐することで、旧APIと新APIを安全に選択するようにした。
厳密にはUNITY_2022_2_5_OR_NEWERを用いたいが、そのようなシンボルは存在していなかった。
2024-05-14 20:15:56 +09:00
ousttrue
bcafcfd4a9
UniVRM-0.122.0
2024-05-10 15:09:56 +09:00
Isamu Mogi
018aec1fab
Unity2023.1以降でFindObjectsOfType系APIがObsolete警告を出すのに対応
...
Unity 2023.1以降のバージョンでUnityEngine.Object.FindObjectsOfType系APIがObsoleteになり、次の警告が発生していました。
```
Assets/VRM10_Samples/VRM10Viewer/VRM10ViewerUI.cs(250,24): warning CS0618: 'Object.FindObjectOfType<T>()' is obsolete: 'Object.FindObjectOfType has been deprecated. Use Object.FindFirstObjectByType instead or if finding any instance is acceptable the faster Object.FindAnyObjectByType'
Assets/VRM10_Samples/VRM10Viewer/VRM10ViewerUI.cs(208,31): warning CS0618: 'Object.FindObjectsOfType<T>()' is obsolete: 'Object.FindObjectsOfType has been deprecated. Use Object.FindObjectsByType instead which lets you decide whether you need the results sorted or not. FindObjectsOfType sorts the results by InstanceID but if you do not need this using FindObjectSortMode.None is considerably faster.'
```
代わりにFindObjectsBy系APIを使うようにしました。これはUnity 2021.3にも存在しているので、そのまま使うことができました。
FindObjectOfType()とFindFirstObjectByType()の違いに関してはドキュメントからは読み取れませんでしたが、
Unity-Technologiesgが公開しているUnity 6000のソースコードを見る限り、動作は同一に見えるためそのまま置き換えました。
https://github.com/Unity-Technologies/UnityCsReference/blob/6000.0/Runtime/Export/Scripting/UnityEngineObject.bindings.cs#L586-L602
2024-05-08 03:48:25 +09:00
Masataka SUMI
9ce2304a53
If MaterialDescriptorGenerator is not specified, automatically determine it.
2024-04-30 16:35:48 +09:00
Masataka SUMI
2c84452e3b
Create UnityPackage Action で UnityPackage をビルドして artifact に upload する ( #2272 )
2024-03-28 14:37:21 +09:00
ousttrue
3e0c24c0e0
UniVRM-0.121.0
2024-03-19 19:06:40 +09:00
ousttrue
38d4f3e69b
sample 更新ひとつあり。
2024-02-29 20:25:09 +09:00
ousttrue
276ff8cbf8
UniVRM-0.119.0
2024-02-08 20:54:55 +09:00
ousttrue
7e07c5806e
blendshape rotation scaling がまとめて処理される
...
blendshape を除外するには処理前にすべて 0 に戻す処理が必要。
前はやっているところもあったのだけど、
undo とか事後に値を復帰させるか否かなど、
選択肢とトレードオフがあります。
2024-02-05 16:41:16 +09:00
ousttrue
12db3507be
rotation もしくは scaling だけを freeze するのは難しかった。
...
両方やるかやらないかに修正。
2024-02-05 16:21:30 +09:00
ousttrue
226df1626a
Merge pull request #2232 from ousttrue/fix/firstperson_null_check
...
VRMFirstPerson.CopyTo skip null
2024-01-26 15:10:17 +09:00
ousttrue
29c6ad9c33
VRMFirstPerson.CopyTo skip null
2024-01-26 14:38:32 +09:00
ousttrue
1c92ebbd52
UniVRM-0.118.0
2024-01-23 18:48:35 +09:00
ousttrue
a71e60ce30
UniVRM-0.117
2024-01-09 14:33:17 +09:00
ousttrue
7cf69ad57a
update comment of VRMBoneNormalizer.Execute
2024-01-09 13:40:41 +09:00
ousttrue
30f893fa1b
avatar 代入の workaround
2024-01-05 15:08:43 +09:00
ousttrue
6e22c7a279
missing LoadSpringBoneFromJson
2023-12-13 14:13:47 +09:00
ousttrue
197efa5fb2
fix test
2023-12-12 15:48:23 +09:00
ousttrue
06d77d6d6e
fix warnings
2023-12-12 15:37:19 +09:00
ousttrue
abf5aba3ce
UniVRM-0.116.0
2023-12-12 13:58:38 +09:00
ousttrue
6e13c87c00
add renderer without firstperson setting
2023-12-08 17:47:34 +09:00
ousttrue
f31b2f8e69
implement vrm-1.0 integration
2023-12-06 18:20:43 +09:00
ousttrue
3ed0f17410
VrmBlendShapeUpdater
2023-12-05 18:29:32 +09:00
ousttrue
b12c9ed87c
WriteAssets and WritePrefab
2023-12-05 16:21:35 +09:00
ousttrue
fb7cb163b1
fix VrmMeshIntegratorWizard.WriteAssets
2023-12-04 17:55:36 +09:00
ousttrue
b5a7c1b13b
remove GltfMeshUtility.ForceUniqueName.
...
automatically force when createAvatar
2023-12-04 17:04:44 +09:00
ousttrue
e3404e1f16
refactor MeshUtility.Process params
2023-12-04 17:00:15 +09:00
ousttrue
00e1278123
fix NormalizeNoneSkinnedMesh
2023-12-01 17:17:48 +09:00
ousttrue
f84a6ccb73
fix GltfMeshUtility.WriteAssets
2023-12-01 17:06:31 +09:00
ousttrue
f8f27d0619
prefab と runtime で整合性。
...
- prefab 時は instance 化する。統合グループをの内容をインスタンス後のもので置き換える
- 未使用削除
2023-11-29 20:02:46 +09:00
ousttrue
32af053a62
vrm-0.x firstperson
2023-11-28 18:20:43 +09:00
ousttrue
4ec5d54588
bake mesh inplace
2023-11-27 20:05:01 +09:00
ousttrue
ff68649036
MeshAttachInfo
2023-11-27 18:58:50 +09:00
ousttrue
6d251c5993
fix menu priority
2023-11-27 14:53:14 +09:00
ousttrue
6dd4320656
TargetIsPrefab and DialogMessage
2023-11-21 19:36:40 +09:00
ousttrue
b216a5bbc0
メニューの表記、順番調整
...
- `-1.0` => ` 1.0`
- `Import` and `Export`
- `Export < Import < MeshUtility` order
2023-11-15 18:24:02 +09:00
ousttrue
90a1192be2
menu 名と dialog 名を整理
...
- menu 名を関連クラスの `public const string MENU_NAME` にした(特に validate=true で2回同名で呼ぶところ)
- menu 表示名と dialog のタイトルを同じ文字列にした
2023-11-15 16:01:21 +09:00
ousttrue
8deb17d18c
WIP split by blendshape
2023-11-07 19:21:03 +09:00
ousttrue
0f62aeffa1
impl inplace MeshFreeze and MeshIntegration
2023-10-27 16:18:07 +09:00
ousttrue
16d17a7951
separate file
2023-10-26 16:28:51 +09:00
ousttrue
787dada27e
AvatarDescription.AddAnimator to CreateAvatarForCopyHierarchy
2023-10-26 14:56:23 +09:00
ousttrue
ced5dc8918
implement FreezeScaling
2023-10-25 21:50:06 +09:00
ousttrue
c43f86bca4
Merge pull request #2172 from ousttrue/fix/not_export_uv2
...
TEXCOORD_1 は export しない
2023-10-23 17:48:28 +09:00
ousttrue
f4a2150c8a
add ExportUvSecondary.ExportUvSecondary. but always false
2023-10-20 19:35:29 +09:00
ousttrue
8ff3faa857
rename UniVrmPackageVersion to PackageVersion
2023-10-20 19:16:20 +09:00
ousttrue
443e0048bd
VRMVersionをリネームして場所移動。VRM10から参照できるようになる。 assets.generator に使う。
2023-10-20 18:10:42 +09:00
ousttrue
4896e783da
UniVRM-0.115.0
2023-10-12 13:38:35 +09:00
ousttrue
ebb7ef67c0
Merge pull request #2148 from Santarh/vrm0xBlendshapePreview
...
[VRM0.x] Fix wrong preview results in editor inspector when a vrm blendshape material target is "*_ST_S" or "*_ST_T"
2023-10-11 20:03:45 +09:00
Masataka SUMI
1360834711
[VRM0.x] Fix wrong preview results in editor inspector when a material target is "*_ST_S" or "*_ST_T"
2023-08-30 17:00:58 +09:00