# PlaybackDemo - Error trying to load Edit created in Waveform 9

**URL:** <https://forum.juce.com/t/playbackdemo-error-trying-to-load-edit-created-in-waveform-9/30614>\
**Category:** Tracktion Engine\
**Created:** [November 29, 2018, 9:35pm UTC](https://forum.juce.com/t/playbackdemo-error-trying-to-load-edit-created-in-waveform-9/30614 "2018-11-29T21:35:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![TeotiGraphix](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/teotigraphix/32/2016_2.png) [@TeotiGraphix](https://forum.juce.com/u/TeotiGraphix)\
**Post date:** [November 29, 2018, 9:35pm UTC](https://forum.juce.com/t/playbackdemo-error-trying-to-load-edit-created-in-waveform-9/30614/1 "2018-11-29T21:35:50Z")

</div>

As the title says, I saved a simple edit, basically brand new in Waveform, added a `StepClip` and a bunch of channels but didn’t hook any samples or anything else up to the Track.

I would think this was valid for any type of edit saved from Waveform regardless if it contains anything specific.

The little bit of irony (for me) in the screen shot is the comment;

> // is it ever OK for this to be invalid?

 ![edit-load-error](https://us1.discourse-cdn.com/flex026/uploads/juce/original/2X/4/4c30a55a03e9e680eb417d43fb878223749f7d41.png)

---

<div class="post-metadata">

**Author:** ![dave96](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/dave96/32/8487_2.png) [@dave96](https://forum.juce.com/u/dave96)\
**Post date:** [November 29, 2018, 11:07pm UTC](https://forum.juce.com/t/playbackdemo-error-trying-to-load-edit-created-in-waveform-9/30614/2 "2018-11-29T23:07:08Z")

</div>

Yeah, we were just discussing this the other day.

I think in _Waveform_ `Edit`'s need to have an ID, however after the rounds of refactoring I don’t think this is a requirement of the Engine anymore so _I think_ this can be removed.  
I’ll do some extra checking tomorrow and remove it if possible.

For now, if you just continue past the assertion it should work.

* * *

Taking a quick look now, there are some things that need the `editProjectItemID` to be valid. Things like temp locations, proxy files etc. use this as their file path.

Because in Waveform Edits can be moved between projects, we set this before creating the Edit based on where it was loaded from. I think I can re-arrange the assertions to only trigger when it is essential though and provide a better message.

---

<div class="post-metadata">

**Author:** ![TeotiGraphix](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/teotigraphix/32/2016_2.png) [@TeotiGraphix](https://forum.juce.com/u/TeotiGraphix)\
**Post date:** [November 29, 2018, 11:09pm UTC](https://forum.juce.com/t/playbackdemo-error-trying-to-load-edit-created-in-waveform-9/30614/3 "2018-11-29T23:09:47Z")

</div>

> [@dave96](#):
>
> I think I can re-arrange the assertions to only trigger when it is essential though and provide a better message.

Awesome, yes now I remember that conversation. Thanks Dave!
