Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

导入从Vroid Studio 1.28.2导出的 .vrm 文件无法加载 #61

Closed
ZackZhao233 opened this issue Jun 17, 2024 · 3 comments
Closed

导入从Vroid Studio 1.28.2导出的 .vrm 文件无法加载 #61

ZackZhao233 opened this issue Jun 17, 2024 · 3 comments

Comments

@ZackZhao233
Copy link

使用 Vroid Studio 1.28.2 制作模型并导出 .vrm 文件后导入模型库一直显示loading,日志显示如下。

vue.js:9323 Download the Vue Devtools extension for a better development experience:
https://github.com/vuejs/vue-devtools
vue.js:9330 You are running Vue in development mode.
Make sure to turn on production mode when deploying for production.
See more tips at https://vuejs.org/guide/deployment.html
modelview.html:302 {"model":{"name":"test","type":"vrm","picBg":"","path":"C:/Users/wszwb/Desktop/test.vrm","accessories":{},"binding":{}},"backgroundColor":"#dee0ff","color":"#4355b9","textColor":"#00105c","useGlass":true}
three.js:35986 THREE.WebGLRenderer: .shadowMapEnabled is now .shadowMap.enabled.
set @ three.js:35986
Show 1 more frame
Show less
modelview.html:533 Loading model... Infinity %
modelview.html:533 Loading model... Infinity %
modelview.html:533 Loading model... Infinity %
modelview.html:533 Loading model... Infinity %
modelview.html:533 Loading model... Infinity %
modelview.html:533 Loading model... Infinity %
modelview.html:533 Loading model... Infinity %
modelview.html:533 Loading model... Infinity %
three-vrm.js:3253 Uncaught (in promise) Error: Could not find VRM extension on the GLTF
at VRMImporter. (three-vrm.js:3253:27)
at Generator.next ()
at three-vrm.js:58:75
at new Promise ()
at __awaiter (three-vrm.js:54:16)
at VRMImporter.import (three-vrm.js:3251:20)
at VRM. (three-vrm.js:3332:45)
at Generator.next ()
at three-vrm.js:58:75
at new Promise ()
lil-gui.umd.min.js:8 Uncaught TypeError: Cannot read properties of null (reading 'visible')
at m.add (lil-gui.umd.min.js:8:26005)
at modelview.html:571:24
add @ lil-gui.umd.min.js:8
(anonymous) @ modelview.html:571
Show 1 more frame
Show less

@xianfei
Copy link
Owner

xianfei commented Jun 28, 2024

看起来是three-vrm.js解析VRM的问题,我也尝试一下,有可能是新版本Vroid Studio生成的VRM格式太新了,当前使用的three-vrm.js解析不了

@xianfei
Copy link
Owner

xianfei commented Jul 2, 2024

Snipaste_2024-07-02_15-55-21 image

目前是只支持VRM0,暂时不支持VRM1

@xianfei
Copy link
Owner

xianfei commented Jul 16, 2024

v0.7.x添加了vrm-1.0的支持

@xianfei xianfei closed this as completed Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants