# Unity Running Scenario: Unable to initialize patient

**URL:** https://discourse.kitware.com/t/unity-running-scenario-unable-to-initialize-patient/872
**Category:** Pulse Physiology Engine
**Created:** [July 28, 2022, 6:56pm UTC](https://discourse.kitware.com/t/unity-running-scenario-unable-to-initialize-patient/872 "2022-07-28T18:56:38Z")
**Posts on this page:** 1
**Showing post:** 8

<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: [July 29, 2022, 10:12pm UTC](https://discourse.kitware.com/t/unity-running-scenario-unable-to-initialize-patient/872/8 "2022-07-29T22:12:56Z")

</div>

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-running-scenario-unable-to-initialize-patient/872)._
