# FStreamableManager::AsyncLoadCallback crashes

**URL:** <https://forums.unrealengine.com/t/fstreamablemanager-asyncloadcallback-crashes/380212>\
**Category:** Platform & Builds\
**Tags:** crashes, asynchronous-asset-l, unreal-engine, question\
**Created:** [December 26, 2016, 1:02pm UTC](https://forums.unrealengine.com/t/fstreamablemanager-asyncloadcallback-crashes/380212 "2016-12-26T13:02:22Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![windywang](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@windywang](https://forums.unrealengine.com/u/windywang)\
**Post date:** [December 26, 2016, 1:02pm UTC](https://forums.unrealengine.com/t/fstreamablemanager-asyncloadcallback-crashes/380212/1 "2016-12-26T13:02:22Z")

</div>

Exception thrown: read access violation.  
this was 0xFFFFFFFF00000002.

 ![119922-rtx截图未命名.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/a/2/2a20731656e2633f0a619df3aefd73145e1c59d5.png)

---

<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:** [December 29, 2016, 10:18pm UTC](https://forums.unrealengine.com/t/fstreamablemanager-asyncloadcallback-crashes/380212/2 "2016-12-29T22:18:08Z")

</div>

Hi windywang,

Would you be able to provide more details about what you are doing when you see this crash occur? I made a new code project in 4.12 with Starter Content, then moved a bunch of the content around in the Editor and selected the option to fix up redirectors. The process completed successfully for me without a crash occurring.

---

<div class="post-metadata">

**Author:** ![windywang](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@windywang](https://forums.unrealengine.com/u/windywang)\
**Post date:** [January 4, 2017, 11:02am UTC](https://forums.unrealengine.com/t/fstreamablemanager-asyncloadcallback-crashes/380212/3 "2017-01-04T11:02:39Z")

</div>

I add some log, and it shows that the AsyncLoadCallback is called after the FStreamableManager object destroyed

---

<div class="post-metadata">

**Author:** ![windywang](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@windywang](https://forums.unrealengine.com/u/windywang)\
**Post date:** [January 4, 2017, 11:03am UTC](https://forums.unrealengine.com/t/fstreamablemanager-asyncloadcallback-crashes/380212/4 "2017-01-04T11:03:25Z")

</div>

the number in [] is the FStreamableManager object address

[2017.01.04-11.09.17:921][640]LogStreamableManager: [1686261617184]:FStreamableManager::IsAsyncLoadComplete

[2017.01.04-11.09.17:921][640]LogStreamableManager: [1686261616416]:FStreamableManager::IsAsyncLoadComplete

[2017.01.04-11.09.17:921][640]LogStreamableManager: [1686261616160]:FStreamableManager::IsAsyncLoadComplete

[2017.01.04-11.09.17:986][641]LogStreamableManager: [1686261617184]:FStreamableManager::IsAsyncLoadComplete

[2017.01.04-11.09.17:986][641]LogStreamableManager: [1686261616416]:FStreamableManager::IsAsyncLoadComplete

[2017.01.04-11.09.17:986][641]LogStreamableManager: [1686261616160]:FStreamableManager::IsAsyncLoadComplete

[2017.01.04-11.09.18:002][641]LogStreamableManager: [1686261617184]:FStreamableManager::Unload

**[2017.01.04-11.09.18:002][641]LogStreamableManager: [1686261617184]:FStreamableManager::~FStreamableManager**

[2017.01.04-11.09.18:003][641]LogStreamableManager: [1686261616416]:FStreamableManager::Unload

[2017.01.04-11.09.18:003][641]LogStreamableManager: [1686261616416]:FStreamableManager::~FStreamableManager

[2017.01.04-11.09.18:003][641]LogStreamableManager: [1686261616160]:FStreamableManager::Unload

[2017.01.04-11.09.18:003][641]LogStreamableManager: [1686261616160]:FStreamableManager::~FStreamableManager

**[2017.01.04-11.09.18:152][644]LogStreamableManager: [1686261617184]:FStreamableManager::AsyncLoadCallback**

---

<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:** [January 4, 2017, 3:58pm UTC](https://forums.unrealengine.com/t/fstreamablemanager-asyncloadcallback-crashes/380212/5 "2017-01-04T15:58:51Z")

</div>

That does seem to indicate that there is a problem with released memory trying to be accessed. What are you trying to do when this occurs? Are you moving or deleting assets?

---

<div class="post-metadata">

**Author:** ![windywang](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@windywang](https://forums.unrealengine.com/u/windywang)\
**Post date:** [January 5, 2017, 1:34am UTC](https://forums.unrealengine.com/t/fstreamablemanager-asyncloadcallback-crashes/380212/6 "2017-01-05T01:34:04Z")

</div>

Spawn some new blueprint actors, and call AsyncLoadAsset in its BeginPlay. it has nothing to do with Redirectors

---

<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:** [January 5, 2017, 10:29pm UTC](https://forums.unrealengine.com/t/fstreamablemanager-asyncloadcallback-crashes/380212/7 "2017-01-05T22:29:46Z")

</div>

Thank you for that clarification. How many Blueprint actors are you spawning, and how many assets is each one loading? I set up a project to spawn 100 Blueprint actors, with each one loading a static mesh asset and setting it into a Static Mesh Component. I ran the project several times in PIE, and did not experience a crash. In my case, they are all loading the same asset, so it may not be an adequate test. Does the crash occur for you every time?

---

<div class="post-metadata">

**Author:** ![windywang](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@windywang](https://forums.unrealengine.com/u/windywang)\
**Post date:** [January 6, 2017, 1:45am UTC](https://forums.unrealengine.com/t/fstreamablemanager-asyncloadcallback-crashes/380212/8 "2017-01-06T01:45:56Z")

</div>

more information:

1. they are not load the same resouce
2. destroy them before load completed
3. it crahes more in DebugEditor build, but not every time

---

<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:** [January 6, 2017, 9:33pm UTC](https://forums.unrealengine.com/t/fstreamablemanager-asyncloadcallback-crashes/380212/9 "2017-01-06T21:33:19Z")

</div>

Hi windywang,

Thank you for the additional information. I believe I was able to reproduce the crash that you described (my callstack is _slightly_ different from the one that you showed), and have entered [UE-40318](https://issues.unrealengine.com/issue/UE-40318) to have this investigated further.
