145 Commits

Author SHA1 Message Date
hadashiA
6e6ba03c92 Optimize other overloads 2026-07-31 18:20:52 +09:00
ousttrue
9f258e60bd KeepTextureAssetConfiguration to UseRuntimeTextureSerializer 2026-07-31 13:15:10 +09:00
ousttrue
e47d36c9c9 VRM-0.X の export dialog から RuntimeTextureSerializer を選択できる
#2762
2026-07-31 13:09:04 +09:00
hadashiA
f653f10750 Improving the performance degradation caused by Span generation 2026-07-30 14:08:18 +09:00
hadashiA
8460f28594 Optimize test code 2026-07-30 11:52:44 +09:00
hadashiA
119835e8f5 Revert unnecessary breaking changes 2026-07-30 11:02:33 +09:00
hadashiA
7e40a433e8 Remove dead code 2026-07-30 10:40:06 +09:00
hadashiA
e75112ff77 Add overloads that does not use byte[] to the public API 2026-07-30 10:35:53 +09:00
hadashiA
3bdc4ce988 Add PerformanceTests 2026-07-30 10:18:45 +09:00
hadashiA
3ec8f2a6bd Add .meta 2026-07-30 10:16:48 +09:00
hadashiA
fcab4dd434 Fix compilation errors 2026-07-30 10:16:38 +09:00
hadashiA
358e0f025d Add NativeArray<>.AsMemory 2026-07-30 10:16:19 +09:00
momoma-null
f0a79d1a34 Texture読み込みをなるべくNativeArrayによせる 2026-07-29 11:47:03 +09:00
momoma-null
dcf20ab3c6 Allocator修正 2026-07-29 11:46:57 +09:00
momoma-null
b51afe5c49 MemoryをNativeArrayにコピーするときポインターを介することでコピーを削減 2026-07-29 11:46:51 +09:00
momoma-null
bddb6f4c65 StartWithで十分 2026-07-29 11:46:43 +09:00
momoma-null
38434ee9f9 stringを返さず直接byte配列を渡すように変更 2026-07-29 11:46:24 +09:00
momoma-null
5860a7940e JsonValueおよびUtf8Stringが保持する配列をArraySegmentからReadOnlyMemoryに変更 2026-07-29 11:23:25 +09:00
momoma-null
39531b1ce6 JsonNodeへのパースを共通化 2026-07-29 11:17:32 +09:00
momoma-null
7bcf2f6496 GlbLowLevelParserの入力をMemoryでとれるようにする 2026-07-29 11:15:33 +09:00
ousttrue
512db275ac Merge branch 'master' into fix/same_material_copy 2026-07-23 16:27:39 +09:00
ousttrue
41462ff7ab Merge pull request #2814 from vrm-c/fix/TextureImporterConfigurator_Configure
Fix import Exception from Unity-6.4
2026-07-23 16:02:38 +09:00
ousttrue
531e99c384 Merge pull request #2815 from ousttrue/version/v0_131_2
UniVRM-0.131.2
2026-07-23 15:32:54 +09:00
ousttrue
824ca14e28 Merge branch 'master' into fix/same_material_copy 2026-07-23 14:54:01 +09:00
ousttrue
ccfa754779 AddMaterialIfUnique 2026-07-22 17:11:03 +09:00
ousttrue
6c6332381d PreviewMaterialItem が複数の Material(単一の sharedMaterial から複数のコピーが派生)
を保持できるように拡張した。

複数の Renderer が単一の Material を使っていて、 その Material が Expression で materialcolorbind などを
設定している場合に発生。
2026-07-22 15:09:51 +09:00
ousttrue
9ae4761d6e add Vrm10RuntimeExpression.Reload 2026-07-21 11:09:05 +09:00
ousttrue
772c0545c4 com.unity.cloud.ktx>=3.0.0 2026-07-17 15:54:27 +09:00
ousttrue
1d93238a93 restore ktx of asmdef. IsAllTexturesYFlipped is true. 2026-07-17 11:01:37 +09:00
ousttrue
c6c2217387 Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-07-10 10:15:12 +09:00
ousttrue
4738c64889 UniVRM-0.131.2 2026-07-10 10:10:45 +09:00
ousttrue
f5881cb567 Fix import Exception from Unity-6.4 2026-07-09 13:45:15 +09:00
ousttrue
958a231ded Merge branch 'master' into fix-unity-6.1-shader-util-warnings 2026-07-06 19:42:44 +09:00
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
Isamu Mogi
2445f98017 Unity 6.2 以降 6.5 未満で TreeView が Obsolete 警告を出すのに対応
Unity 6.2 の時点で、非Genericな `TreeView` が Obsolete となり警告が出るようになりました。これを抑制します。

Unity 6.5 でそのクラスは削除されたため、 https://github.com/vrm-c/UniVRM/issues/2803 で `#if UNITY_6000_5_OR_NEWER` を用いて Unity 6.5 以降はGeneric版の `TreeView<int>`  に置き換わるようになっています。

この `#if` 条件を `UNITY_6000_2_OR_NEWER` に拡張することで、 6.5 未満かつ 6.2 の場合でも新版を利用するようにし、警告が出力されないようにしました。

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

```
Packages\VRM10\Editor\Components\SpringBone\SpringBoneTreeView.cs(14,39): warning CS0618: 'TreeView' is obsolete: 'TreeView is now deprecated. You can likely now use TreeView<int> instead and not think more about it. But if you were using that identifier to store InstanceID data, you should instead opt to upgrade your TreeViews to use TreeView<InstanceID> to get the proper typing.'
```
2026-07-04 15:48:55 +09:00
ousttrue
5ef6d765fc Merge branch 'master' into fix/update_springbone_ui 2026-06-30 16:55:32 +09:00
ousttrue
dccf4e7510 fix comment private 2026-06-30 16:54:42 +09:00
ousttrue
561fcc1835 Apply suggestions from code review
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-06-30 16:26:32 +09:00
Christian Petry
ab6b844348 Fixed #2808 - on empty submeshes still continue to process all remaining (valid) subMeshes 2026-06-26 16:05:34 +02:00
ousttrue
d76f3bd763 remove foldout 2026-06-26 15:50:17 +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
ousttrue
ebbaac9dae remove selector 2026-06-26 12:07:09 +09:00
ousttrue
d2f62d80ac camel case 2026-06-26 11:41:30 +09:00
ousttrue
364072b738 VRM10ColliderGroupsWindow.cs 2026-06-26 11:36:06 +09:00
ousttrue
f103f2f68f VRM10SpringsWindow 2026-06-26 11:22:24 +09:00
ousttrue
4b8dbcf7ec SceneView.duringSceneGui 2026-06-26 11:17:39 +09:00
ousttrue
b0acd0e0c3 VRM10SpringBoneWindow 2026-06-25 22:34:05 +09:00
matsutaka
016e91f6af GetControlIdをextensionに変更
https://github.com/vrm-c/UniVRM/pull/2804#issuecomment-4798507922 による。

将来の変更時に破壊的変更にならないよう、 internal になっている。
結果として、 VRM10_Samples では、独自の定義を行なっている。
2026-06-25 22:22:59 +09:00
ousttrue
94c5ba3486 TwoPaneSplitView 2026-06-25 15:48:25 +09:00