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)