# Cubemap array in Local Variables memory usage

**URL:** <https://forums.unrealengine.com/t/cubemap-array-in-local-variables-memory-usage/361495>\
**Category:** Blueprint\
**Tags:** unreal-engine, Blueprint, question\
**Created:** [June 21, 2016, 12:20am UTC](https://forums.unrealengine.com/t/cubemap-array-in-local-variables-memory-usage/361495 "2016-06-21T00:20:33Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![romfeo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@romfeo](https://forums.unrealengine.com/u/romfeo)\
**Post date:** [June 21, 2016, 12:20am UTC](https://forums.unrealengine.com/t/cubemap-array-in-local-variables-memory-usage/361495/1 "2016-06-21T00:20:33Z")

</div>

Steps to reproduce

1. Create a new blueprint actor
2. In the construction script, under local variables, create a new variable array of type TextureCube reference
3. Create some elements in the array and set their values to some cubemaps (texturecube)
4. Without even referencing the array, run the game
5. Run the console command Stat Streaming. Notice than the TextureCube elements of the array are listed as Non Streaming textures, taking up memory

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e729f54e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e729f54e](https://forums.unrealengine.com/u/anonymous_user_e729f54e)\
**Post date:** [June 21, 2016, 4:09pm UTC](https://forums.unrealengine.com/t/cubemap-array-in-local-variables-memory-usage/361495/2 "2016-06-21T16:09:11Z")

</div>

Hello romfeo,

I was unable to reproduce this issue on our end. I have a few questions for you that will help narrow down what issue it is that you are experiencing.

Quick questions:

1. Can you reproduce this issue in a clean project?
2. If so, could you include any steps that may have been missed in your original steps?
3. Could you provide screen shots of any blueprints and/or stats that may be involved in this issue?
4. Could you use the “ListTextures” to double check that the textures you are using are in the list of textures?

---

<div class="post-metadata">

**Author:** ![romfeo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@romfeo](https://forums.unrealengine.com/u/romfeo)\
**Post date:** [June 21, 2016, 4:57pm UTC](https://forums.unrealengine.com/t/cubemap-array-in-local-variables-memory-usage/361495/3 "2016-06-21T16:57:51Z")

</div>

Please see my answers to your questions:

1. YES
2. No additional steps needed
3. See attached screenshots
4. ListTextures doesnt report my TextureCubes at all

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e729f54e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e729f54e](https://forums.unrealengine.com/u/anonymous_user_e729f54e)\
**Post date:** [June 21, 2016, 6:50pm UTC](https://forums.unrealengine.com/t/cubemap-array-in-local-variables-memory-usage/361495/4 "2016-06-21T18:50:31Z")

</div>

Hello romfeo,

I was able to reproduce this issue in clean project. I have written up a report (UE-32310) and I have submitted to the developers for further consideration. I will provide updates with any pertinent information as it becomes available. Thank you for your time and information.

Make it a great day

---

<div class="post-metadata">

**Author:** ![romfeo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@romfeo](https://forums.unrealengine.com/u/romfeo)\
**Post date:** [July 30, 2016, 1:59pm UTC](https://forums.unrealengine.com/t/cubemap-array-in-local-variables-memory-usage/361495/5 "2016-07-30T13:59:29Z")

</div>

The new Unreal Engine Issues system reports this issue (UE-32310) as unknown… How can I get an update on this?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e729f54e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e729f54e](https://forums.unrealengine.com/u/anonymous_user_e729f54e)\
**Post date:** [August 1, 2016, 1:27pm UTC](https://forums.unrealengine.com/t/cubemap-array-in-local-variables-memory-usage/361495/6 "2016-08-01T13:27:51Z")

</div>

Hello romfeo,

I have updated the public tracker to show the status of the issue requested. I have also provide a link below.

Link: [Unreal Engine Issues and Bug Tracker (UE-32310)](https://issues.unrealengine.com/issue/UE-32310)

Make it a great day

---

<div class="post-metadata">

**Author:** ![romfeo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@romfeo](https://forums.unrealengine.com/u/romfeo)\
**Post date:** [August 3, 2016, 8:42pm UTC](https://forums.unrealengine.com/t/cubemap-array-in-local-variables-memory-usage/361495/7 "2016-08-03T20:42:51Z")

</div>

Hello Rudy, sadly the public tracker reports UE-32310 as a Non-Issue…  
How can this be norrmal behaviour?  
I would highly appreciate if you could elaborate a little on this, because it will give me valuable help to locate my problem and maybe find a solution.

Thank you

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e729f54e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e729f54e](https://forums.unrealengine.com/u/anonymous_user_e729f54e)\
**Post date:** [August 3, 2016, 8:51pm UTC](https://forums.unrealengine.com/t/cubemap-array-in-local-variables-memory-usage/361495/8 "2016-08-03T20:51:35Z")

</div>

Hello romfeo,

I believe this because this is in a PIE session, the stats reflect the textures loaded by the editor. Once you have loaded a texture it remains in memory for the editor session. I hope that this information helps.

Make it a great day
