YouTube2Text

Marrow SDK Scene Chunks — Transcript

by Stress Level Zero · 2,719 words · 416 segments · language en · Watch on YouTube

Full transcript

  1. 0:01[Music]
  2. 0:06hey folks this is Greece scotman this
  3. 0:09Maro SDK level authoring tutorial will
  4. 0:11cover scene chunks scene chunks are an
  5. 0:14advanced topic that may require some
  6. 0:16time in experimentation to realize their
  7. 0:18potential however they're one of the
  8. 0:20most powerful tools at the level
  9. 0:21designer's fingertips and can unleash
  10. 0:24creativity Fidelity and performance not
  11. 0:26possible with single scene levels is
  12. 0:29highly recommended that you have a firm
  13. 0:31understanding of zones with Zone links
  14. 0:33as they serve as the foundation for the
  15. 0:34scene chunk system if you have not
  16. 0:36watched the tutorial video on that topic
  17. 0:39or read their related Maro SDK wiki page
  18. 0:42this tutorial may be difficult to follow
  19. 0:44the scene chunk system allows designers
  20. 0:46to carve a level into several smaller
  21. 0:48scenes scene chunks along with zones
  22. 0:51with Zone length Zone color and Zone
  23. 0:53chunk loader components are used to
  24. 0:55define which scenes will be loaded
  25. 0:57around the player these small scenes
  26. 1:00will dynamically stream in and out as
  27. 1:02the player traverses through the level
  28. 1:04careful use of Zone chunk loaders and
  29. 1:06Zone links will ensure parts of the
  30. 1:08level do not suddenly appear or
  31. 1:09disappear directly in front of the
  32. 1:11player and combat scenarios flow
  33. 1:13naturally the scene chunk system is
  34. 1:15aggressive in putting all geometry
  35. 1:17entities and assets into a dormant State
  36. 1:20even the physics state of an object is
  37. 1:21frozen and stored when an object streams
  38. 1:23out ensuring the most minimal resource
  39. 1:26usage possible to enable scene chunks
  40. 1:29the level crates inspector has a multi-
  41. 1:31scene toggle that enables the scene
  42. 1:33chunk streaming system for the level
  43. 1:36once activated several additional list
  44. 1:38Fields become available on the level
  45. 1:40crate the root persistent scene is an
  46. 1:43always loaded scene and it should
  47. 1:45contain any items that should never be
  48. 1:47put into a streamed out or dormant State
  49. 1:49this scene should contain items like the
  50. 1:51player marker scene chunks Zone Zone
  51. 1:54music and Ambience items create spawners
  52. 1:57and any postprocessing effects
  53. 2:00additionally game objects with global
  54. 2:02properties were items that will be
  55. 2:03visible across most if not all scenes
  56. 2:06like the levels of sky or the
  57. 2:08directional light should reside in the
  58. 2:10root persistent scene light probe data
  59. 2:13is shared across all scenes that are
  60. 2:14baked together so organize light probe
  61. 2:17groups based on personal preference the
  62. 2:19data they generate will be aggregated
  63. 2:21regardless if it is gathered in the root
  64. 2:23persistence scene or organized across
  65. 2:25additional scenes Prime candidates of
  66. 2:28level content that should be split off
  67. 2:29off into separate chunk scenes include
  68. 2:32static geometry baked lights reflection
  69. 2:35probes and other static resources these
  70. 2:38scenes will be streamed in and out based
  71. 2:39on the primarily activated Zone link and
  72. 2:42its Zone chunk loader component The Zone
  73. 2:44chunk loader component lists which scene
  74. 2:46chunks should be loaded for a given
  75. 2:48active Zone link the chunks list on the
  76. 2:51Zone chunk loader component should
  77. 2:53contain the current scene chunk and any
  78. 2:55other scene chunks that share line of
  79. 2:57sight with the current one the the
  80. 2:59Combat gameplay considerations raised in
  81. 3:01the zone creation and linking video
  82. 3:03tutorial should also be applied to Zone
  83. 3:05chunk loaders a recommended practice to
  84. 3:08ensure smooth invisible transitions
  85. 3:10between scene chunks is to always have
  86. 3:12the current scene chunk and the
  87. 3:14immediate neighboring scene chunks
  88. 3:15loaded as the player moves through the
  89. 3:17level there are a number of tools to
  90. 3:19help with scene chunk creation once a
  91. 3:21game object with a scene chunk component
  92. 3:24exists in the unity hierarchy The Zone
  93. 3:26creation tools will automatically add
  94. 3:28Zone Chuck loader components to any new
  95. 3:30linked zones zones created before a
  96. 3:32scene chunk existed will need to have
  97. 3:34Zone chunk loaders added manually
  98. 3:37whenever a scene chunk is selected a
  99. 3:39contextual overlay will appear in the
  100. 3:41lower right corner of the scene view the
  101. 3:44add remove Zone colors toggle will
  102. 3:46display Handles in the scene view that
  103. 3:47will allow you to quickly add a Zone
  104. 3:49colors that should be members of the
  105. 3:51currently selected scene chunks Zone
  106. 3:53colors
  107. 3:54list when a Zone chunk loader is
  108. 3:56selected you can lock the inspector and
  109. 3:58use the buttons on the component to add
  110. 4:00or overwrite its chunks
  111. 4:04list the Zone creation and linking
  112. 4:06overlay has a tool that will help
  113. 4:08automate some of the steps needed to
  114. 4:10create a scene chunk it's additive Unity
  115. 4:12scene and will even attempt to move any
  116. 4:14selected root game objects into the
  117. 4:16newly created chunk scene the scene
  118. 4:19folder path defaults to the active level
  119. 4:21creates main or persistent scene to use
  120. 4:24the tool input a file name for the new
  121. 4:26chunk scene without a Unity extension
  122. 4:30once you click create scene chunk any
  123. 4:32selected root game objects will be moved
  124. 4:34to the newly created chunk scene a new
  125. 4:37game object with a scene chunk component
  126. 4:38will be created this object's scene
  127. 4:40layers list will be automatically filled
  128. 4:42out and the Zone color add remove
  129. 4:45handles will be enabled to allow for a
  130. 4:46quick configuration of the new scene
  131. 4:48chunks Zone colors
  132. 4:51list the multi- scene property on the
  133. 4:53level crate will be enabled don't forget
  134. 4:55to add the new Unity scene to the level
  135. 4:57crates chunk scene list
  136. 5:00Zone colors also have a deeper role in
  137. 5:02scene chunked levels Zone colors is
  138. 5:04listed in a scene chunk Define the areas
  139. 5:06that should be called as the scene it
  140. 5:07streamed out not only are any entities
  141. 5:10being tracked by these called zones
  142. 5:12Frozen freeing up physics and AI
  143. 5:14performance but the static geometry and
  144. 5:16lighting and other assets that reside in
  145. 5:17the chunk scene are hidden freeing up
  146. 5:19even more resources let's first walk
  147. 5:22through this test level that has been
  148. 5:23intentionally designed with holes in the
  149. 5:25walls so we can see areas of the map
  150. 5:27that would normally be hidden from the
  151. 5:28player's line of sight these holes in
  152. 5:30the walls allow us to see that portions
  153. 5:32of the map have been streamed out
  154. 5:34without these windows behind the scenes
  155. 5:36players wouldn't be aware that as they
  156. 5:37Traverse the level the areas that they
  157. 5:39can no longer see have been
  158. 5:43hidden a simple quick jaunt around a
  159. 5:45square- shaped Loop nothing out of the
  160. 5:47ordinary but now I'll step into a Zone
  161. 5:50event trigger that will remove sections
  162. 5:51of the interior wall so that other areas
  163. 5:54of the level should be visible notice
  164. 5:56how only the room I'm standing in and
  165. 5:58the nearest connected hallway are active
  166. 6:01as I step into one of the hallways only
  167. 6:03the nearest Rooms and hallways that
  168. 6:05might be in my line of sight become
  169. 6:07active the two rooms in the corner that
  170. 6:09are opposite my position in the level
  171. 6:11are
  172. 6:12hidden Zone chunk lootus Define what
  173. 6:15scene chunks get loaded to keep this
  174. 6:18design as simple as possible I've
  175. 6:20separated the chunks into the main rooms
  176. 6:22and L-shaped hallways that make up the
  177. 6:24corners between the
  178. 6:25room as I passed through the level the
  179. 6:28areas that I could never see or reach
  180. 6:29from my current position are streamed
  181. 6:31out by the Zone color component Zone
  182. 6:34colors have a Zone color manager that
  183. 6:36works behind the scenes with the Zone
  184. 6:37linking system to track entities within
  185. 6:40active linked zones and freeze and hide
  186. 6:42any entities that are not in any active
  187. 6:44linked zones this calling process is
  188. 6:46aggressive and will even freeze the
  189. 6:48physics simulation for the called
  190. 6:49entities ensuring the positioning and
  191. 6:51state of the entity are preserved and
  192. 6:53persist while taking as few resources as
  193. 6:55possible to do so any eddi of scenes
  194. 6:58that are not in the active Zone chunk
  195. 7:00loaders list of chunks have their
  196. 7:02content streamed out recovering even
  197. 7:04more
  198. 7:05resources now that we've seen the scene
  199. 7:07chunk system in action let's start from
  200. 7:09a single scene version of the level that
  201. 7:11has been stripped of all of its scene
  202. 7:13chunks the level has zones with Zone
  203. 7:15links that have been connected based on
  204. 7:17line of sight and combat scenario
  205. 7:18considerations following the guidelines
  206. 7:20in the zone linking video tutorial but
  207. 7:22all of the scen chunk related settings
  208. 7:24components and configuration has been
  209. 7:27removed in its own creation and linking
  210. 7:29overlay click the scene chunks tab
  211. 7:32select the root game objects of any
  212. 7:33static geometry baked lighting volume
  213. 7:36metrics light probes reflection probes
  214. 7:38and other static objects that you want
  215. 7:40moved into the new scene once it's been
  216. 7:42created in this case I've already
  217. 7:44organized the chunk level content under
  218. 7:46a single game object parent next provide
  219. 7:49a file name for the new scene once the
  220. 7:51create scene chunk button is clicked the
  221. 7:53selected root game object is
  222. 7:54automatically moved to the new chunk
  223. 7:56scene a new scene chunk game object is
  224. 7:59created and its scene layers list is
  225. 8:01automatically filled selecting the new
  226. 8:03scene chunk displays all the Zone colors
  227. 8:05that have yet to be added to a scene
  228. 8:06chunk scene layers list since this is
  229. 8:09the room zero scene chunk I want to add
  230. 8:12the room Zero Zone color notice how the
  231. 8:15Zone color now appears with a magenta
  232. 8:17wireframe box whenever its Associated
  233. 8:19scene chunk is selected in the hierarchy
  234. 8:21let's repeat the process for the hallway
  235. 8:23Corner zero select the root game object
  236. 8:26that holds the contents that should be
  237. 8:27moved to the new scene provide a scene
  238. 8:30file name click create scene chunk add
  239. 8:34the Zone colors that pertain to this new
  240. 8:35scene Chunk in this case we'll add the
  241. 8:38three Zone colors that make up this
  242. 8:42corner we'll now speed up and rinse and
  243. 8:44repeat for the remaining rooms and
  244. 8:46hallways
  245. 9:28next we need to ensure that the new
  246. 9:30chunk scenes are added to the level
  247. 9:31crates chunk scenes list this step is
  248. 9:35automated in a future iteration of these
  249. 9:36tools but for now must be done manually
  250. 10:00because these zones were created without
  251. 10:01any scene chunk game objects in the
  252. 10:03level we need to add the Zone chunk
  253. 10:05loader components manually to all the
  254. 10:07zones with the Zone links if we were
  255. 10:09designing the level from scratch we
  256. 10:11could add at least one scene chunk
  257. 10:13component early in the zone and linking
  258. 10:15process to have the tools automatically
  259. 10:17add this component for us the final step
  260. 10:19to setting up a scene chunk level is to
  261. 10:21configure The Zone chunk loader
  262. 10:23components this process is very similar
  263. 10:25to Zone linking in that you will want to
  264. 10:27follow a general line of sight and
  265. 10:28combat considerations since any enemies
  266. 10:31or objects that get called will be
  267. 10:33frozen in this simple example I ensure
  268. 10:36that if I'm in a room then the hallways
  269. 10:38and Corners that lead in and out of the
  270. 10:40current room Stay Loaded if I'm in the
  271. 10:42hallways I ensure that the adjoining
  272. 10:44rooms and hallways are loaded keeping in
  273. 10:47mind that in VR we can peer around
  274. 10:49corners crawl use the Nimbus gun and so
  275. 10:51on so you must consider every line of
  276. 10:53sight vantage point when both linking
  277. 10:55zones and setting up the Zone chunk
  278. 10:57loader component configure ing The Zone
  279. 10:59chunk loader may seem confusing at first
  280. 11:02the basic process I use is to First
  281. 11:04consider line of sight if the player
  282. 11:07standing in this Zone with a Zone chunk
  283. 11:09loader what chunks need to be loaded so
  284. 11:12that there's no way for them to see any
  285. 11:14chunks stream in or out for starters
  286. 11:17we'll include the chunk that we're
  287. 11:18standing in next expand to add
  288. 11:21neighboring chunks that have line of
  289. 11:22sight with the current
  290. 11:24chunk it may be useful to consider
  291. 11:26including the next chunk beyond that so
  292. 11:29that you always have at least the
  293. 11:30current chunk and the chunks ahead and
  294. 11:32behind the player loaded notice that for
  295. 11:35the hallways there are three linked
  296. 11:37zones for each hallway Corner chunk be
  297. 11:40sure to select all of the zones that are
  298. 11:41included in a chunk before you lock the
  299. 11:44inspector the ad selected scene chunks
  300. 11:47button will indeed update the chunks
  301. 11:49list of multiple Zone chunk loader
  302. 11:51components though the inspector lock
  303. 11:53will make it appear that nothing
  304. 11:54happened until you unlock and examine
  305. 11:56each Zone individually
  306. 11:59the visual gizmos in the scene can be
  307. 12:01very helpful here in ensuring that
  308. 12:03you're adding the proper scene chunks to
  309. 12:05the Zone chunk loader list with them I'm
  310. 12:07able to verify that I'm adding the
  311. 12:09correct scene chunks by looking at the
  312. 12:11magenta wireframe boxes and comparing
  313. 12:13them to the selected Zone chunk loader
  314. 12:15before you click add selected scene
  315. 12:17junks you'll have a visual
  316. 12:19representation between the selected
  317. 12:20zones and the scene junks that you about
  318. 12:22to add to the Zone chunk loaders
  319. 12:34to hammer home the process for clarity
  320. 12:36I'm clicking the zone or zones with Zone
  321. 12:38chunk loaders using control click to add
  322. 12:41to my selection in the
  323. 12:43hierarchy next I lock the inspector so
  324. 12:45that these selected Zone chunk loaders
  325. 12:47Remain the active object I then
  326. 12:50control-click and add any scene chunks
  327. 12:52that are in line of sight of the
  328. 12:53selected Zone chunk loaders I'm able to
  329. 12:55use the scene gizmos to visually verify
  330. 12:58my selections
  331. 12:59once satisfied I click the ad selected
  332. 13:02scene chunks button in the
  333. 13:07[Music]
  334. 13:20inspector for a linear campaign example
  335. 13:22here's a very stripped down
  336. 13:23representation of the beginning of
  337. 13:25descent I've removed anything past the
  338. 13:27dungeon and stripped out most of the the
  339. 13:29geometry and models just leaving the
  340. 13:31zones in the scene chunks so you can get
  341. 13:33a basic sense how a level with desense
  342. 13:35Fidelity is zoned blinked and chunked
  343. 13:38into separate scenes the player marker
  344. 13:40resides above the pit in the field after
  345. 13:43cutting the Noose you fall into the pit
  346. 13:45and crawl through the Rocks pass the
  347. 13:47inventory tutorial statue and Dogma
  348. 13:49Obelisk until you reach the
  349. 13:53dungeon I left in the cage where you
  350. 13:56obtain the blue key as a visual
  351. 13:57reference you then wind your way through
  352. 13:59the cells to the dungeon
  353. 14:02exit I'll now enable the scene chunk
  354. 14:04overview so you can get a visual sense
  355. 14:06of the zone and chunk
  356. 14:08breakdown in a more linear campaign
  357. 14:10level you can use twists and turns to
  358. 14:12break sight lines and drop offs to
  359. 14:14introduce points of No Easy return you
  360. 14:16then carve up the level so that the
  361. 14:18current area and the areas ahead and
  362. 14:19behind the player are always loaded if
  363. 14:21your level has branching rounds you can
  364. 14:23use line of sight methods to keep the
  365. 14:25needs to load multiple areas efficient
  366. 14:27if you have large combat AR with lots of
  367. 14:29enemies design your level accordingly so
  368. 14:32you can get the maximum performance
  369. 14:33under those resource taxing
  370. 14:36conditions let's look at a potential
  371. 14:37misconfiguration that should be
  372. 14:39considered when placing enemies in a
  373. 14:41chunk
  374. 14:42scene crate spawners not in the root
  375. 14:45persistent scene will activate anytime
  376. 14:47their scene chunk is streamed in and
  377. 14:50deactivate anytime their scene chunk is
  378. 14:51streamed out this usually has unintended
  379. 14:54consequences like an enemy suddenly
  380. 14:56disappearing if the scene chunk that
  381. 14:58their crate spawner is resides in is
  382. 15:00called the crate spawned entity will be
  383. 15:02despawned regardless of where they
  384. 15:04physically are in the level at the very
  385. 15:06instant that the scene that holds the
  386. 15:08crate spawner streams out if the scene
  387. 15:11is streamed back in a new entity will
  388. 15:13respawn at the crate
  389. 15:14[Music]
  390. 15:25Spawner in contrast enemies and items
  391. 15:27from crate spawners that reside in the
  392. 15:29root persistent scene will simply be
  393. 15:31frozen if they are in a scene chunk that
  394. 15:32is called however if they move into a
  395. 15:35new scene chunk they will remain active
  396. 15:37even if the scene with their crate
  397. 15:39spawner is cold in other words in most
  398. 15:41cases it is a best practice to keep
  399. 15:43crate spawners in the root persistent
  400. 15:46scene scene chunks may seem complex at
  401. 15:48first but the time spent organizing and
  402. 15:50configuring your level to work with them
  403. 15:52will be well worth the effort as the
  404. 15:54gains provided by the chunk system are
  405. 15:56considerable in addition to performance
  406. 15:58improvements there are also some
  407. 15:59creative ways to utilize scene chunks
  408. 16:02especially in campaign style scenarios
  409. 16:04where you want branching paths and
  410. 16:06player choice to have meaning and
  411. 16:07consequence I look forward to seeing
  412. 16:09what the community is able to create
  413. 16:11with these new tools and if you have
  414. 16:13questions be sure to join the lava gang
  415. 16:15Discord server and ask away until then
  416. 16:18see you in the void

About this transcript

This page contains the full transcript of Marrow SDK Scene Chunks by Stress Level Zero, generated from the public captions YouTube serves with the video. The transcript has 2,719 words across 416 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.

What you can do with it

Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to choose a caption track available on the video.

Free YouTube transcript tool

YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, caption language selection, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.