Camera not working after ftp upload

Hi, I have a question. I have used completely Character controler example scene. It works well on local server, but after build and uploading dist folder files to ftp, camera is static? Svojanov_update_2023
What to change to get it work? Thank you

Original Post on Discord

by user 869976161550217286

console: failed loading assets/sceneRoot.glb?v=1685531881790 Error: fetch for “https://virtual.maddadfarmhouse.com/Svojanov/assets/sceneRoot.glb?v=1685531881790” responded with 404:
at index-5802d728.js:3190:180642

by user 869976161550217286

Oh, so I have copied all scripts from scene root to level 1 and also copied eventSystem XR and camera to level, and norw it works

by user 869976161550217286

Hm, you shouldn’t have to manually copy files.
Did you use the “Deploy to FTP” component or did you manually upload the dist folder?

:face_with_spiral_eyes: is the house rotating?

manually copied, I have sftp and needle doesnt support it, we were talking about this already.

by user 869976161550217286

I meant copied all scripts from character scene to my main scene, and it is working now

by user 869976161550217286

What I am solving now, is to find a way how to move with the character on mobile, because controler works only with awsd keys.

by user 869976161550217286

Is there any example for web how to move object to clicked position? I dont need animated character , I can hide or delete it, but I want to move with camera to the clicked position, with smooth follow script, for example

by user 869976161550217286

But I didnt found any example which will place object to clicked position, will you advice me something?

by user 869976161550217286

I can place for example hiden object and use it as target. Then smooth follow script for camera.

by user 869976161550217286

To be able walk trough the building?

by user 869976161550217286