# VPS Template - Using updated ARGameLogic.cs script for iOS - Object prefab not instantiating after tapping on device screen - any ideas please?

**URL:** <https://community.nianticspatial.com/t/vps-template-using-updated-argamelogic-cs-script-for-ios-object-prefab-not-instantiating-after-tapping-on-device-screen-any-ideas-please/2445>\
**Category:** I'm Stuck\
**Created:** [August 1, 2022, 7:01pm UTC](https://community.nianticspatial.com/t/vps-template-using-updated-argamelogic-cs-script-for-ios-object-prefab-not-instantiating-after-tapping-on-device-screen-any-ideas-please/2445 "2022-08-01T19:01:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Christian\_Esdaille](https://avatars.discourse-cdn.com/v4/letter/c/df788c/32.png) [@Christian\_Esdaille](https://community.nianticspatial.com/u/Christian_Esdaille)\
**Post date:** [August 1, 2022, 7:01pm UTC](https://community.nianticspatial.com/t/vps-template-using-updated-argamelogic-cs-script-for-ios-object-prefab-not-instantiating-after-tapping-on-device-screen-any-ideas-please/2445/1 "2022-08-01T19:01:54Z")

</div>

_Include the following details (edit as applicable):_

- **Issue category** : VPS
- **Device type & OS version** : iOS iPad Air
- **Host machine & OS version** : Mac
- **Issue Environment** : On Device
- **Xcode version** : 13.4.1
- **ARDK version** : 2.1.0
- **Unity version** : 2020.3.37f1

Description of the issue:

I was able to use the updated code snippet from the walkthrough, build and run on device. Although, when I tap on the screen to place an object, nothing is placed.

Iv’e tried with the mushroom prefab and a custom prefab. Any ideas on why this is happening?

Thanks

---

<div class="post-metadata">

**Author:** ![rob\_link](https://sea2.discourse-cdn.com/niantic/user_avatar/community.nianticspatial.com/rob_link/32/1176_2.png) [@rob\_link](https://community.nianticspatial.com/u/rob_link)\
**Post date:** [August 1, 2022, 9:06pm UTC](https://community.nianticspatial.com/t/vps-template-using-updated-argamelogic-cs-script-for-ios-object-prefab-not-instantiating-after-tapping-on-device-screen-any-ideas-please/2445/2 "2022-08-01T21:06:29Z")

</div>

Hi Christian,

ARDK doesn’t offer iPad support at the moment, but I’m happy to troubleshoot the issue with an iPhone device.

Are you able to provide some screenshots of the Inspector view of some of your GameObjects? Namely, the GameObject that your **ARGameLogic.cs** script is attached to, and perhaps any ARDK-specific GameObjects in your hierarchy?

This may help us determine what’s happening with your scene.

Also, are you referring to the **ARGameLogic** script used in the [Building with VPS](https://lightship.dev/guides/building-with-vps/#:~:text=current%20device%20coordinates.-,04%20%2D%20Code%20Snippet,-Here%20is%20the) guide? If so, have you made any modifications to the script?

---

<div class="post-metadata">

**Author:** ![Christian\_Esdaille](https://avatars.discourse-cdn.com/v4/letter/c/df788c/32.png) [@Christian\_Esdaille](https://community.nianticspatial.com/u/Christian_Esdaille)\
**Post date:** [August 2, 2022, 6:40pm UTC](https://community.nianticspatial.com/t/vps-template-using-updated-argamelogic-cs-script-for-ios-object-prefab-not-instantiating-after-tapping-on-device-screen-any-ideas-please/2445/3 "2022-08-02T18:40:04Z")

</div>

Hey Rob, thanks for the reply.

I didn’t realize there wasn’t support for the iPad, I’m working on getting an iPhone for testing. I’ll rebuild on the device when I get it and circle back here if I have any problems.

---

<div class="post-metadata">

**Author:** ![Maverick\_Niantic](https://avatars.discourse-cdn.com/v4/letter/m/8edcca/32.png) [@Maverick\_Niantic](https://community.nianticspatial.com/u/Maverick_Niantic)\
**Post date:** [March 5, 2026, 11:50pm UTC](https://community.nianticspatial.com/t/vps-template-using-updated-argamelogic-cs-script-for-ios-object-prefab-not-instantiating-after-tapping-on-device-screen-any-ideas-please/2445/4 "2026-03-05T23:50:04Z")

</div>

Age
