# Stream is being completely random

**URL:** <https://forums.unrealengine.com/t/stream-is-being-completely-random/1721091>\
**Category:** Programming & Scripting\
**Tags:** random, unreal-engine, stream, question, Blueprint\
**Created:** [February 29, 2024, 8:14pm UTC](https://forums.unrealengine.com/t/stream-is-being-completely-random/1721091 "2024-02-29T20:14:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![MiscellaneousMyth](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/miscellaneousmyth/32/935133_2.png) [@MiscellaneousMyth](https://forums.unrealengine.com/u/MiscellaneousMyth)\
**Post date:** [February 29, 2024, 8:14pm UTC](https://forums.unrealengine.com/t/stream-is-being-completely-random/1721091/1 "2024-02-29T20:14:51Z")

</div>

Hello! I have a pretty big issue that I am completely clueless as to how to fix.  
My stream, where I’m pulling numbers from for my terrain generator, is providing completely random results despite using the same seed.  
Here’s my most simple example:

 ![Screenshot 2024-02-29 121153](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/0/b/10b823ad8c244180fbbab0e73a36157c964562fb.png)  
And the log:

> LogBlueprintUserMessages: [StreamAnalysis\_BP\_C\_3] 823.244812  
> LogBlueprintUserMessages: [StreamAnalysis\_BP\_C\_3] 644.048584  
> LogBlueprintUserMessages: [StreamAnalysis\_BP\_C\_3] 834.267395  
> LogBlueprintUserMessages: [StreamAnalysis\_BP\_C\_3] 240.333801  
> LogBlueprintUserMessages: [StreamAnalysis\_BP\_C\_3] 381.437195  
> LogBlueprintUserMessages: [StreamAnalysis\_BP\_C\_3] 846.004578  
> LogBlueprintUserMessages: [StreamAnalysis\_BP\_C\_3] 334.916718  
> LogBlueprintUserMessages: [StreamAnalysis\_BP\_C\_3] 964.830505  
> LogBlueprintUserMessages: [StreamAnalysis\_BP\_C\_3] 214.340332  
> LogBlueprintUserMessages: [StreamAnalysis\_BP\_C\_3] 120.985504  
> LogBlueprintUserMessages: [StreamAnalysis\_BP\_C\_3] 85.384727

* * *

This was all printed using the same seed. If anyone has any clue, it would be greatly appreciated if you would share. Thanks!

---

<div class="post-metadata">

**Author:** ![EliasWick](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/eliaswick/32/1175208_2.png) [@EliasWick](https://forums.unrealengine.com/u/EliasWick)\
**Post date:** [February 29, 2024, 11:06pm UTC](https://forums.unrealengine.com/t/stream-is-being-completely-random/1721091/2 "2024-02-29T23:06:52Z")

</div>

This is completely reasonable and expected. If you want to generate one random number that you then can reuse, simply set that value in a variable. Every time the Random node is running you will get new random numbers.

---

<div class="post-metadata">

**Author:** ![MiscellaneousMyth](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/miscellaneousmyth/32/935133_2.png) [@MiscellaneousMyth](https://forums.unrealengine.com/u/MiscellaneousMyth)\
**Post date:** [March 2, 2024, 1:33am UTC](https://forums.unrealengine.com/t/stream-is-being-completely-random/1721091/3 "2024-03-02T01:33:59Z")

</div>

As far as I’m aware, a seed should provide the same result consistently, correct? I’m calling it in the editor, so maybe it has its own stream. Maybe resulting in different values until I restart.

---

<div class="post-metadata">

**Author:** ![MiscellaneousMyth](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/miscellaneousmyth/32/935133_2.png) [@MiscellaneousMyth](https://forums.unrealengine.com/u/MiscellaneousMyth)\
**Post date:** [March 2, 2024, 1:35am UTC](https://forums.unrealengine.com/t/stream-is-being-completely-random/1721091/4 "2024-03-02T01:35:02Z")

</div>

Ah, I think I see what you mean, thank you.

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [April 1, 2024, 1:35am UTC](https://forums.unrealengine.com/t/stream-is-being-completely-random/1721091/5 "2024-04-01T01:35:21Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
