Configure ar scene
This article uses image tracking as an example to explain how to configure the simplest AR scene.
Before starting
- Import the EasyAR Sense Unity plugin and fill in the license key according to Enable EasyAR.
Note
If your project uses URP (Universal Render Pipeline), additional URP configuration is required.
Add ar session
In the Hierarchy view, right-click in a blank area, and create an image tracking session via EasyAR Sense > Image Tracking > AR Session (Image Tracking Preset).

Configure camera
Select Main Camera, and set the following parameters in Inspector.
- Set
Clear FlagstoSolid Color. - Set
Backgroundto black. - Set
Clipping PlanesNearto 0.1 (meters),Farto 1000 (meters).

Add target
In the Hierarchy view, right-click in a blank area, and add an Image Target via EasyAR Sense > Image Tracking > Target : Image Target. It appears as a question mark icon by default.

Select the image to be tracked, set the following parameters, and click the Apply button:
- Set
Texture TypetoEditor GUI and Legacy GUI. - Enable
Read/Writein Advanced. - Set
FormattoRGB 24-bit.

Configure ImageTargetController:
- Set Source Type to
Texture 2D. - Set Texture to the configured image.
- Set Name to namecard.
- Set Scale to 0.09 (indicating 0.09 meters).
- Set Tracker to
ImageTrackerFrameFilterunder ARSession.

Tip
Partial configuration content varies when Source Type differs.
Add 3D content following target
3D content added under the Image Target node maintains a fixed position relative to the image. When the image moves, virtual content follows accordingly.
In the Hierarchy view, select Image Target, and add a Cube via 3D Object > Cube.

Select the newly added Cube and configure its properties:
- Set Transform
Scaleto {0.5, 0.3, 0.3}. - Set
zvalue of TransformPositionto -0.15 (aligning the Cube's bottom face with the recognition image).

At this point, the simplest AR scene configuration is complete. Run the scene and align the image to see the Cube appear above it.
Next steps
- Yellow text appears on screen during runtime. Refer to Diagnostic information in scenes to understand its meaning and common configuration methods.
Related topics
- Learn about AR Session
- Learn about Camera in AR scenes
- Learn about Target