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

TypeError: Cannot read property 'length' of undefined #239

Open
GoogleCodeExporter opened this issue Aug 17, 2015 · 0 comments
Open

TypeError: Cannot read property 'length' of undefined #239

GoogleCodeExporter opened this issue Aug 17, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

I converted a .dae with the converter tool --no-archive and --base-path. When 
using the helloworld.html to load it however, i get an error: "could not load 
..../scene.json TypeError: Cannot read property 'length' of undefined.

What is undefined is the uri "index-buffers.bin" in archiveInfo.files, causing 
o3d.Buffer.prototype.set() getting undefined values (called by var rawData = 
deserializer.archiveInfo.getFileByURI(uri); in 
o3djs.serialization.Deserializer().

I've been trying to debug, but I don't see any place where it would be added, 
since "index-buffers.bin" isn't in the scene.json nor is it somewhere hardcoded 
in the scripts.

Original issue reported on code.google.com by Vlie...@gmail.com on 3 Apr 2011 at 2:35

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant