# Engine v2 upgrade - no video playback

**URL:** <https://forum.playcanvas.com/t/engine-v2-upgrade-no-video-playback/39114>\
**Category:** Help & Support\
**Created:** [February 14, 2025, 12:05pm UTC](https://forum.playcanvas.com/t/engine-v2-upgrade-no-video-playback/39114 "2025-02-14T12:05:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Grimmy](https://forum.playcanvas.com/user_avatar/forum.playcanvas.com/grimmy/32/4776_2.png) [@Grimmy](https://forum.playcanvas.com/u/Grimmy)\
**Post date:** [February 14, 2025, 12:05pm UTC](https://forum.playcanvas.com/t/engine-v2-upgrade-no-video-playback/39114/1 "2025-02-14T12:05:28Z")

</div>

Hi, since upgrading to engine v2 (2.5.0 from V1) my videos no longer playback.

Presumably its this line (below) but I dont understand it as I am using myVideoTexture.upload() to transfer the video frames to the video texture each frame.

_ **Rendering to a texture** _[​](https://developer.playcanvas.com/user-manual/engine/migrations/#rendering-to-a-texture)

_When rendering to a texture, the deprecated method of configuring the RenderTarget on the Layer has been fully removed. The RenderTarget must now be set directly on the camera instead._

I get no errors. Any ideas?

Thanks

---

<div class="post-metadata">

**Author:** ![mvaligursky](https://forum.playcanvas.com/user_avatar/forum.playcanvas.com/mvaligursky/32/11681_2.png) [@mvaligursky](https://forum.playcanvas.com/u/mvaligursky)\
**Post date:** [February 14, 2025, 12:22pm UTC](https://forum.playcanvas.com/t/engine-v2-upgrade-no-video-playback/39114/2 "2025-02-14T12:22:22Z")

</div>

any warnings when using the debug engine?

---

<div class="post-metadata">

**Author:** ![Grimmy](https://forum.playcanvas.com/user_avatar/forum.playcanvas.com/grimmy/32/4776_2.png) [@Grimmy](https://forum.playcanvas.com/u/Grimmy)\
**Post date:** [February 14, 2025, 12:27pm UTC](https://forum.playcanvas.com/t/engine-v2-upgrade-no-video-playback/39114/3 "2025-02-14T12:27:27Z")

</div>

Thanks. YES! There is indeed a warning!  
The emissive map was set to black (which worked in previous versions but I guess not in the new one).  
I simply changed the code to :  
material.emissive.set(1, 1, 1);  
And I can now see the video again.  
Thanks!!

---

<div class="post-metadata">

**Author:** ![mvaligursky](https://forum.playcanvas.com/user_avatar/forum.playcanvas.com/mvaligursky/32/11681_2.png) [@mvaligursky](https://forum.playcanvas.com/u/mvaligursky)\
**Post date:** [February 14, 2025, 3:42pm UTC](https://forum.playcanvas.com/t/engine-v2-upgrade-no-video-playback/39114/4 "2025-02-14T15:42:48Z")

</div>

Just adding this to the engine migration guide, should be online shortly

> **[Engine Migrations | PlayCanvas Developer Site](https://developer.playcanvas.com/user-manual/engine/migrations/)**
>
> The PlayCanvas Engine is continually evolving, and its updates occasionally introduce breaking changes that require users to adapt their scripts.
