# Stuck with Semantic Texture Tutorials

**URL:** https://community.nianticspatial.com/t/stuck-with-semantic-texture-tutorials/1524
**Category:** I'm Stuck
**Created:** [February 23, 2022, 3:48pm UTC](https://community.nianticspatial.com/t/stuck-with-semantic-texture-tutorials/1524 "2022-02-23T15:48:47Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![kanu](https://avatars.discourse-cdn.com/v4/letter/k/48db29/32.png) [@kanu](https://community.nianticspatial.com/u/kanu)
#### Post date: [February 23, 2022, 3:48pm UTC](https://community.nianticspatial.com/t/stuck-with-semantic-texture-tutorials/1524/1 "2022-02-23T15:48:47Z")

</div>

_Include the following details (edit as applicable):_

- **Issue category** : Semantic Segmentation
- **Device type & OS version** : iOS
- **Host machine & OS version** : Mac
- **Issue Environment** : Unity Editor
- **Xcode version** : 13.2.1
- **ARDK version** : 1.1.0
- **Unity version** : 2020.3.28f1

Description of the issue:  
Facing issue with one of the tutorials

> **[Niantic AR Development Kit (ARDK): Semantic Segmentation Textures Tutorial](https://www.lightship.dev/docs/moderate_semantictextures_tutorial.html)**
>
> Niantic AR Development Kit (ARDK) - Version 1.2.0 - 1.0.1

Getting this error  
NullReferenceException: Object reference not set to an instance of an object.  
at XXXXXX.OnRenderImage

Any help is appreciated.

Thanks

---

<div class="post-metadata">

### Author: ![Kevin\_W\_Young](https://avatars.discourse-cdn.com/v4/letter/k/898d66/32.png) [@Kevin\_W\_Young](https://community.nianticspatial.com/u/Kevin_W_Young)
#### Post date: [February 23, 2022, 11:06pm UTC](https://community.nianticspatial.com/t/stuck-with-semantic-texture-tutorials/1524/2 "2022-02-23T23:06:53Z")

</div>

Hey Kanu, the NullReferenceException error you are getting is likely due to not initializing OnRenderImage correctly. If the scripts are not complete they can throw errors, especially if you run them without finishing the tutorial. Alternatively, if you did not load the correct texture to your Semantics Tutorial script component, you can also expect the same error.

---

<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:21pm UTC](https://community.nianticspatial.com/t/stuck-with-semantic-texture-tutorials/1524/3 "2026-03-05T23:21:16Z")

</div>


