# Add to viewport does not work

**URL:** <https://forums.unrealengine.com/t/add-to-viewport-does-not-work/717453>\
**Category:** Blueprint\
**Tags:** unreal-engine, Widget, Blueprint, question, UMG\
**Created:** [November 29, 2022, 5:22am UTC](https://forums.unrealengine.com/t/add-to-viewport-does-not-work/717453 "2022-11-29T05:22:57Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![Paratus](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Paratus](https://forums.unrealengine.com/u/Paratus)\
**Post date:** [December 11, 2022, 4:01pm UTC](https://forums.unrealengine.com/t/add-to-viewport-does-not-work/717453/15 "2022-12-11T16:01:07Z")

</div>

I’ve tracked down the problem for myself and I assume it’s the same for you guys. My GameInstance class in CPP had overridden the Init and OnStart functions, and hadn’t called Super::Init(), etc. Make sure you’re calling the parent inits!

---

_[View the full topic](https://forums.unrealengine.com/t/add-to-viewport-does-not-work/717453)._
