Hello together,
I’m pretty new to Unity & Needle and have some problems running it on my Mac Mini. Was following the “getting started video” installing Unity, Node, Needle… and everything looks good, but when I save my scene in Unity, Safari is not updating… to see my changes, I have to use “Open Server”, “Play” is not working. I try to export to usdz (that’s what I finally want to check out), added components “WebXR” and “USDZExporter”, but can’t find an Export-USDZ-Button in the browser. Perhaps something is still missing… someone can help?
Regarding the first, “Safari not updating”: usually that means that the local development server isn’t correctly running. Do you get any logs in the Unity console after pressing “Start Server”?
.
2) Regarding the second, “No USDZ Button in the browser” -
the button will show by default on iOS devices that have QuickLook support (so, on iPhone and iPad)
for debugging on desktop browsers you can add ?debugusdz as URL parameter to the end of the URL, this will give you a button to download the USDZ directly for local testing.
Hi, that’s what I guess, the server not there. When I use “Start Server” ,there’s nothing in the console…
but using “Play”, a lot: (just copied from Console)
And looks like the page is served. Would be great if you could also check the debug console in the browser; there should be messages like “connected” or “can’t connect”
Hi Felix, here some Screenshots from my Mac/Safari/Console. So i think it’s a Security/SSL Problem, perhaps some settings somewhere, but up to now I couldn’t find it.
So the HTTPS warning is expected, as you’re making a HTTPS connection to your own machine (which is not in what’s called a “Trusted Root CA”). But usually you can still use websockets then
I can open https://localhist:3000, but get same errors in the JS Console.
I was adding “WebXR” and “USDZExporter” components on the scene. Where do I need to activate AR?
I didn’t change the background url in networking… it’s just “/socket”
Thats what I see in network > screenshot.
Good news, I was installing Firefox and made it the default browser, now everything seems to work as it should. Firefox was also warning first, the the connection is not secure, but after “accepting the risk and continue” it worked, and that’s what is not happening with Safari. Perhaps you have a Safari issue? (but perhaps only for me…)