Portal Rendering sample not working for AR/Quicklook on iOS

Hi :wave: hope everyone is doing fine :slight_smile:

I was just wondering, if it’s possible to have the portal sample https://engine.needle.tools/samples-uploads/stencil-portals/ working in AR on iOS with Quicklooks. The sample itself works perfectly on Android, but on iOS I only get the option to open it on Quest.

May this be due to Quicklook limitations of stencil rendering?

br,
Max

Hi Max,

The issue you are encountering with the portal rendering sample not working in AR on iOS might indeed be related to limitations of QuickLook, especially regarding stencil rendering.

QuickLook on iOS does not support certain advanced features like stencil-based rendering out of the box. Therefore, if your portal sample relies on these features, it may not work as expected in this environment. This limitation could prevent the sample from rendering correctly when accessed via QuickLook.

To ensure that your implementation supports iOS correctly, consider the following:

  1. Ensure Compatibility with USDZ: You should enable options specific to QuickLook during export to ensure proper compatibility. For instance, properties like quickLookCompatible and interactive in the USDZ exporter should be set correctly.

  2. Fallback Rendering: If stencil rendering is essential, implement a fallback rendering method that can provide acceptable visuals without using stencil techniques.

  3. Review Export Settings: Make sure your USDZExporter settings align with what’s supported by QuickLook. This includes ensuring that invisible objects are handled correctly, as iOS may strip visibility tokens not compliant with its requirements (see the documentation) .

It could also be beneficial to look over existing samples that function on iOS AR to examine how they handle similar requirements (see the documentation).

Feel free to reach out for further assistance or clarification on any of these points!

3 replies left
thread_h5KwEB0PSEKT1tCH4qf6l9Xy
Reply to this message to continue the conversation

This topic was automatically closed 13 days after the last reply. New replies are no longer allowed.