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

Could not export glb or gltf at runtime. #67

Open
cstamati opened this issue Nov 29, 2022 · 1 comment
Open

Could not export glb or gltf at runtime. #67

cstamati opened this issue Nov 29, 2022 · 1 comment

Comments

@cstamati
Copy link

cstamati commented Nov 29, 2022

Hello!
I updated to version 1.18-3pre (because I want to export also animations at runtime) and the export at runtime, even if is a basic 3d model, is not working anymore. I provided a sample project (URP) and a build to debug the issue. I also tried on Standard Rendering Pipeline and it's not working either.

Test

Screenshot 2022-11-29 130645

Build: https://drive.google.com/file/d/1nxdL9-4OySHCYrqcBEet_ddQO4N9peR8/view?usp=share_link
Sample Project: https://drive.google.com/file/d/1kgk8SOyvJ1Whm0OPNCKFWoSKYvRKtrDc/view?usp=share_link

How To Reproduce:

  • Download Sample Build
  • Open the application
  • Change the export path to your desired location
  • Click Export button

Expected Result:
A File.glb should be exported at the desired path and it's size should be 35KB

Actual Result:
A File.glb should be is exported at the desired path but the size is 0KB

Notes:

  • The same issue is not reproducible in editor.
  • You can check GLTFExporter component inside sample project for the implementation logic
  • I assume it's because of the exception? But i'm using the same version on main project and i don't get any exception.
@pfcDorn
Copy link

pfcDorn commented Jan 23, 2024

Hey,
the sampe project is not available anymore.
Can you please test if it works with latest untiygtlf version?

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