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://192.168.50.90:3000/DamagedHelmet.glb 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
c```

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
![image.png](https://cdn.discordapp.com/attachments/1100083298425913344/1100083298698530856/image.png?ex=65d375e8&is=65c100e8&hm=8a3b363297ce175e095e7c707c5063bdbc3826ca630db7aca3fd94ea93ee68b1&)

[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)
Link:https://drive.google.com/file/d/12Sc-6hrgGpfNOypV_lD5uQ_qZpZt2Wtz/view?usp=share_link

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
20230425-122838_Model_Preview_-_Google_Chrome-logo.mp4

but dropping the URL doesnt work
20230425-122909_Model_Preview_-_Google_Chrome-logo.mp4

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!