I am absolutely new to PlayCanvas and have just downloaded my first project as a ZIP-file.
After that I extracted the ZIP and uploaded the folder into my public dropbox folder.
(This public dropbox folder usually can host websites without any problems.)
When trying to open the index.html in a browser (tested Firefox+Chrome) it starts downloading but hangs at ~98%.
Yes, it´s running fine on PlayCanvas server.
Yes, there´s an error:
“Uncaught TypeError: Cannot read property ‘version’ of undefined” playcanvas-stable.min.js:779
Oh, maybe because I am a “free” user?
But why am I allowed to download at all?
Hmm, I don’t know how well dropbox deals with hosting websites. It’s probably better to host it on a proper webhost. There are many free options, I’m currently using byethost.com for my websites.
I believer that dropbox wraps links to images with some other HTML, so it may be that getting in the way.
Maybe there’s an issue with your server? Perhaps it’s not accepting all file formats? It shouldn’t be a problem with your project though if the asset is deleted from the server it’s a server issue…
Hi @Cascho.
I’ve made small fix in engine to better identify if url contains JSON.
Please try downloading it again, or just replace the engine on drop box with new one: https://code.playcanvas.com/playcanvas-stable.js (should be v0.173.1+)
And few more tips on your project, it looks cool already, but you can improve quality way more by using some interior cubemap, and applying it to furniture with Physical type of material, and playing with metalness/glossiness. You could add me to your project (max) and I could do some of those changes just to show you as example.
You .min. new one too, it will be smaller (https://code.playcanvas.com/playcanvas-stable.min.js)
Regarding your scene. If you could upload one CubeMap that has office interior in it, possibly from your renders, then it would make big difference for furniture inside.
Other few tips, it is better to import in Editor smaller models, like Chair, Table, etc, and position them in editor. Separating things is good to some point as well, gives you more flexibility over setting up materials.
Another good practice, is to set up materials independently of the model, and reuse them. Less materials in scene, faster it will load.