UniVRM/Packages/VRM/Editor/Format
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
..
RecordDisposer.cs mv UniGLTF, UniVRM and VRM to Packages from Assets 2025-10-28 14:10:51 +09:00
RecordDisposer.cs.meta mv UniGLTF, UniVRM and VRM to Packages from Assets 2025-10-28 14:10:51 +09:00
vrmAssetPostprocessor.cs Added StartAssetEditing and StopAssetEditing around creation of prefab and related assets in onCompleted callback delegate inside vrmAssetPostprocessor.ImportVrmAndCreatePrefab() to batch Unity asset importing. 2026-02-16 21:24:13 +00:00
vrmAssetPostprocessor.cs.meta mv UniGLTF, UniVRM and VRM to Packages from Assets 2025-10-28 14:10:51 +09:00
VRMBlendShapeExportFilter.cs mv UniGLTF, UniVRM and VRM to Packages from Assets 2025-10-28 14:10:51 +09:00
VRMBlendShapeExportFilter.cs.meta mv UniGLTF, UniVRM and VRM to Packages from Assets 2025-10-28 14:10:51 +09:00
VRMEditorExporter.cs mv UniGLTF, UniVRM and VRM to Packages from Assets 2025-10-28 14:10:51 +09:00
VRMEditorExporter.cs.meta mv UniGLTF, UniVRM and VRM to Packages from Assets 2025-10-28 14:10:51 +09:00
VRMEditorImporterContext.cs Added ProfilerMarkers for more detailed profiling info without the need for Deep Profiling. 2026-02-16 21:05:57 +00:00
VRMEditorImporterContext.cs.meta mv UniGLTF, UniVRM and VRM to Packages from Assets 2025-10-28 14:10:51 +09:00
VRMExporterVaildator.cs mv UniGLTF, UniVRM and VRM to Packages from Assets 2025-10-28 14:10:51 +09:00
VRMExporterVaildator.cs.meta mv UniGLTF, UniVRM and VRM to Packages from Assets 2025-10-28 14:10:51 +09:00
VRMExporterWizard.cs mv UniGLTF, UniVRM and VRM to Packages from Assets 2025-10-28 14:10:51 +09:00
VRMExporterWizard.cs.meta mv UniGLTF, UniVRM and VRM to Packages from Assets 2025-10-28 14:10:51 +09:00
VRMExportOptions.cs mv UniGLTF, UniVRM and VRM to Packages from Assets 2025-10-28 14:10:51 +09:00
VRMExportOptions.cs.meta mv UniGLTF, UniVRM and VRM to Packages from Assets 2025-10-28 14:10:51 +09:00
VRMExportSettings.cs mv UniGLTF, UniVRM and VRM to Packages from Assets 2025-10-28 14:10:51 +09:00
VRMExportSettings.cs.meta mv UniGLTF, UniVRM and VRM to Packages from Assets 2025-10-28 14:10:51 +09:00
VRMExportSettingsEditor.cs mv UniGLTF, UniVRM and VRM to Packages from Assets 2025-10-28 14:10:51 +09:00
VRMExportSettingsEditor.cs.meta mv UniGLTF, UniVRM and VRM to Packages from Assets 2025-10-28 14:10:51 +09:00
VRMHumanoidNormalizerMenu.cs mv UniGLTF, UniVRM and VRM to Packages from Assets 2025-10-28 14:10:51 +09:00
VRMHumanoidNormalizerMenu.cs.meta mv UniGLTF, UniVRM and VRM to Packages from Assets 2025-10-28 14:10:51 +09:00
VRMImporterMenu.cs mv UniGLTF, UniVRM and VRM to Packages from Assets 2025-10-28 14:10:51 +09:00
VRMImporterMenu.cs.meta mv UniGLTF, UniVRM and VRM to Packages from Assets 2025-10-28 14:10:51 +09:00
VRMMaterialValidator.cs Unity 6.2 以降で ShaderUtil の一部のメンバーが Obsolete 警告を出すのに対応 2026-07-04 16:20:25 +09:00
VRMMaterialValidator.cs.meta mv UniGLTF, UniVRM and VRM to Packages from Assets 2025-10-28 14:10:51 +09:00
VRMSampleCopy.cs fix sample copy dst path 2025-11-14 12:47:25 +09:00
VRMSampleCopy.cs.meta mv UniGLTF, UniVRM and VRM to Packages from Assets 2025-10-28 14:10:51 +09:00
VRMVersionMenu.cs add mathematics dependency 2025-12-05 21:20:24 +09:00
VRMVersionMenu.cs.meta mv UniGLTF, UniVRM and VRM to Packages from Assets 2025-10-28 14:10:51 +09:00