# unityGLB **Repository Path**: fellowm/unity-glb ## Basic Information - **Project Name**: unityGLB - **Description**: unity 使用glb文件,支持editor/runtime的导入和导出 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-06-27 - **Last Updated**: 2025-06-27 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 第三方 unityGLB & gltf #### 介绍 unity 使用glb、gltf文件,支持editor/runtime的导入和导出 glb :二进制文件 gltf:josn文件 支持所有平台 https://github.com/KhronosGroup/UnityGLTF.git #### 问题 1.没有找到帮助文档 2.gameobject 导出的时候,会把子对象的animation 改到root节点 (不友好) 3.runtime 导出后,再次导入会出问题,导入前需要修改材质为UnityGLTF/PBRGraph 4.导出修改材质,对部分对象会出现白膜的情况 #### 软件架构 win:测试成功 webgl:测试成功 # unity 官方 https://github.com/Unity-Technologies/com.unity.cloud.gltfast #### 问题 1.当模型存在Uncaught TypeError: Carnot read properties of undefined (reading 'matrixWorld') 问题的时候 unity中表现正常,导出glb文件不会自动修复,文件虽说导出成功,但是在three.js 中观察会有错误,原因是3ds max 在骨骼节点创建一个虚拟的节点,需要3ds max 修复 2.在unity中编辑了贴图size,导出后发现贴图还是原始size