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

Sample Scenes can't be fetched? Don't know what I'm doing wrong. #115

Open
Xantomen opened this issue Oct 11, 2023 · 2 comments
Open

Sample Scenes can't be fetched? Don't know what I'm doing wrong. #115

Xantomen opened this issue Oct 11, 2023 · 2 comments

Comments

@Xantomen
Copy link

I installed the package with the Package Manager, latest version. That's all good, I can export GLBs and so, but I don't understand how to make the Samples work.

This is what I receive whenever I try to run any sample Scene, I don't know what to do:

Error when loading AnimatedCube.gltf (C:/UnityProjects/DownOnly/Assets/StreamingAssets/http://localhost:8080/glTF-Sample-Models/2.0/AnimatedCube/glTF/AnimatedCube.gltf): HTTP/1.1 404 Not Found

Note: In reality, the reason I want to check Samples is because I seem to be unable to make the GLBs contain Cameras in any way, so I want to check if the Cameras get exported/imported when making GLBs of the Sample Scenes to guess what's wrong with my Scenes.

My GLBs export animations, transforms and textures all right, just I don't know what I have to do to export the Camera so later when I view the GLB somewhere else it will view the model from my Camera. 🤷

Would appreciate some help or explanation. Thank you!

@pfcDorn
Copy link

pfcDorn commented Feb 21, 2024

hey, Camera import was missing. Will be in the next release!

@hybridherbst
Copy link

@Xantomen Cameras are exported correctly in the current available release already.
Any enabled cameras in your exported hierarchy will be exported as cameras in the glTF file.

As pfcDorn mentioned, import of cameras was not supported but will be in a next release.

I'll keep this issue open to look at samples issue – the included samples are pretty legacy but we can check if we can replace it with something better or at least clean it up.

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

3 participants