Object placement buggy in build

Include the following details while filing a bug report (edit as applicable):

  • Issue category: Unity Example Package
  • Device type & OS version: Android
  • Host machine & OS version: Windows
  • Issue Environment : On Device
  • ARDK version: 2.1
  • Unity version: 2020.3.36f1

Bug reproduction steps:

  • Start with object placement template
  • Add dots plane prefab to armanager
  • Build to android
  • Almost no objects properly spawn

Note:
using ARHitTestResultType.All does work fine

Hello Dylan,

In our investigation we were not able to reproduce your issue. Could you include any error logs that come up in your console? Also, have you followed the instructions for building for Android: Building ARDK Apps for Android — Niantic Lightship Augmented Reality Developer Kit release-2.1 documentation
Please let us know.

No errors come up and I did follow this. I have heard others have similar issues with objects almost never placing when using ARHitTestResultType.HorizontalPlane on Discord, so maybe it depends on the device?
I run a sony xperia 1 ii

1 Like

@Dylan_Smit ,
Without a reliable way to reproduce or logs to look at, there is only so much we can suggest…
Could you try and activate the ARLogs and get a way to print them on your device?

  1. Add the Scripting Define symbol ARDK_DEBUG to your project.
  2. In an Awake function on any of your scripts call.
ARLog.EnableLogFeature("Niantic")

That should help us know at least what is the point of failure?