Hi
,
is it an expexted behavior, that the AR scene crashes on iOS, when I use UI Text Component?
I did several tests - when I disable the Text Compontent (via tag âEditor onlyâ, the scene does not crash.
I use an imported font Roboto, and on Android the font is being displayed correctly.
Hi Katja, thanks for reaching out. Using a UI Text component in an AR scene isnât supposed to crash the experience on iOS, so what youâre seeing isnât expected behavior. Since disabling the Text component (via the âEditor onlyâ tag) stops the crash and the same scene works fine on Android, it suggests that something specific to the textârendering (perhaps in combination with your imported Roboto font) is triggering an issue on iOS.
Here are a few suggestions to help narrow down the problem:
âą Make sure youâre running the latest version of Needle Engine since recent updates have addressed various platformâspecific issues.
âą Try switching temporarily to a default system font or another font asset. This can help determine whether the problem is specific to the Roboto import.
âą If possible, check the iOS device/error logs (using Safariâs remote debugging or the Needle Engine log panel via âHelp/Needle/Logsâ) to see if any errors point to a specific issue with the Text component.
âą If the issue persists, consider creating a minimal reproducible example using the sample tool (Needle-engine - Vite Template (duplicated) - StackBlitz) and file a bug report with the Needle Engine team. Including details such as the exact iOS version, browser, and logs will help diagnose the problem faster.
The Text component itself is documented as part of Needle Engine (see documentation for the Text component at needle-engine-samples.json.md), and it should work across platforms. Since AR on iOS has some extra constraints, this may be a bug that we need to address. Let us know if you need further assistance!
4 replies left
thread_tfgRhOYJrKKrxRvR1HHaphWd
Reply to this post directly if you need further help (bottom right button)