# 4.7 - Incorrect asset loading with circular dependencies

**URL:** <https://forums.unrealengine.com/t/4-7-incorrect-asset-loading-with-circular-dependencies/313399>\
**Category:** Platform & Builds\
**Tags:** UE4-7, unreal-engine, question\
**Created:** [April 1, 2015, 10:53am UTC](https://forums.unrealengine.com/t/4-7-incorrect-asset-loading-with-circular-dependencies/313399 "2015-04-01T10:53:46Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_f1d3559f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f1d3559f](https://forums.unrealengine.com/u/anonymous_user_f1d3559f)\
**Post date:** [April 1, 2015, 10:53am UTC](https://forums.unrealengine.com/t/4-7-incorrect-asset-loading-with-circular-dependencies/313399/1 "2015-04-01T10:53:46Z")

</div>

Sample project:

I open BaseTrooper asset and see “false” value in “Class Info” \> “Show Overtip” field.

In this case:

- Editor 4.7: if you enable this checkbox and restart editor - it will be “false”;
- Editor 4.7: If you physicaly delete a file FirstPersonAnimBlueprint.uasset (break cycle) and open in 4.7 - it will be “true”.
- Editor 4.8: If you open BaseTrooper and see value of “Class Info” \> “Show Overtip” - it is “true”;

 ![36834-circular-3.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/1/9/819a66875deaa9e51e40d6ece18cdb69be3019cc.png)

This problem affects latest 4.7.3, but master version looks like work correctly.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_33800a51](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_33800a51](https://forums.unrealengine.com/u/anonymous_user_33800a51)\
**Post date:** [April 1, 2015, 1:14pm UTC](https://forums.unrealengine.com/t/4-7-incorrect-asset-loading-with-circular-dependencies/313399/2 "2015-04-01T13:14:15Z")

</div>

Hi Bozaro,

This is a known issue in 4.7 that has already been fixed internally (UE-12128). fix should be included in 4.8, and I believe it will be included in 4.7.4 hotfix coming soon. source of problem is that bool comes from a struct, so if you can work around using a struct for that bool value until then, that should solve problem for you.

Thanks for report! Let us know if you still see this problem after 4.7.4 and we’ll look into it further.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_f1d3559f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f1d3559f](https://forums.unrealengine.com/u/anonymous_user_f1d3559f)\
**Post date:** [April 1, 2015, 1:18pm UTC](https://forums.unrealengine.com/t/4-7-incorrect-asset-loading-with-circular-dependencies/313399/3 "2015-04-01T13:18:02Z")

</div>

No. I known about [https://github.com/EpicGames/UnrealEngine/pull/944](https://github.com/EpicGames/UnrealEngine/pull/944) fix (I am co-author of this change).  
This fix from another problem and it’s not affected this problem.

---

<div class="post-metadata">

**Author:** ![Slonopotamus](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Slonopotamus](https://forums.unrealengine.com/u/Slonopotamus)\
**Post date:** [April 1, 2015, 1:23pm UTC](https://forums.unrealengine.com/t/4-7-incorrect-asset-loading-with-circular-dependencies/313399/4 "2015-04-01T13:23:32Z")

</div>

As an author of UE-12128 fix, I do not agree that my change fixes Bozaro problem, it is a different one caused by malfunctioning cycle-handling machinery.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_33800a51](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_33800a51](https://forums.unrealengine.com/u/anonymous_user_33800a51)\
**Post date:** [April 1, 2015, 1:25pm UTC](https://forums.unrealengine.com/t/4-7-incorrect-asset-loading-with-circular-dependencies/313399/5 "2015-04-01T13:25:19Z")

</div>

Can you reproduce this without using a bool from a struct?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_f1d3559f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f1d3559f](https://forums.unrealengine.com/u/anonymous_user_f1d3559f)\
**Post date:** [April 1, 2015, 1:34pm UTC](https://forums.unrealengine.com/t/4-7-incorrect-asset-loading-with-circular-dependencies/313399/6 "2015-04-01T13:34:42Z")

</div>

To reduce problematic project took two days. And I can not easily reproduce problem.

Also, I would argue that:

- problem is reproduced with UE-12128 fix (from PR #944);
- problem is not reproduced with bDeferDependencyLoads=false flag in Kismet section of BaseEngine.ini file.

problem is caused by cyclic dependencies, and most likely will need address it to Mike.Beach.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_33800a51](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_33800a51](https://forums.unrealengine.com/u/anonymous_user_33800a51)\
**Post date:** [April 1, 2015, 1:50pm UTC](https://forums.unrealengine.com/t/4-7-incorrect-asset-loading-with-circular-dependencies/313399/7 "2015-04-01T13:50:08Z")

</div>

Okay, that’s fine. I can verify that this occurs in 4.7.3, but as you mentioned in your original post, it’s fixed in Master, which means it should be fixed in 4.8 as well. I can verify that it works in our internal build. I know a number of circular dependency issues were resolved for 4.8, so that may have been what resolved issue. It’s possible this will work with 4.7.4 hotfix as well, but I don’t know for certain yet.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_f1d3559f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f1d3559f](https://forums.unrealengine.com/u/anonymous_user_f1d3559f)\
**Post date:** [April 6, 2015, 3:07pm UTC](https://forums.unrealengine.com/t/4-7-incorrect-asset-loading-with-circular-dependencies/313399/8 "2015-04-06T15:07:58Z")

</div>

As expected, this bug present in 4.7.4.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_f1d3559f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f1d3559f](https://forums.unrealengine.com/u/anonymous_user_f1d3559f)\
**Post date:** [April 10, 2015, 9:03am UTC](https://forums.unrealengine.com/t/4-7-incorrect-asset-loading-with-circular-dependencies/313399/9 "2015-04-10T09:03:35Z")

</div>

Fix: [https://github.com/EpicGames/UnrealEngine/pull/1040](https://github.com/EpicGames/UnrealEngine/pull/1040)
