# Assertion failed: RecursionNotAllowed.Increment() == 1

**URL:** <https://forums.unrealengine.com/t/assertion-failed-recursionnotallowed-increment-1/399244>\
**Category:** Platform & Builds\
**Tags:** crashes, assertion-failed, unreal-engine, question\
**Created:** [June 25, 2017, 8:46am UTC](https://forums.unrealengine.com/t/assertion-failed-recursionnotallowed-increment-1/399244 "2017-06-25T08:46:31Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![LazerTale](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/lazertale/32/1071682_2.png) [@LazerTale](https://forums.unrealengine.com/u/LazerTale)\
**Post date:** [June 25, 2017, 8:46am UTC](https://forums.unrealengine.com/t/assertion-failed-recursionnotallowed-increment-1/399244/1 "2017-06-25T08:46:31Z")

</div>

When i package my game and open it it crashes, throws this error. The game works fine in standalone and viewport and no errors in the output window. I have included the logs and crash files.

[https://i.imgur.com/F8Kke4o.png](https://i.imgur.com/F8Kke4o.png)

Log and crash files: [https://1drv.ms/u/s!AshlE4zYrQfJxgdNiciU7nNZZHH7](https://1drv.ms/u/s!AshlE4zYrQfJxgdNiciU7nNZZHH7)

**UPDATE:** After some testing i found it this is due to use of `GEngine` in the constructor.

[https://i.imgur.com/0MWuYsv.png](https://i.imgur.com/0MWuYsv.png)

Unfortunately i need to use it in constructor as i am creating widget using `ConstructorHelper` which freezes the Editor loading at 72%, unless there is better way ofc.

Here is the forum thread for more detail:

> **[Using ConstructorHelper for creating widgets freezes the editor at 72% loading](https://forums.unrealengine.com/showthread.php?148434-Using-ConstructorHelper-for-creating-widgets-freezes-the-editor-at-72-loading)**
>
> I am facing a weird issue. Here is a portion of my code. I have debugged and confirmed this is the part that is causing the problem. Removing it works fine. Basically i am using ConstructorHelpers for getting User Widget Blueprint. But for...

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [June 28, 2017, 4:05pm UTC](https://forums.unrealengine.com/t/assertion-failed-recursionnotallowed-increment-1/399244/2 "2017-06-28T16:05:09Z")

</div>

Hey AvikB-

Thank you for submitting a bug report. I have reproduced this issue and logged a report for it here [Unreal Engine Issues and Bug Tracker (UE-46610)](https://issues.unrealengine.com/issue/UE-46610) . You can track the report’s status as the issue is reviewed by our development staff. Please be aware that this issue may not be prioritized or fixed soon.

Cheers

---

<div class="post-metadata">

**Author:** ![LazerTale](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/lazertale/32/1071682_2.png) [@LazerTale](https://forums.unrealengine.com/u/LazerTale)\
**Post date:** [June 28, 2017, 4:24pm UTC](https://forums.unrealengine.com/t/assertion-failed-recursionnotallowed-increment-1/399244/3 "2017-06-28T16:24:37Z")

</div>

Hi , thanks. I will keep an eye on the bug.  
Cheers. 🙂

---

<div class="post-metadata">

**Author:** ![Fjellgnu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Fjellgnu](https://forums.unrealengine.com/u/Fjellgnu)\
**Post date:** [August 9, 2017, 6:35pm UTC](https://forums.unrealengine.com/t/assertion-failed-recursionnotallowed-increment-1/399244/4 "2017-08-09T18:35:54Z")

</div>

I am getting something very similar with engine version 4.17.

![193396-assertionerror.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/7/5/d75e723a94ad3ddd59253b764c0a814227ef3f50.jpeg)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [August 9, 2017, 6:45pm UTC](https://forums.unrealengine.com/t/assertion-failed-recursionnotallowed-increment-1/399244/5 "2017-08-09T18:45:48Z")

</div>

Hey Fjellgnu-

Can you provide additional information about your setup? Are you using GEngine and constructor helpers in a class constructor? If not, can you provide the setup you’re using that causes this error for you?

---

<div class="post-metadata">

**Author:** ![Envieous](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/envieous/32/1194501_2.png) [@Envieous](https://forums.unrealengine.com/u/Envieous)\
**Post date:** [August 11, 2017, 12:59am UTC](https://forums.unrealengine.com/t/assertion-failed-recursionnotallowed-increment-1/399244/6 "2017-08-11T00:59:36Z")

</div>

I am getting the exact same error Fjellgnu mentioned in 4.17 as well. My project is entirely blueprints based and I have not modified any C++ files.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [August 11, 2017, 12:37pm UTC](https://forums.unrealengine.com/t/assertion-failed-recursionnotallowed-increment-1/399244/7 "2017-08-11T12:37:01Z")

</div>

Hey-

Retesting the reproduction steps listed in the bug report, I was successfully able to open the packaged .exe file. If you are getting this message, can you provide the project setup you’re using in case there is another circumstance that causes this error.

---

<div class="post-metadata">

**Author:** ![Envieous](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/envieous/32/1194501_2.png) [@Envieous](https://forums.unrealengine.com/u/Envieous)\
**Post date:** [August 11, 2017, 2:11pm UTC](https://forums.unrealengine.com/t/assertion-failed-recursionnotallowed-increment-1/399244/8 "2017-08-11T14:11:13Z")

</div>

Hi . What exactly do you mean by project setup?

---

<div class="post-metadata">

**Author:** ![LazerTale](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/lazertale/32/1071682_2.png) [@LazerTale](https://forums.unrealengine.com/u/LazerTale)\
**Post date:** [August 11, 2017, 4:41pm UTC](https://forums.unrealengine.com/t/assertion-failed-recursionnotallowed-increment-1/399244/9 "2017-08-11T16:41:01Z")

</div>

Hi, you can find the steps here. It is how i got the bug to appear.

> **[The Unreal Engine Issues and Bug Tracker](https://issues.unrealengine.com/issue/UE-46610)**
>
> Welcome to the Unreal Engine Issue and Bug Tracker. You can check the status of an issue and search for existing bugs. See latest bug fixes too.

I haven’t tested the bug with 4.17 YET. i will probably do some test just to make sure. 🙂

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [August 15, 2017, 3:14pm UTC](https://forums.unrealengine.com/t/assertion-failed-recursionnotallowed-increment-1/399244/10 "2017-08-15T15:14:58Z")

</div>

Hey-

As AvikB mentioned, the reproduction steps originally used when reporting this issue can be found at the link provided. When testing these steps locally in 4.17 I did not receive the error message anymore.

By project setup, I mean what steps do you take from `open the editor and create a new first person project` to `project crashes and window appears` (first person project is just an example, please be sure to include what type of project you’re using).

---

<div class="post-metadata">

**Author:** ![Envieous](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/envieous/32/1194501_2.png) [@Envieous](https://forums.unrealengine.com/u/Envieous)\
**Post date:** [August 16, 2017, 10:21pm UTC](https://forums.unrealengine.com/t/assertion-failed-recursionnotallowed-increment-1/399244/11 "2017-08-16T22:21:19Z")

</div>

Hi . I’m not experiencing the error in the OP. I’m experiencing the error Fjellgnu posted. I tried to reproduce it in a blank project, but my main has so much going on I doubt I could narrow it down without more understanding of what this error means.

The only useful information I have is that this is definitely a 4.17 issue. I took an old build from my svn that I know for a fact compiles and runs successfully on 4.16, packaged it in 4.17, and I receive the same error upon launching my game.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [August 17, 2017, 12:37pm UTC](https://forums.unrealengine.com/t/assertion-failed-recursionnotallowed-increment-1/399244/12 "2017-08-17T12:37:02Z")

</div>

If you have a project that can easily reproduce the behavior, could you provide a copy of that project for me to test locally? You can either attach a zip of the project here or send me a PM on the forums with a download link if you have any privacy concerns.

---

<div class="post-metadata">

**Author:** ![Envieous](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/envieous/32/1194501_2.png) [@Envieous](https://forums.unrealengine.com/u/Envieous)\
**Post date:** [August 17, 2017, 4:09pm UTC](https://forums.unrealengine.com/t/assertion-failed-recursionnotallowed-increment-1/399244/13 "2017-08-17T16:09:59Z")

</div>

Can you link your forum profile please? I’ll give this a bit more of a look to see if I can figure out what’s going on, If I can’t narrow it down I’ll send it off to you later tonight/tomorrow.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [August 18, 2017, 12:12pm UTC](https://forums.unrealengine.com/t/assertion-failed-recursionnotallowed-increment-1/399244/14 "2017-08-18T12:12:39Z")

</div>

[https://forums.unrealengine.com/private.php?do=newpm&u=14493](https://forums.unrealengine.com/private.php?do=newpm)

---

<div class="post-metadata">

**Author:** ![Piranhi](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/piranhi/32/890994_2.png) [@Piranhi](https://forums.unrealengine.com/u/Piranhi)\
**Post date:** [August 27, 2017, 1:53pm UTC](https://forums.unrealengine.com/t/assertion-failed-recursionnotallowed-increment-1/399244/15 "2017-08-27T13:53:26Z")

</div>

This link looks broken, ☹

I’m running into the same issue now when I try and package my game too.

D/UE4: [2017.08.27-13.51.34:040][0]Assertion failed: Assertion failed: RecursionNotAllowed.Increment() == 1 [File:D:\Build++UE4+Release-4.17+Compile\Sync\Engine\Source\Runtime\CoreUObject\Private\Serialization\AsyncLoading.cpp] [Line: 4235]

---

<div class="post-metadata">

**Author:** ![LazerTale](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/lazertale/32/1071682_2.png) [@LazerTale](https://forums.unrealengine.com/u/LazerTale)\
**Post date:** [August 27, 2017, 1:59pm UTC](https://forums.unrealengine.com/t/assertion-failed-recursionnotallowed-increment-1/399244/16 "2017-08-27T13:59:33Z")

</div>

try this link:  
[https://forums.unrealengine.com/privatemessage/new/14493](https://forums.unrealengine.com/privatemessage/new/14493)  
you need to be logged in.

---

<div class="post-metadata">

**Author:** ![Piranhi](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/piranhi/32/890994_2.png) [@Piranhi](https://forums.unrealengine.com/u/Piranhi)\
**Post date:** [August 27, 2017, 2:59pm UTC](https://forums.unrealengine.com/t/assertion-failed-recursionnotallowed-increment-1/399244/17 "2017-08-27T14:59:07Z")

</div>

Hey Avik,

This just takes me to the compose private message screen.

---

<div class="post-metadata">

**Author:** ![LazerTale](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/lazertale/32/1071682_2.png) [@LazerTale](https://forums.unrealengine.com/u/LazerTale)\
**Post date:** [August 27, 2017, 3:00pm UTC](https://forums.unrealengine.com/t/assertion-failed-recursionnotallowed-increment-1/399244/18 "2017-08-27T15:00:28Z")

</div>

yes you can send private message to . What link were you talking about?

---

<div class="post-metadata">

**Author:** ![Envieous](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/envieous/32/1194501_2.png) [@Envieous](https://forums.unrealengine.com/u/Envieous)\
**Post date:** [August 27, 2017, 3:06pm UTC](https://forums.unrealengine.com/t/assertion-failed-recursionnotallowed-increment-1/399244/19 "2017-08-27T15:06:30Z")

</div>

Look at the recipients list that it makes. Also fyi the current workaround to this bug is to disable nativization. So if you really need to package to test something you can do it that way for now.

---

<div class="post-metadata">

**Author:** ![Piranhi](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/piranhi/32/890994_2.png) [@Piranhi](https://forums.unrealengine.com/u/Piranhi)\
**Post date:** [August 27, 2017, 3:07pm UTC](https://forums.unrealengine.com/t/assertion-failed-recursionnotallowed-increment-1/399244/20 "2017-08-27T15:07:47Z")

</div>

Apologies, I skimmed over the conversation and thought was providing a link to a fix for the issue, I didn’t realise you were just asking for his profile.

[Next page](https://forums.unrealengine.com/t/assertion-failed-recursionnotallowed-increment-1/399244.md?page=2)
