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

Is it possible to export GLTF in WebGL runetime ? #641

Closed
OctocatPower opened this issue Jan 31, 2022 · 5 comments · Fixed by #644
Closed

Is it possible to export GLTF in WebGL runetime ? #641

OctocatPower opened this issue Jan 31, 2022 · 5 comments · Fixed by #644

Comments

@OctocatPower
Copy link

Hi,
I am actually trying to export a GLTF from WebGL build.
When i try it, i got this error : Could not find a part of the path

I find that there is no access to the file system for security reasons. So, i got this error. Solution is to use WWW class to download the file before being able to parse it. But is it possible to aply this ? Important sripts are in a dll so i can't see what is doing in this ...

@hybridherbst
Copy link
Collaborator

hybridherbst commented Apr 8, 2022

It's possible with this PR which will be merged in 1-2 weeks unless there's concerns:

Would be great if you test that out.

@hybridherbst hybridherbst linked a pull request Apr 8, 2022 that will close this issue
@Vaigo
Copy link

Vaigo commented Sep 23, 2022

Hi @OctocatPower, Did you find any solution regarding the same issue.?

@OctocatPower
Copy link
Author

Hi @Vaigo, sadly, i don't got the answer ...
On my web server, i got the error.
But on the client web server, I don't got this error ...
Think it's about web server managment but don't know exactly where.
If it help, I personnaly used "SaveGLBToByteArray" function.

@hybridherbst
Copy link
Collaborator

Can you please test from this fork which will be merged back here soon:
#641 (comment)

@Vaigo
Copy link

Vaigo commented Sep 25, 2022

Hi @hybridherbst, Which method/Script i need to use to export the Gameobject in webgl?

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

Successfully merging a pull request may close this issue.

3 participants