playcanvas / editor

Issue tracker for the PlayCanvas Editor
https://playcanvas.com/
160 stars 28 forks source link

GLB: issue when upload glb and covert in json #1191

Closed LynX39 closed 1 month ago

LynX39 commented 2 months ago

Description

Provide as much information as possible. Include (where applicable):

There is an issue when uploading GLB files within the editor, resulting in only the structural JSON file being created instead of all associated files. Screenshots and the imported test file will be provided below.

File: test.glb.zip

Screenshot_3 Screenshot_4

Steps to Reproduce

  1. Upload a glb
slimbuck commented 2 months ago

Hi @LynX39,

The editor is importing the model in the legacy json format.

Please go to settings->asset tasks and make sure Convert to GLB is enabled. (Toggle the setting if it's already enabled).

This should result in GLBs being imported.

Thanks

mvaligursky commented 2 months ago

@kpal81xd - this can be probably closed?

marklundin commented 1 month ago

I have checked this with a new and existing project, and this seems to be fixed. Please re-open if you're still having this issue @LynX39