# Unity - Procedural Scenario Creation

**URL:** https://discourse.kitware.com/t/unity-procedural-scenario-creation/882
**Category:** Pulse Physiology Engine
**Created:** [August 1, 2022, 6:33am UTC](https://discourse.kitware.com/t/unity-procedural-scenario-creation/882 "2022-08-01T06:33:44Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![abray](https://discourse.kitware.com/user_avatar/discourse.kitware.com/abray/32/12_2.png) [@abray](https://discourse.kitware.com/u/abray)
#### Post date: [August 2, 2022, 12:53pm UTC](https://discourse.kitware.com/t/unity-procedural-scenario-creation/882/5 "2022-08-02T12:53:54Z")

</div>

Sounds like the same problem as this

> [@Unity Running Scenario: Unable to initialize patient](https://discourse.kitware.com/t/unity-running-scenario-unable-to-initialize-patient/872/8):
>
> I assume you are doing sometihng [like this](https://gitlab.kitware.com/physiology/unity/-/blob/master/Scripts/PulseEngineScenarioDriver.cs#L131) I think Pulse is failing to [find the data files it needs from disk](https://gitlab.kitware.com/physiology/engine/-/wikis/how%20to%20connect%20to%20pulse#application-execution) Try adding this line before your InitializeEngine call: scenario.GetPatientConfiguration().SetDataRootDir(Application.streamingAssetsPath+"/Data/"); Those directories should be under that Data folder Hopefully Pulse will then be able to find the files its looking for

---

_[View the full topic](https://discourse.kitware.com/t/unity-procedural-scenario-creation/882)._
