<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/scene-setup-with-unity-cli-w3adedi1n" -->

---
title: Scene setup with Unity CLI | daily.dev
description: Unity's CLI pipeline package lets teams script scene setup tasks, such as instantiating prefabs and wiring references, into a single repeatable terminal...
canonical: https://daily.dev/posts/scene-setup-with-unity-cli-w3adedi1n
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Scene setup with Unity CLI | daily.dev
og:description: Unity's CLI pipeline package lets teams script scene setup tasks, such as instantiating prefabs and wiring references, into a single repeatable terminal...
og:url: https://daily.dev/posts/scene-setup-with-unity-cli-w3adedi1n
og:image: https://api.daily.dev/og/posts/w3AdEdi1n.png
og:image:alt: Scene setup with Unity CLI
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Scene setup with Unity CLI

**[Unity](https://daily.dev/sources/unity)** · 1 min read · 0 upvotes · 0 comments

## Summary

Unity's CLI pipeline package lets teams script scene setup tasks, such as instantiating prefabs and wiring references, into a single repeatable terminal command instead of doing it manually in the editor. It can also automate adding a scene to the build profile and setting portrait mode, reducing human error in setup workflows.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=8_bZLAQrvIM>

## Questions this post answers

### how can I automate connecting prefab references in a Unity scene instead of doing it manually

Unity's CLI pipeline package lets you write custom logic that builds a scene, instantiates prefabs, and wires their references programmatically, then exposes that logic as a terminal command using a CLI command attribute. This turns manual, error-prone scene setup into one repeatable command that anyone on the team can run, and it can also add the scene to the build profile and set orientation settings.

_daily.dev surfaces workflow tips like this for teams automating repetitive Unity scene setup._

## Similar posts on daily.dev

- [Meet the Unity CLI: manage Unity from your terminal](https://daily.dev/posts/meet-the-unity-cli-manage-unity-from-your-terminal-oyxu9r6jr) · Unity · 40 upvotes · 3 comments
- [Three Unity Extensions Every Team Needs For Maximum Productivity](https://daily.dev/posts/three-unity-extensions-every-team-needs-for-maximum-productivity-2niqiounv) · 80 LEVEL · 1 upvotes · 0 comments

---

Tags: [#game-development](https://daily.dev/tags/game-development), [#automation](https://daily.dev/tags/automation), [#cli](https://daily.dev/tags/cli), [#unity](https://daily.dev/tags/unity)

[View this post on daily.dev](https://daily.dev/posts/scene-setup-with-unity-cli-w3adedi1n)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Scene setup with Unity CLI","url":"https://daily.dev/posts/scene-setup-with-unity-cli-w3adedi1n","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/scene-setup-with-unity-cli-w3adedi1n"},"datePublished":"2026-08-20T13:37:01.673Z","dateModified":"2026-08-20T13:37:18.769Z","description":"Unity's CLI pipeline package lets teams script scene setup tasks, such as instantiating prefabs and wiring references, into a single repeatable terminal...","image":"https://i.ytimg.com/vi/8_bZLAQrvIM/sddefault.jpg","thumbnailUrl":"https://i.ytimg.com/vi/8_bZLAQrvIM/sddefault.jpg","isAccessibleForFree":true,"articleSection":"Unity","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Unity","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/9afe038cc27e4d95ad581284cea8578d","url":"https://daily.dev/sources/unity"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/scene-setup-with-unity-cli-w3adedi1n","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"game-development,automation,cli,unity","timeRequired":"PT1M","video":{"@type":"VideoObject","name":"Scene setup with Unity CLI","description":"Unity's CLI pipeline package lets teams script scene setup tasks, such as instantiating prefabs and wiring references, into a single repeatable terminal...","thumbnailUrl":"https://i.ytimg.com/vi/8_bZLAQrvIM/sddefault.jpg","uploadDate":"2026-08-20T13:37:01.673Z","duration":"PT1M","url":"https://api.daily.dev/r/w3AdEdi1n","embedUrl":"https://www.youtube.com/embed/8_bZLAQrvIM"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Unity","item":"https://daily.dev/sources/unity"},{"@type":"ListItem","position":3,"name":"Scene setup with Unity CLI"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/scene-setup-with-unity-cli-w3adedi1n#faq","mainEntity":[{"@type":"Question","name":"how can I automate connecting prefab references in a Unity scene instead of doing it manually","acceptedAnswer":{"@type":"Answer","text":"Unity's CLI pipeline package lets you write custom logic that builds a scene, instantiates prefabs, and wires their references programmatically, then exposes that logic as a terminal command using a CLI command attribute. This turns manual, error-prone scene setup into one repeatable command that anyone on the team can run, and it can also add the scene to the build profile and set orientation settings. daily.dev surfaces workflow tips like this for teams automating repetitive Unity scene setup."}}]}
```

