Also, I notice when I do try and export a GLB model, in the App Data directory the Electron blob storage folder gets updated but there is nothing in it.
@J450NP13 I tried to make a minimal reproduction environment in codesandbox but it throws an error when trying to use electron there, have you tried copying the official GLTFExporter example one for one to see if it works as expected?
Are you just recently porting to electron? Found a good article on how to download files using electron, it’s worth a read, I did assume the href download link may be the issue, it looks like you need to handle the file download in the way a lower level application would to a specified location on a device…
Lawrence to answer your question though…I am just now discovering Electron and fell down the rabbit hole…was totally unaware of it. I have been a .NET person up till recently. and now am moving more out of my comfort zone and Electron is freaking awesome.
So, this is basically my first project in Electron and of course I need THREE in it and I also have a Unity webGL build working in it.
I will get this app up to standards and that will probably be the solution…now that I am seeing this ICP stuff I need to do.
Would be cool to see the outcome when you’re done.
Yeah I couldn’t find much on the subject apart from that article, I would have imagined stdlib for react-three-fiber in a native environment would have a handler for a device specific GLTFExporter scenario but again I couldn’t find anything related to the issue…
So I took the entire example into my Electron app…reconnected all the paths for three…and it worked…refactored it exactly the same way in my main.js and I get the same run around with the GLTFExporter being undefined or not a constructor…WTF