-
Notifications
You must be signed in to change notification settings - Fork 64
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
THREE.OBJLoader: Unexpected line: "<!DOCTYPE html>" #6
Comments
Same issue here |
Same issue |
Did anyone manage to fix this? |
Maybe this gist will help you |
No solutions yet? |
I just did make a simple test and did move .obj to "avatars" folder, found in public folder, and it worked. I realized that some components use relative folder to describe the source path, how showed below: I'm using a react template named 'Core-ui-free-react-admin'. So, althought i keep researching how to fix through the right way, I just dropped .obj files in avatars for now. |
the src parameter only takes a url, so, it must be the physical direction of the file in the computer that tha project is hosted in or a web url from where the model can be downloaded. e.g: https://groups.csail.mit.edu/graphics/classes/6.837/F03/models/teapot.obj |
Hi,

I keep getting an error when i try to load an obj file: Uncaught Error: THREE.OBJLoader: Unexpected line: ""
what can be the issue here?
The text was updated successfully, but these errors were encountered: