Commit Graph

16 Commits

Author SHA1 Message Date
Isamu Mogi
40a3a6dbe1 Unity 6.2 以降で ShaderUtil の一部のメンバーが Obsolete 警告を出すのに対応
Unity 6.2 以降で、UniVRMが利用している ShaderUtil の次のメンバーが Obsolete となり警告が出るようになりました。

- [GetPropertyCount](https://docs.unity3d.com/6000.2/Documentation/ScriptReference/ShaderUtil.GetPropertyCount.html)
- [GetPropertyType](https://docs.unity3d.com/6000.2/Documentation/ScriptReference/ShaderUtil.GetPropertyType.html)
- [GetPropertyName](https://docs.unity3d.com/6000.2/Documentation/ScriptReference/ShaderUtil.GetPropertyName.html)
- [ShaderPropertyType](https://docs.unity3d.com/6000.2/Documentation/ScriptReference/ShaderUtil.ShaderPropertyType.html)

これらは `Shader` インスタンスのメソッドと `UnityEngine.Rendering.ShaderPropertyType` に置き換わりました。これらの置き換え後の項目は全て UniVRM の最小サポートバージョンである Unity 2022.3 LTS にも存在するため、そのまま置き換えました。

発生していた警告は次のようなものでした。

```
Packages\VRM10\Runtime\Components\Expression\Preview\PreviewMaterialUtil.cs(19,33): warning CS0618: 'ShaderUtil.GetPropertyCount(Shader)' is obsolete: 'Use Shader.GetPropertyCount instead.'
Packages\VRM10\Runtime\Components\Expression\Preview\PreviewMaterialUtil.cs(21,32): warning CS0618: 'ShaderUtil.GetPropertyType(Shader, int)' is obsolete: 'Use Shader.GetPropertyType instead.'
Packages\VRM10\Runtime\Components\Expression\Preview\PreviewMaterialUtil.cs(22,28): warning CS0618: 'ShaderUtil.GetPropertyName(Shader, int)' is obsolete: 'Use Shader.GetPropertyName instead.'
```
2026-07-04 16:20:25 +09:00
ousttrue
d64814c5d4 Merge branch 'master' into fix/update_springbone_ui 2026-06-26 15:41:29 +09:00
ousttrue
48292b5307 ColliderGroups list 2026-06-26 15:25:48 +09:00
matsutaka
4d2c769f0b fix: VRM10 - Unity 6.5 でのエラーを修正
- TreeViewをTreeView<T>に変更
- GetInstanceID()をGetEntityId()に置き換え
- 上記の受け型もintからEntityIdに変更
- Handles.SphereHandleCap()等の第一引数 control id をコンポーネントから取得する関数を追加
2026-06-24 17:17:40 +09:00
ousttrue
bbe9d996af Merge pull request #2786 from POPOPOinc/hadashiA/patches/0.131/fix-reset-pose
Fix RestoreInitialTransform init-pose
2026-06-22 16:09:45 +09:00
ousttrue
fa27c3a5c5 Merge branch 'master' into fix-springbone-buffer-leak-on-cancel 2026-06-22 15:48:41 +09:00
Neorin
8aa541e427 Dispose SpringBone runtime when destroyed before Vrm10Runtime is created 2026-05-18 17:16:56 +09:00
hadashiA
896fdfacdc Fix RestoreInitialTransform init-pose 2026-04-16 16:47:28 +09:00
ousttrue
8f8493f129 rename typo 2026-03-24 14:14:21 +09:00
ousttrue
2517ab54f2 Update Packages/VRM10/Runtime/Components/Expression/NodeTransformtBinding.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-24 14:06:39 +09:00
ousttrue
864f1c52ff fix preview bake 2026-03-24 14:06:39 +09:00
ousttrue
e04d0248af impl importer, exporter and editor 2026-03-24 14:06:39 +09:00
ousttrue
aa90bcc854 SetLocalPositionAndRotation 2026-03-24 14:06:39 +09:00
ousttrue
38b636e417 Vrm10BoneTransfromExpression 2026-03-24 14:06:39 +09:00
ousttrue
635e2a6b2d BoneTransformBindingMerger 2026-03-24 14:06:39 +09:00
ousttrue
9b129cf788 mv UniGLTF, UniVRM and VRM to Packages from Assets 2025-10-28 14:10:51 +09:00