#Website displays as black page on iOS devices
1 messages · Page 1 of 1 (latest)
Can you check if your tsconfig has skipLibCheck set to true?
Hello, Yes its set to "true"
I need to change this ?
true is correct
Okay, you want another information ?
Would be great if you could try to hold ALT and click on "Install" in the ExportInfo component
(that clears some caches and reinstalls)
I think its okay, but how many time take the build ?
The actually command is ```
npm run build:dev && npm run pack-gltf
Shouldn't take so long, depending on your scene.
We log all ongoing things into the console, are there errors visible there?
Nope,
But my scene is an edit from the basic exemple scene
Yeah that should be fine. Just to make sure, can you simply restart Unity and try again? I'm pretty sure there's just something stuck
Okay I'm trying, I have relaunch build.
What happens if you make a development build?
Already try its seems
It would help if you post the last logs you're getting in the console here
you can do it like this:
Sorry for some reason the editor logs were not included (maybe an issue on OSX). Can you send the file manually?
The Unity logs look fine, checking the npm logs now
How can I have access to npm logs from unity ?
They're sent with the bugreport zip or you can open them via this menu item
I dont understand because if I kill my build, is successful, but if I take my dist folder for make it in my ftp it not the good version of my project
but i dont see any interesting log... they're all just 1kb and contain info that the command was started and finished and nothing more
Ah react problems?!
It is not installed in the project. Ah the log you sent is from november 2022 😄 this one #1080428073289257010 message
oh ok -_- lol
@lethal hull is my last i think
I think it could be interesting
is the lasts logs from yesterday
mh ok it contains peer dependency errors with Found: @needle-tools/engine@undefined 🤔 mmmh
can you try opening the web project directory in the terminal and then run npm run build:dev manually from there and see if it contains the same errors?
Can you try running install (npm install) and then build again?
Ok same as in the log. What happens if you do run npm install --force ?
what is test
Very strange.
Is that project on git by any chance?
I'm assuming it would work if you remove the npmdef dependency in Unity and then install+build again?
Ah i thought you added that -can you check the export info and make a screenshot for me?
named "test"
It's an npmdef file, looks like this I assume? Did you create it?
I dont know i have started this in september or october 😦
I think I have try the exemple
and I have edited and code over that
sorry for my english...
Ah ok I see
Ok its better, but not working
npm install have worked, after I have test npm run build:dev
This is the result of run build
@lethal hull i've deleted node_modules folder
and package lock
and clear cache
and reinstall all modules, but same error
or if @white ferry you have any idea
Is the project on github or somewhere you could give us access to?
just local but i can upload where you want
but i dont know how send you all project
i upload zip of all unity project
You dont need to send the library folder of your unity project
just my collaborativesandbox ?
The unity project (without library) and the web project.
@lethal hull ?
It says User account '....' from identity provider 'live.com' does not exist in tenant 'Epitech' and cannot access the application
Maybe use https://wetransfer.com/ ?
ty
done
thanks
Got your project running now
The only change i made was adding "skipLibCheck": true to the tsconfig. Then it built successfully
Are you using npm? which version of npm / node are you using?
node 19.6.0
npm 9.4.0
Could you try downgrading to node 18 LTS?
Oh i have add "skipLibCheck": true in my tsconfig and my dist folder it be filled
Its work !!
not on phone but its work
yep
blank page just..
Can you share the link with me?
it correct with computer
Have you test my link ?
News : i have check console log (we can make that with iPhone and mac) and the console is same on iPhone..
Anyone ?
To summarize:
- building works for you now
- you get a blank page on iOS on the URL you shared above?
If that's correct: could you try https://ilaan.fr/3d ?
Browsers are moving more and more away from http (without the s) support, so that's always good to check if it works on HTTPS
It’s exactly that, yes I am on https but that works on pc I think is not the problem
It might honestly be as easy as your SSL certificate being invalid - some browsers will display a warning and let you continue while others will not allow that.
This might also be a problem: you're trying to request pointer lock before any user gesture has happened, which may simply lock up the browser depending on their implementation (you're not even catching the exception)
Lots of errors related to incorrect handling of pointer locking