# StreamingAssets fail to copy due to invalid path name in EventManager.cs (upgrade to 2.00.00 integration)

**URL:** <https://qa.fmod.com/t/streamingassets-fail-to-copy-due-to-invalid-path-name-in-eventmanager-cs-upgrade-to-2-00-00-integration/14479>\
**Category:** Unity\
**Created:** [March 24, 2019, 8:52am UTC](https://qa.fmod.com/t/streamingassets-fail-to-copy-due-to-invalid-path-name-in-eventmanager-cs-upgrade-to-2-00-00-integration/14479 "2019-03-24T08:52:06Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![studioatmazeke](https://avatars.discourse-cdn.com/v4/letter/s/2bfe46/32.png) [@studioatmazeke](https://qa.fmod.com/u/studioatmazeke)\
**Post date:** [March 28, 2019, 9:08pm UTC](https://qa.fmod.com/t/streamingassets-fail-to-copy-due-to-invalid-path-name-in-eventmanager-cs-upgrade-to-2-00-00-integration/14479/8 "2019-03-28T21:08:11Z")

</div>

Still coming back with the same error. I think it has to do with the bankRef.Name of the second bank in eventCache.EditorBanks returning the entire path. It has the right Name at initialization, but after the `foreach (var bankRef in eventCache.EditorBanks)` on line 526 loops the second time, the path changes to the incorrect string for some reason.

This is from the Unity Debugger after it updates to the wrong value:

```
Name:"D:\\Repos\\Gravastar\\Gravastar\\\\Battle-Baird"
Path:"D:\\Repos\\Gravastar\\Gravastar\\Assets\\FMODAssets\\Desktop\\Battle-Baird.bank"
SubDir:"D:\\Repos\\Gravastar\\Gravastar\\"

```

Let me know if there’s anything else I can provide to help troubleshoot. I deleted the cache and refreshed banks to test this.

---

_[View the full topic](https://qa.fmod.com/t/streamingassets-fail-to-copy-due-to-invalid-path-name-in-eventmanager-cs-upgrade-to-2-00-00-integration/14479)._
