Announcement

Collapse
No announcement yet.

Levels based on seed (RandomStream) not working

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Levels based on seed (RandomStream) not working

    Hi.

    I've in my main level a blueprint that generates the level layout based on a seed.
    In the Editor, when I change the seed number, the level layout changes, working as intended.

    However, when I load everything up on the Android, only the default seed number is used to generate the level.
    If the seed number is changed manually or by script (i.e. when completing the level, the seed number goes +1).

    Is there a bug? Is RandomStream not working? The problem only occurs on Android.
    In the Editor everything works as intended.
    Last edited by Amsanity; 01-13-2016, 02:11 PM.
    UE4 Jam Entries:
    March 2016
    September 2016
    Epic MegaJam October 2016
    December 2016

    #2
    I've packaged my game for Windows (64-bit) to see if the same problem occurs. And indeed, the same problem occurs.

    It seems like the RandomStream/Seed does not work once the game is packaged.

    Answer hub topic: https://answers.unrealengine.com/que...n-android.html
    Last edited by Amsanity; 01-12-2016, 01:43 PM.
    UE4 Jam Entries:
    March 2016
    September 2016
    Epic MegaJam October 2016
    December 2016

    Comment


      #3
      Anyone having a clue? Or a direction to look into?

      Stuff I might try?
      UE4 Jam Entries:
      March 2016
      September 2016
      Epic MegaJam October 2016
      December 2016

      Comment


        #4
        I was not able to reproduce this issue. I posted a follow-up on Answer-hub, try keep information on there. Its easier to keep track bugs and google does a better job indexing answer hub for future people searching the topic .
        Twitter - @TheKRushin

        Feel free to ask questions and come learn to be an #UnrealDev

        How to report a Bug

        Comment

        Working...
        X