Loading a model in Droploader v3 TypeError: Cannot read properties of undefined (reading 'scene')

Tried updating my model viewer project from Needle v2 to v3, every time I load a model with DropLoader, I get errors like:
ps:// net::ERR_ABORTED 404 (Not Found)

    at chunk-KPWQTPVJ.js?v=4ce67336:23944:15c```
```TypeError: Cannot read properties of undefined (reading 'scene')
    at index.html:138:39

I find that this is only happening in local server, when done in a build these errors are not there. It never had these errors in the old Needle Version used which was v2 priori to v3

[Original Post on Discord](https://discord.com/channels/717429793926283276/1100083298425913344)

*by user 103054507105067008*

When you say “load a model with DropLoader” do you mean dropping something or using the methods on it?

There haven’t been any changes to it but there have been a few changes to path handling, so would be interesting what exactly you do

Yep dropping a model into the browser window. Will send a repro tomorrow morning

by user 103054507105067008

But that should only affect local paths on export, not file-paths being dropped :thinking:

Altough the error does look like it’s trying to fetch it from the local server whereas it should instead load it from a filehandle.

I’ll make a repro

by user 103054507105067008

Link here, install it and run from local server in Unity 2022.2.15f1 although not sure editor matters, Windows 11 with Google Chrome used to test - drag/drop DamagedHelmet.glb in or a similar glb test file from (https://github.com/KhronosGroup/glTF-Sample-Models/blob/master/2.0/DamagedHelmet/glTF-Binary/DamagedHelmet.glb)

by user 103054507105067008

Gave you access to it Marcel :+1: sorry used your work email

by user 103054507105067008

All good, I accidentally clicked on request access with the wrong email / google account

mmmh dropping the downloaded glb works fine in chrome

but dropping the URL doesnt work

Interesting, I’ll screen record here

by user 103054507105067008

For some reason the error is no longer showing, I am doing the exact same thing as before… I will close this for now but very confused as I was 100% dragging the same .glb file into the window. Could be a Chrome bug

by user 103054507105067008

Please let us know if you happen to see it again!