# UnitTestFramework uplugin wrong LoadingPhase

**URL:** <https://forums.unrealengine.com/t/unittestframework-uplugin-wrong-loadingphase/355631>\
**Category:** Modding\
**Tags:** unreal-engine, question\
**Created:** [April 27, 2016, 8:53am UTC](https://forums.unrealengine.com/t/unittestframework-uplugin-wrong-loadingphase/355631 "2016-04-27T08:53:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jiri.Dockal](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jiri.Dockal](https://forums.unrealengine.com/u/Jiri.Dockal)\
**Post date:** [April 27, 2016, 8:53am UTC](https://forums.unrealengine.com/t/unittestframework-uplugin-wrong-loadingphase/355631/1 "2016-04-27T08:53:55Z")

</div>

I’ve just tried experimental plugin UnitTestFramework. If one enables it in editor one will receiver CTD on engine start. The plugin is trying to get reference to Kismet module but this is not loaded yet (yielding in assertion failed on GEditor while loading the Kismet module). The solution is to change LoadingPhase to PostEngineInit. Could you please confirm? Thank you.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b666e59e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b666e59e](https://forums.unrealengine.com/u/anonymous_user_b666e59e)\
**Post date:** [May 2, 2016, 10:04pm UTC](https://forums.unrealengine.com/t/unittestframework-uplugin-wrong-loadingphase/355631/2 "2016-05-02T22:04:01Z")

</div>

Hi ,

Thank you for pointing this out. I ran some tests with this plugin and was able to see the results that you described. Your suggested solution also worked to allow the project to open successfully in the Editor. I have entered a ticket to have this investigated further (UE-30217). Until we can have someone look into this further, we should consider your suggestion to be a workaround instead of a fix.

---

<div class="post-metadata">

**Author:** ![Jiri.Dockal](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jiri.Dockal](https://forums.unrealengine.com/u/Jiri.Dockal)\
**Post date:** [May 3, 2016, 5:46am UTC](https://forums.unrealengine.com/t/unittestframework-uplugin-wrong-loadingphase/355631/3 "2016-05-03T05:46:59Z")

</div>

Hi ,

thank you for looking into the issue. I’m running into the same issue with my plugin. Please update the answer once you have proper solution. Thank you.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b666e59e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b666e59e](https://forums.unrealengine.com/u/anonymous_user_b666e59e)\
**Post date:** [May 19, 2016, 9:47pm UTC](https://forums.unrealengine.com/t/unittestframework-uplugin-wrong-loadingphase/355631/4 "2016-05-19T21:47:33Z")

</div>

Hi ,

I checked the status of the ticket that I had entered, and it turns out we decided to remove the `UnitTestFramework` plugin from the Engine, which is not the solution that I was expecting.

With regards to your question about changing the loading phase in the `UnitTestFramework` plugin, I had suggested that your change to `PostEngineInit` be considered a workaround because I was unsure of the intended loading phase for the plugin. If your plugin is working correctly with the loading phase set to `PostEngineInit`, you should be perfectly fine to leave it that way.
