ousttrue
224a09c09c
Merge pull request #2285 from saturday06/replace-obsoleted-FindObjectsOfType
...
Unity2023.1以降でFindObjectsOfType系APIがObsolete警告を出すのに対応
2024-05-10 12:58:09 +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
Isamu Mogi
c1d7a4b099
Unity2023.1以降でGetScriptingDefineSymbolsForGroup系APIがObsolete警告が出るのに対応
...
Unity 2023.1以降のバージョンでPlayerSettings.GetScriptingDefineSymbolsForGroup()系の関数がObsoleteになり、次の警告が発生していました。
```
Assets\UniGLTF\Editor\UniGLTF\UniGLTFPreference.cs(109,27): warning CS0618: 'PlayerSettings.GetScriptingDefineSymbolsForGroup(BuildTargetGroup)' is obsolete: 'Use GetScriptingDefineSymbols(NamedBuildTarget buildTarget) instead'
Assets\UniGLTF\Editor\UniGLTF\UniGLTFPreference.cs(116,27): warning CS0618: 'PlayerSettings.GetScriptingDefineSymbolsForGroup(BuildTargetGroup)' is obsolete: 'Use GetScriptingDefineSymbols(NamedBuildTarget buildTarget) instead'
Assets\UniGLTF\Editor\UniGLTF\UniGLTFPreference.cs(117,13): warning CS0618: 'PlayerSettings.SetScriptingDefineSymbolsForGroup(BuildTargetGroup, string)' is obsolete: 'Use SetScriptingDefineSymbols(NamedBuildTarget buildTarget, string defines) instead'
Assets\UniGLTF\Editor\UniGLTF\UniGLTFPreference.cs(125,27): warning CS0618: 'PlayerSettings.GetScriptingDefineSymbolsForGroup(BuildTargetGroup)' is obsolete: 'Use GetScriptingDefineSymbols(NamedBuildTarget buildTarget) instead'
Assets\UniGLTF\Editor\UniGLTF\UniGLTFPreference.cs(126,13): warning CS0618: 'PlayerSettings.SetScriptingDefineSymbolsForGroup(BuildTargetGroup, string)' is obsolete: 'Use SetScriptingDefineSymbols(NamedBuildTarget buildTarget, string defines) instead'
```
代わりにGetScriptingDefineSymbols系APIを使うようにしました。これはUnity 2021.3にも存在しているので、そのまま置き換えることができました。
2024-05-03 00:35:26 +09:00
ousttrue
469c973a04
Merge pull request #2281 from Santarh/materialDescriptorGeneratorDetemine
...
If MaterialDescriptorGenerator is not specified, automatically determine it.
2024-04-30 19:43:30 +09:00
Masataka SUMI
9ce2304a53
If MaterialDescriptorGenerator is not specified, automatically determine it.
2024-04-30 16:35:48 +09:00
Masataka SUMI
578ad66c78
Define ExtensionSupportFlags for KHR_texture_basisu
2024-04-30 16:09:12 +09:00
Masataka SUMI
2c84452e3b
Create UnityPackage Action で UnityPackage をビルドして artifact に upload する ( #2272 )
2024-03-28 14:37:21 +09:00
Masataka SUMI
69c518caee
Create UnityPackage Action でとりあえず EditMode Tests まで走らせる ( #2271 )
2024-03-27 22:18:29 +09:00
ousttrue
3e0c24c0e0
UniVRM-0.121.0
2024-03-19 19:06:40 +09:00
Masataka SUMI
a0626c5634
Can load y-flipped KHR_texture_basisu texture at runtime.
2024-03-14 22:52:31 +09:00
Masataka SUMI
eff6d6edd0
fix
2024-03-14 19:11:48 +09:00
Masataka SUMI
d10a17695f
Merge branch 'master' of https://github.com/vrm-c/UniVRM into basisuRuntimeImport
2024-03-14 19:09:12 +09:00
Masataka SUMI
c89e5d77f0
Can import basisu texture at runtime import
2024-03-14 19:07:31 +09:00
ousttrue
b408640832
remove comment
2024-03-08 20:30:16 +09:00
ousttrue
f9d105d67d
impl bake for vrm-1.0.
...
fixed #2119
2024-03-08 18:09:11 +09:00
ousttrue
adab235990
impl FreezeMesh for glTF export
2024-03-08 16:04:04 +09:00
ousttrue
1329be9662
impl onAddCallback, onRemoveCallback
2024-03-06 17:42:36 +09:00
ousttrue
8741e5e119
Editorスクリプトの配置間違い
2024-03-01 12:54:06 +09:00
ousttrue
38d4f3e69b
sample 更新ひとつあり。
2024-02-29 20:25:09 +09:00
ousttrue
6036e61f07
ロジックバグ。normalize 必用ぽい
2024-02-29 13:44:54 +09:00
ousttrue
712b35c542
inspector の list で VRM10SpringBoneColliderGroup の名前を表示する
2024-02-27 19:20:11 +09:00
ousttrue
b0f75f7e26
migration 時に spring 関連の名前を付ける
2024-02-27 19:19:42 +09:00
ousttrue
646137b221
VRM10SpringBoneColliderGroup の名前反映
2024-02-27 19:19:02 +09:00
ousttrue
f7aaef01c2
Merge pull request #2252 from ousttrue/fix/vrm10_firstperson_auto_dispose
...
[VRM10] FirstPerson の修正
2024-02-27 15:10:36 +09:00
ousttrue
e945e4bf27
sample の ShowMeshes の呼び方
2024-02-26 16:12:40 +09:00
ousttrue
a552230f4c
headless mesh を destroy 対象に追加する
2024-02-26 16:12:06 +09:00
ousttrue
a4758d1b4d
auto で headless を作成する必要がなかったときの fallback は both の挙動
2024-02-26 16:11:22 +09:00
ousttrue
51034f4575
VRMC_vrm_animation.specVersion = "1.0"
2024-02-26 14:49:12 +09:00
Fuji Sunflower
e4474a3331
Add RequireComponent
...
Add Humanoid as RequireComponent to Vrm10Instance.cs
2024-02-17 15:25:09 +09:00
ousttrue
276ff8cbf8
UniVRM-0.119.0
2024-02-08 20:54:55 +09:00
ousttrue
ffcf2095ee
Merge pull request #2240 from ousttrue/fix/normalize_blendshape_with_root_scaling
...
hierarchy にスケーリングがある場合の blend shape の正規化修正
2024-02-08 20:50:33 +09:00
ousttrue
2feda7742b
Merge pull request #2237 from ousttrue/fix/integrate_blendshape_weight_1_100
...
[MeshUtility] 統合時のblendshapeweight定数の修正
2024-02-08 17:05:54 +09:00
ousttrue
c115ed87f1
うーん
2024-02-08 16:47:08 +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
6978be42b4
unity frameWeight is 100
2024-02-05 15:39:56 +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
c74440086b
add VRMShaders dependency to UniHumanoid.asmdef
2024-01-23 13:15:48 +09:00
ousttrue
9dc2802621
add ErrorHandling for vrma importer
2024-01-19 15:29:45 +09:00
ousttrue
eb4319c1c2
Merge pull request #2223 from tsgcpp/feature/remove_log_in_ondestroy
...
[提案] RuntimeGltfInstance.OnDestroy時のDebug.Logを削除する
2024-01-16 20:34:32 +09:00
ousttrue
402b9218c7
Merge pull request #2222 from tsgcpp/feature/remove_unused_nests_in_Vrm10ImportData
...
[リファクタリング] #2213 で不要になったインデントを削除する
2024-01-16 20:33:40 +09:00
ousttrue
0d68bf19e7
Merge pull request #2221 from tsgcpp/feature/set_mesh_annotation_auto_to_all_renderers
...
非Skinned MeshかつMeshAnnotationが指定されていないメッシュがHead直下にある場合にLayerが設定されない現象を解消する
2024-01-16 20:33:08 +09:00
ousttrue
d36a7073f3
Merge pull request #2220 from tsgcpp/feature/register_collidergroups_even_if_no_colliders
...
ColliderGroupsはあるがColliderが全く存在しない場合にVRM0.xの読み込みで発生するエラーを解消する
2024-01-16 20:31:10 +09:00
tsgcpp
451fcf8f22
refactor: Remove unused nests in Vrm10ImportData
2024-01-12 00:07:21 +09:00
ousttrue
a71e60ce30
UniVRM-0.117
2024-01-09 14:33:17 +09:00
ousttrue
54295da228
Merge pull request #2213 from tsgcpp/feature/fix_for_byteoffset_zero
...
attributesのbufferViewは連続であるが、indicesのbufferViewがprimitivesの順番で連続ではないVRM0.xをロードするとエラーになる問題の対策
2024-01-09 14:31:08 +09:00
ousttrue
2c55dc9db0
Merge pull request #2214 from tsgcpp/feature/ignore_invalid_mesh_indices
...
VRM0.xでMeshAnnotationsのmeshに-1が指定されていると一人称メッシュ作成時にNotImplementedExceptionが発生する問題を回避する
2024-01-09 14:01:33 +09:00
ousttrue
bbff2fa095
Merge pull request #2212 from tsgcpp/feature/skip_vrm10instance_instantiation
...
Vrm10Instance生成後に非アクティブにしてそのままOnDestroy()が実施された場合にエラーとなる問題の対策
2024-01-09 13:54:59 +09:00